|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.ide.jedit.action.Action
public abstract class Action
An action defines an action to be taken when the user presses some menu item in the tree's context menu or a button on the toolbar.
Field Summary | |
---|---|
protected javax.swing.JComponent |
cmItem
Description of the Field |
protected RolloverButton |
tbButton
Description of the Field |
protected JRefactory |
viewer
Description of the Field |
Constructor Summary | |
---|---|
Action()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones the current action, returning a copy of it. |
RolloverButton |
getButton()
Returns the toolbar button that triggers this action. |
javax.swing.Icon |
getIcon()
Returns the icon to be shown on the toolbar button. |
javax.swing.JComponent |
getMenuItem()
Returns the menu item that triggers this action. |
abstract java.lang.String |
getText()
Returns a String that will be shown as the text of the menu item or the tooltip of the toolbar button. |
void |
setViewer(JRefactory viewer)
Sets the viewer where this action is being used. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Field Detail |
---|
protected JRefactory viewer
protected RolloverButton tbButton
protected javax.swing.JComponent cmItem
Constructor Detail |
---|
public Action()
Method Detail |
---|
public abstract java.lang.String getText()
public javax.swing.Icon getIcon()
public javax.swing.JComponent getMenuItem()
public RolloverButton getButton()
public java.lang.Object clone()
clone
in class java.lang.Object
public void setViewer(JRefactory viewer)
viewer
- The new viewer value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |