com.ibm.richtext.uiimpl
Class MenuItemSet
java.lang.Object
|
+--com.ibm.richtext.uiimpl.MenuItemSet
- All Implemented Interfaces:
- TextPanelListener
- Direct Known Subclasses:
- ChoiceMenuItemSet, CommandMenuItem, SingleCheckMenuItem
- public abstract class MenuItemSet
- extends java.lang.Object
- implements TextPanelListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHARACTER
public static final boolean CHARACTER
PARAGRAPH
public static final boolean PARAGRAPH
MenuItemSet
public MenuItemSet()
textEventOccurred
public abstract void textEventOccurred(TextPanelEvent event)
- Description copied from interface:
TextPanelListener
- Notify listener of an MTextPanel change.
- Specified by:
textEventOccurred
in interface TextPanelListener
- Following copied from interface:
com.ibm.richtext.textpanel.TextPanelListener
- Parameters:
event
- a TextPanelEvent indicating what happened
respondsToEventType
public abstract 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.
- Specified by:
respondsToEventType
in interface TextPanelListener
- 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
setTextPanel
public final void setTextPanel(MTextPanel textPanel)
getTextPanel
public final MTextPanel getTextPanel()
textPanelChanged
protected void textPanelChanged()
Copyright (c) 2001 IBM Corporation and others.