com.ibm.richtext.uiimpl
Class CommandMenuItem.SelectAll

java.lang.Object
  |
  +--com.ibm.richtext.uiimpl.MenuItemSet
        |
        +--com.ibm.richtext.uiimpl.CommandMenuItem
              |
              +--com.ibm.richtext.uiimpl.CommandMenuItem.SelectAll
All Implemented Interfaces:
TextPanelListener
Enclosing class:
CommandMenuItem

public static final class CommandMenuItem.SelectAll
extends CommandMenuItem


Inner classes inherited from class com.ibm.richtext.uiimpl.CommandMenuItem
CommandMenuItem.CutCopyClear, CommandMenuItem.Paste, CommandMenuItem.SelectAll, CommandMenuItem.UndoRedo
 
Fields inherited from class com.ibm.richtext.uiimpl.MenuItemSet
CHARACTER, PARAGRAPH
 
Fields inherited from interface com.ibm.richtext.textpanel.TextPanelListener
COPYRIGHT
 
Constructor Summary
CommandMenuItem.SelectAll(MenuData menuData)
           
 
Method Summary
protected  boolean isEnabled()
           
protected  void performAction()
           
 boolean respondsToEventType(int type)
          Return true if listener needs to be notified of the given event type.
 
Methods inherited from class com.ibm.richtext.uiimpl.CommandMenuItem
textEventOccurred, textPanelChanged
 
Methods inherited from class com.ibm.richtext.uiimpl.MenuItemSet
getTextPanel, setTextPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandMenuItem.SelectAll

public CommandMenuItem.SelectAll(MenuData menuData)
Method Detail

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.