| 
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.EOActionWidgetAssociation.ActionPlugin
              |
              +--com.webobjects.eointerface.swing.EOSwingButtonPlugin
EOSwingButtonPlugin is a concrete subclass of EOActionWidgetAssociation.ActionPlugin which is used with Swing buttons.
Associations classes: EOActionWidgetAssociation
Widgets classes: AbstractButton (JButton)
| Nested Class Summary | 
| Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin | 
EOWidgetAssociation.WidgetPlugin.Formatting | 
| Constructor Summary | |
EOSwingButtonPlugin(EOWidgetAssociation association,
                    Object widget)
Creates a new EOSwingButtonPlugin connected to an association and a UI widget.  | 
|
| Method Summary | |
 void | 
actionPerformed(ActionEvent event)
Invokes invokeAction on the plugin's EOActionWidgetAssociation | 
 void | 
breakConnection()
Clean up (end) the plugin's connection to its AbstractButton widget.  | 
 void | 
establishConnection()
Establishes a connection between the plugin and its UI widget.  | 
 void | 
setEnabled(boolean flag)
Will pass on the enabled state to the AbstractButton widget.  | 
 String[] | 
widgetKeysTaken()
Returns an array of Strings which represent outlet names in Interface Builder.  | 
| 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 EOSwingButtonPlugin(EOWidgetAssociation association,
                           Object widget)
association - association of class EOValueAssociation or subclass for the plugin to usewidget - widget of AbstractButton or subclass that the plugin will manage| Method Detail | 
public void actionPerformed(ActionEvent event)
invokeAction on the plugin's EOActionWidgetAssociation
actionPerformed in interface ActionListenerevent - the ActionEvent received from the AWT event dispatcherpublic void breakConnection()
breakConnection in class EOWidgetAssociation.WidgetPluginpublic void establishConnection()
establishConnection in class EOWidgetAssociation.WidgetPluginpublic void setEnabled(boolean flag)
setEnabled in class EOActionWidgetAssociation.ActionPluginflag - true if the button should be enabledpublic 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 | ||||||||||