|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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)
Inner 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 manageMethod Detail |
public void actionPerformed(ActionEvent event)
invokeAction
on the plugin's EOActionWidgetAssociationactionPerformed
in interface ActionListener
event
- the ActionEvent received from the AWT event dispatcherpublic void breakConnection()
breakConnection
in class EOWidgetAssociation.WidgetPlugin
public void establishConnection()
establishConnection
in class EOWidgetAssociation.WidgetPlugin
public void setEnabled(boolean flag)
setEnabled
in class EOActionWidgetAssociation.ActionPlugin
flag
- true
if the button should be enabledpublic String[] widgetKeysTaken()
widgetKeysTaken
in class EOWidgetAssociation.WidgetPlugin
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |