com.webobjects.eointerface.swing
Class EOSwingTreePlugin
java.lang.Object
|
+--com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin
|
+--com.webobjects.eointerface.EOTreeAssociation.TreePlugin
|
+--com.webobjects.eointerface.swing.EOSwingTreePlugin
- All Implemented Interfaces:
- EOWidgetAssociation.WidgetPlugin.Formatting, EventListener, NSDisposable, TreeSelectionListener, TreeWillExpandListener
- public class EOSwingTreePlugin
- extends EOTreeAssociation.TreePlugin
- implements TreeWillExpandListener, TreeSelectionListener, EOWidgetAssociation.WidgetPlugin.Formatting
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOSwingTreePlugin
public EOSwingTreePlugin(EOWidgetAssociation association,
Object widget)
breakConnection
public void breakConnection()
- Description copied from class:
EOWidgetAssociation.WidgetPlugin
- Removes the receiver from its EOAssociation and display object.
Subclasses should override this method to clear references
to the display object and association and invoke
super
's implementation
at the end.
- Overrides:
breakConnection
in class EOWidgetAssociation.WidgetPlugin
establishConnection
public void establishConnection()
- Description copied from class:
EOWidgetAssociation.WidgetPlugin
- Overridden by subclasses to attach the receiver to
its display object, and to otherwise configure the display object.
Subclasses should invoke
super
's implementation after establishing their
own connections.
- Overrides:
establishConnection
in class EOWidgetAssociation.WidgetPlugin
setRootObject
public void setRootObject(Object root)
- Overrides:
setRootObject
in class EOTreeAssociation.TreePlugin
setRootObjectChildren
public void setRootObjectChildren(NSArray objects)
- Overrides:
setRootObjectChildren
in class EOTreeAssociation.TreePlugin
setValueFormatter
public void setValueFormatter(Object formatter)
- Set the formatter for this plugin's text component.
- Specified by:
setValueFormatter
in interface EOWidgetAssociation.WidgetPlugin.Formatting
- Parameters:
formatter
- of type Format
treeWillCollapse
public void treeWillCollapse(TreeExpansionEvent event)
throws ExpandVetoException
- Specified by:
treeWillCollapse
in interface TreeWillExpandListener
treeWillExpand
public void treeWillExpand(TreeExpansionEvent event)
throws ExpandVetoException
- Specified by:
treeWillExpand
in interface TreeWillExpandListener
valueChanged
public void valueChanged(TreeSelectionEvent event)
- Specified by:
valueChanged
in interface TreeSelectionListener
valueFormatter
public Object valueFormatter()
- Returns the Format for this plugin's text component.
- Specified by:
valueFormatter
in interface EOWidgetAssociation.WidgetPlugin.Formatting
- Returns:
- the formatter for this plugin's widget, if one exists
Copyright © 2003 Apple Computer, Inc.