|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.AbstractAction
yu.ac.bg.etf.javaqx.qswingx.actions.ClearAction
yu.ac.bg.etf.javaqx.qswingx.actions.TextComponentClearAction
Text Component Clear Action.
Field Summary | |
protected JQTextComponent |
textComponent
|
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.AbstractAction |
changeSupport, enabled, selected |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.Action |
ACCELERATOR_KEY, ACCELERATOR_KEY_NAME, ACTION_COMMAND_KEY, DEFAULT, HELP_DESCRIPTION, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON, SMALL_ICON_NAME |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.AbstractActionProperties |
PROPERTY_ENABLED, PROPERTY_SELECTED |
Constructor Summary | |
TextComponentClearAction(JQTextComponent textComponent)
Constructs new TextComponentClearAction object. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
Notifies listener that action has occurred. |
void |
clearAvailable(boolean available)
Notifies listener that an clear operation is available. |
void |
copyAvailable(boolean available)
Notifies listener that an copy operation is available. |
void |
cutAvailable(boolean available)
Notifies listener that an cut operation is available. |
void |
pasteAvailable(boolean available)
Notifies listener that an paste operation is available. |
void |
selectAllAvailable(boolean available)
Notifies listener that an select all operation is available. |
void |
unregisterListener()
Unregisters listener. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final JQTextComponent textComponent
Constructor Detail |
public TextComponentClearAction(JQTextComponent textComponent)
textComponent
- the text componentMethod Detail |
public void unregisterListener()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the action eventpublic void cutAvailable(boolean available)
cutAvailable
in interface EditListener
available
- true if availablepublic void copyAvailable(boolean available)
copyAvailable
in interface EditListener
available
- true if availablepublic void pasteAvailable(boolean available)
pasteAvailable
in interface EditListener
available
- true if availablepublic void clearAvailable(boolean available)
clearAvailable
in interface EditListener
available
- true if availablepublic void selectAllAvailable(boolean available)
selectAllAvailable
in interface EditListener
available
- true if available
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |