com.ibm.richtext.uiimpl
Class SubtractStyleMenuItem

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

public final class SubtractStyleMenuItem
extends SingleCheckMenuItem


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

SubtractStyleMenuItem

public SubtractStyleMenuItem(java.lang.Object[] keys,
                             MenuData menuData,
                             boolean character)
Method Detail

setChecked

protected void setChecked()

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

textEventOccurred

public final 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


Copyright (c) 2001 IBM Corporation and others.