Package org.jdesktop.swingx
Class JXEditorPane.Actions
- java.lang.Object
-
- org.jdesktop.swingx.plaf.UIAction
-
- org.jdesktop.swingx.JXEditorPane.Actions
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- JXEditorPane
private class JXEditorPane.Actions extends UIAction
A small class which dispatches actions. TODO: Is there a way that we can make this static? JW: these if-constructs are totally crazy ... we live in OO world!
-
-
Constructor Summary
Constructors Constructor Description Actions(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent evt)
boolean
isEnabled(java.lang.Object sender)
Subclasses that need to conditionalize the enabled state should override this.-
Methods inherited from class org.jdesktop.swingx.plaf.UIAction
addPropertyChangeListener, getName, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
-
isEnabled
public boolean isEnabled(java.lang.Object sender)
Description copied from class:UIAction
Subclasses that need to conditionalize the enabled state should override this. Be aware thatsender
may be null.
-
-