Class JXEditorPane.Actions

java.lang.Object
org.jdesktop.swingx.plaf.UIAction
org.jdesktop.swingx.JXEditorPane.Actions
All Implemented Interfaces:
ActionListener, EventListener, 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 Details

    • Actions

      Actions(String name)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent evt)
    • isEnabled

      public boolean isEnabled(Object sender)
      Description copied from class: UIAction
      Subclasses that need to conditionalize the enabled state should override this. Be aware that sender may be null.
      Overrides:
      isEnabled in class UIAction
      Parameters:
      sender - Widget enabled state is being asked for, may be null.