com.ibm.richtext.uiimpl
Class CommandMenuItem.CutCopyClear
java.lang.Object
|
+--com.ibm.richtext.uiimpl.MenuItemSet
|
+--com.ibm.richtext.uiimpl.CommandMenuItem
|
+--com.ibm.richtext.uiimpl.CommandMenuItem.CutCopyClear
- All Implemented Interfaces:
- TextPanelListener
- Enclosing class:
- CommandMenuItem
- public static final class CommandMenuItem.CutCopyClear
- extends CommandMenuItem
Field Summary |
static int |
CLEAR
|
static int |
COPY
|
static int |
CUT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CUT
public static final int CUT
COPY
public static final int COPY
CLEAR
public static final int CLEAR
CommandMenuItem.CutCopyClear
public CommandMenuItem.CutCopyClear(MenuData menuData,
int 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.