|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.infonode.docking.action.DockingWindowAction
public abstract class DockingWindowAction
An action that can be performed on a DockingWindow. It has a name and an optional icon.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
DockingWindowAction()
|
|
| Method Summary | |
|---|---|
SimpleAction |
getAction(DockingWindow window)
Creates a simple action that performs this action on a window. |
javax.swing.Icon |
getIcon()
Returns the optional icon of this action. |
abstract java.lang.String |
getName()
Returns the name of this action. |
abstract boolean |
isPerformable(DockingWindow window)
Returns true if this action is performable on a window. |
abstract void |
perform(DockingWindow window)
Performs this action on a window. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public DockingWindowAction()
| Method Detail |
|---|
public abstract java.lang.String getName()
public abstract void perform(DockingWindow window)
window - the window on which to perform the actionpublic abstract boolean isPerformable(DockingWindow window)
window - the window on which the action will be performed
public SimpleAction getAction(DockingWindow window)
window - the window on which to perform the action
public javax.swing.Icon getIcon()
getIcon in interface IconProviderpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||