|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction org.xnap.action.AbstractToggleAction org.xnap.gui.action.PanelAction
public class PanelAction
Provides an action that shows a panel below the button that triggered this action.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
PanelAction(javax.swing.JComponent jc,
java.lang.String iconFilename)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
|
void |
toggled(boolean selected)
Invoked when the selection changes. |
Methods inherited from class org.xnap.action.AbstractToggleAction |
---|
isSelected, setSelected |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xnap.action.ToggleAction |
---|
isSelected, setSelected |
Methods inherited from interface javax.swing.Action |
---|
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Constructor Detail |
---|
public PanelAction(javax.swing.JComponent jc, java.lang.String iconFilename)
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class AbstractToggleAction
public void toggled(boolean selected)
AbstractToggleAction
toggled
in class AbstractToggleAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |