| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
        |
        +--com.webobjects.eointerface.EOValueAssociation.ValuePlugin
              |
              +--com.webobjects.eointerface.swing.EOSwingCheckBoxPlugin
EOSwingCheckBoxPlugin is a concrete subclass of EOValueAssociation.ValuePlugin which is used with Swing's JCheckBox.
Associations classes: EOValueAssociation
Widgets classes: JCheckBox
| Nested Class Summary | 
| Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin | 
EOWidgetAssociation.WidgetPlugin.Formatting | 
| Constructor Summary | |
EOSwingCheckBoxPlugin(EOWidgetAssociation association,
                      Object widget)
Creates a new EOSwingCheckBoxPlugin connected to an association and a UI widget.  | 
|
| Method Summary | |
 void | 
breakConnection()
Clean up (end) the plugin's connection to its JCheckBox widget.  | 
 void | 
establishConnection()
Establishes a connection between the plugin and its UI widget.  | 
 void | 
itemStateChanged(ItemEvent event)
Invokes widgetDidChange on the plugin's EOValueAssociation. | 
 void | 
setValue(Object value,
         boolean isEnabled)
Sets the checkbox to 'checked' or 'not-checked' and also sets the enabled state.  | 
 Object | 
value()
Return whether or not the checkbox is checked.  | 
 String[] | 
widgetKeysTaken()
Returns an array of Strings which represent outlet names in Interface Builder.  | 
| Methods inherited from class com.webobjects.eointerface.EOValueAssociation.ValuePlugin | 
endEditing, useURLAsValue | 
| Methods inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin | 
association, dispose, unacceptableAspects, widget | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public EOSwingCheckBoxPlugin(EOWidgetAssociation association,
                             Object widget)
association - association of class EOValueAssociation or subclass for the plugin to usewidget - widget of class JCheckBox or subclass that the plugin will manage| Method Detail | 
public void breakConnection()
breakConnection in class EOWidgetAssociation.WidgetPluginpublic void establishConnection()
establishConnection in class EOWidgetAssociation.WidgetPluginpublic void itemStateChanged(ItemEvent event)
widgetDidChange on the plugin's EOValueAssociation.
itemStateChanged in interface ItemListenerevent - the ItemEvent received from the AWT event dispatcher
public void setValue(Object value,
                     boolean isEnabled)
setValue in class EOValueAssociation.ValuePluginvalue - the new value of the checkbox, either a Boolean or Number objectisEnabled - enables or disables the checkboxpublic Object value()
value in class EOValueAssociation.ValuePluginpublic String[] widgetKeysTaken()
widgetKeysTaken in class EOWidgetAssociation.WidgetPlugin
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||