|
WebObjects 5.2.3 | ||||||||||
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.cocoa.EOCocoaButtonPlugin
EOCocoaButtonPlugin is used in Cocoa applications to connect buttons and button cells to action and action insertion associations. When the button this plugin manages is pressed, the plugin calls its association's invokeAction method.
Object Keys Taken:
action On receiving an action message from the display object, an EOActionAssocation sends its action to the selected objects. target On receiving an action message from the display object, an EOActionInsertionAssociation inserts objects from the source EODisplayGroup into the destination EODisplayGroup.
Usage:
Association classes: EOActionAssociation, EOActionInsertionAssociation
Widget classes: NSButton, NSButtonCell
Nested Class Summary |
Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin |
EOWidgetAssociation.WidgetPlugin.Formatting |
Constructor Summary | |
EOCocoaButtonPlugin(EOWidgetAssociation association,
Object widget)
Creates a new EOCocoaButtonPlugin for use with association and widget . |
Method Summary | |
void |
breakConnection()
Tells the plugin to halt communication with its widget. |
void |
establishConnection()
Establishes a connection between the plugin and its UI widget. |
void |
setEnabled(boolean enabled)
Tells the plugin to enable or disable its button. |
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 EOCocoaButtonPlugin(EOWidgetAssociation association, Object widget)
association
and widget
.
association
- EOactionWidgetAssociation for this plugin to communicate withwidget
- widget for this plugin to manageMethod Detail |
public void breakConnection()
breakConnection
in class EOWidgetAssociation.WidgetPlugin
public void establishConnection()
establishConnection
in class EOWidgetAssociation.WidgetPlugin
public void setEnabled(boolean enabled)
setEnabled
in class EOActionWidgetAssociation.ActionPlugin
enabled
- if true
, the button is enabled in the interface,
otherwise, the button is disabledpublic String[] widgetKeysTaken()
EOCocoaButtonPlugin takes over outlets with keys "action" and "target".
widgetKeysTaken
in class EOWidgetAssociation.WidgetPlugin
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |