|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines a QuickAction to use in q
QuickBar.
A QuickAction must use ActionEvent to notify
ActionListener(s). If you have to fire an
ActionEvent, call
ActionListener.actionPerformed(java.awt.event.ActionEvent)
on each ActionListener.
| Method Summary | |
void |
addActionListener(java.awt.event.ActionListener l)
Adds an ActionListener to the button. |
javax.swing.JComponent |
getGUI()
Each QuickAction must be a JComponent or have an internal
JComponent for GUI. |
java.lang.String |
getName()
Returns the action name. |
| Method Detail |
public void addActionListener(java.awt.event.ActionListener l)
ActionListener to the button.
l - the ActionListener to be addedpublic javax.swing.JComponent getGUI()
JComponent or have an internal
JComponent for GUI. Useful to place the QuickAction in the
QuickBar.
Common implementation is :
public JComponent getGUI() {
return (JComponent) this;
}
public java.lang.String getName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||