com.ibm.richtext.uiimpl
Class KeymapMenuItemSet

java.lang.Object
  |
  +--com.ibm.richtext.uiimpl.MenuItemSet
        |
        +--com.ibm.richtext.uiimpl.ChoiceMenuItemSet
              |
              +--com.ibm.richtext.uiimpl.KeymapMenuItemSet
All Implemented Interfaces:
TextPanelListener

public final class KeymapMenuItemSet
extends ChoiceMenuItemSet


Fields inherited from class com.ibm.richtext.uiimpl.MenuItemSet
CHARACTER, PARAGRAPH
 
Fields inherited from interface com.ibm.richtext.textpanel.TextPanelListener
COPYRIGHT
 
Constructor Summary
KeymapMenuItemSet(KeyRemap[] values, MenuData[] menuData)
           
 
Method Summary
protected  java.lang.Object getCurrentValue()
           
protected  void handleValueSelected(java.lang.Object value)
           
 boolean respondsToEventType(int type)
          Return true if listener needs to be notified of the given event type.
 void textEventOccurred(TextPanelEvent event)
          Notify listener of an MTextPanel change.
 
Methods inherited from class com.ibm.richtext.uiimpl.ChoiceMenuItemSet
setChecked, 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

KeymapMenuItemSet

public KeymapMenuItemSet(KeyRemap[] values,
                         MenuData[] menuData)
Method Detail

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.