com.ibm.richtext.uiimpl
Class StyleMenuItemSet
java.lang.Object
|
+--com.ibm.richtext.uiimpl.MenuItemSet
|
+--com.ibm.richtext.uiimpl.ChoiceMenuItemSet
|
+--com.ibm.richtext.uiimpl.StyleMenuItemSet
- All Implemented Interfaces:
- TextPanelListener
- public final class StyleMenuItemSet
- extends ChoiceMenuItemSet
Constructor Summary |
StyleMenuItemSet(java.lang.Object style,
java.lang.Object[] values,
MenuData[] menuData,
boolean character)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleMenuItemSet
public StyleMenuItemSet(java.lang.Object style,
java.lang.Object[] values,
MenuData[] menuData,
boolean character)
handleValueSelected
protected void handleValueSelected(java.lang.Object value)
- Overrides:
handleValueSelected
in class ChoiceMenuItemSet
getCurrentValue
protected java.lang.Object getCurrentValue()
- Overrides:
getCurrentValue
in class ChoiceMenuItemSet
textEventOccurred
public void textEventOccurred(TextPanelEvent event)
- Description copied from interface:
TextPanelListener
- Notify listener of an MTextPanel change.
- Overrides:
textEventOccurred
in class MenuItemSet
- Following copied from interface:
com.ibm.richtext.textpanel.TextPanelListener
- Parameters:
event
- a TextPanelEvent indicating what happened
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
Copyright (c) 2001 IBM Corporation and others.