com.ibm.richtext.uiimpl
Class CommandMenuItem.UndoRedo
java.lang.Object
|
+--com.ibm.richtext.uiimpl.MenuItemSet
|
+--com.ibm.richtext.uiimpl.CommandMenuItem
|
+--com.ibm.richtext.uiimpl.CommandMenuItem.UndoRedo
- All Implemented Interfaces:
- TextPanelListener
- Enclosing class:
- CommandMenuItem
- public static final class CommandMenuItem.UndoRedo
- extends CommandMenuItem
Field Summary |
static boolean |
REDO
|
static boolean |
UNDO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNDO
public static final boolean UNDO
REDO
public static final boolean REDO
CommandMenuItem.UndoRedo
public CommandMenuItem.UndoRedo(MenuData menuData,
boolean kind)
isEnabled
protected boolean isEnabled()
- Overrides:
isEnabled
in class CommandMenuItem
respondsToEventType
public boolean respondsToEventType(int type)
- Description copied from interface:
TextPanelListener
- Return true if listener needs to be notified of
the given event type. This allows a text panel to avoid
sending events to uninterested parties.
- Overrides:
respondsToEventType
in class MenuItemSet
- Following copied from interface:
com.ibm.richtext.textpanel.TextPanelListener
- Parameters:
type
- an event ID from TextPanelEvent- Returns:
- true if this listener needs to be notified of
events of the given type
performAction
protected void performAction()
- Overrides:
performAction
in class CommandMenuItem
Copyright (c) 2001 IBM Corporation and others.