|
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
WidgetPlugin is an abstract superclass for plugins that provide a layer of abstraction between user interface widgets and EOWidgetAssociation subclasses. Concrete subclasses of WidgetPlugin communicate with specific UI widgets on behalf of its widget association. This way, EOWidgetAssociations don't have to know anything about the specific API used to communicate with an UI element. There are plugins that work with Swing/JFC widgets as well as Cocoa widgets, yet the WidgetAssociations contain no knowledge of either Swing or Cocoa.
Nested Class Summary | |
static interface |
EOWidgetAssociation.WidgetPlugin.Formatting
The Formatting interface defines the basic methods needed to enable setting and getting formatting for a display object. |
Constructor Summary | |
EOWidgetAssociation.WidgetPlugin(EOWidgetAssociation association,
Object widget)
Subclasses should override this constructor to perform any additional setup and then invoke super 's implementation. |
Method Summary | |
EOWidgetAssociation |
association()
Returns this plugin's associated EOAssociation. |
void |
breakConnection()
Removes the receiver from its EOAssociation and display object. |
void |
dispose()
Clears all references this plugin has to other objects especially its display object and EOAssociation. |
void |
establishConnection()
Overridden by subclasses to attach the receiver to its display object, and to otherwise configure the display object. |
String[] |
unacceptableAspects()
Returns an array of Strings representing the aspect keys that must not be bound in this plugin. |
Object |
widget()
Returns the user interface widget this plugin manages for its association. |
String[] |
widgetKeysTaken()
Returns an array of String "keys" the plugin will "take over" in its widget. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EOWidgetAssociation.WidgetPlugin(EOWidgetAssociation association, Object widget)
super
's implementation.
association
- EOActionWidgetAssociation that the plugin will communicate withwidget
- the UI widget that the plugin will communicate withMethod Detail |
public EOWidgetAssociation association()
public void breakConnection()
super
's implementation
at the end.
public void dispose()
dispose
in interface NSDisposable
NSDisposable
public void establishConnection()
super
's implementation after establishing their
own connections.
public String[] unacceptableAspects()
public Object widget()
public String[] widgetKeysTaken()
|
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 |