|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUndoableAction
org.argouml.uml.ui.AbstractActionNavigate
public abstract class AbstractActionNavigate
| Constructor Summary | |
|---|---|
AbstractActionNavigate()
The constructor. |
|
AbstractActionNavigate(java.lang.String key,
boolean hasIcon)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
isEnabled()
|
protected abstract java.lang.Object |
navigateTo(java.lang.Object source)
Abstract method to do the navigation. |
AbstractActionNavigate |
setIcon(javax.swing.Icon newIcon)
|
void |
targetAdded(TargetEvent e)
Fired when a target is added to the list of targets. |
void |
targetRemoved(TargetEvent e)
Fired when a target is removed from the list of targets |
void |
targetSet(TargetEvent e)
Fired when a total new set of targets is set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractActionNavigate()
public AbstractActionNavigate(java.lang.String key,
boolean hasIcon)
key - The key (to be localized) of the name of the action.hasIcon - true if there is an icon for this action| Method Detail |
|---|
public AbstractActionNavigate setIcon(javax.swing.Icon newIcon)
newIcon - the icon for this action
protected abstract java.lang.Object navigateTo(java.lang.Object source)
source - the object to navigate from
public boolean isEnabled()
public void actionPerformed(java.awt.event.ActionEvent e)
public void targetAdded(TargetEvent e)
TargetListener
targetAdded in interface TargetListenere - The targetevent, name will be TARGET_ADDEDpublic void targetRemoved(TargetEvent e)
TargetListener
targetRemoved in interface TargetListenere - The targetevent, name will be TARGET_REMOVEDpublic void targetSet(TargetEvent e)
TargetListener
targetSet in interface TargetListenere - The targetevent, name will be TARGET_SET
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |