org.argouml.uml.ui
Class ActionNavigateUpPreviousDown
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.ui.AbstractActionNavigate
org.argouml.uml.ui.ActionNavigateUpPreviousDown
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable, TargetListener
- public abstract class ActionNavigateUpPreviousDown
- extends AbstractActionNavigate
An action to navigate to the previous in the list,
i.e. first we go up, then down again to the previous in the list.
- See Also:
- Serialized Form
ActionNavigateUpPreviousDown
public ActionNavigateUpPreviousDown()
- The constructor.
navigateTo
protected Object navigateTo(Object source)
- Description copied from class:
AbstractActionNavigate
- Abstract method to do the navigation. The actual navigation is performed
by actionPerformed.
- Specified by:
navigateTo in class AbstractActionNavigate
- Parameters:
source - the object to navigate from
- Returns:
- the object to navigate to
getFamily
public abstract List getFamily(Object parent)
- Get the list of elements that we are navigating through.
- Parameters:
parent - the parent element that owns all elements in the list
- Returns:
- the list
getParent
public abstract Object getParent(Object child)
- Get the parent of the list of elements that we are navigating through.
- Parameters:
child - the childelement of which we seek the previous element
- Returns:
- the parent element