WebObjects 5.2

com.webobjects.eointerface
Interface EOWidgetAssociation.WidgetPlugin.Formatting

All Known Implementing Classes:
EOCocoaTableColumnPlugin, EOCocoaTextFieldPlugin, EOCocoaComboBoxPlugin, EOCocoaRadioMatrixPlugin, EOSwingTableColumnPlugin, EOSwingTextPlugin, EOSwingTreePlugin, EOSwingComboBoxPlugin
Enclosing class:
EOWidgetAssociation.WidgetPlugin

public static interface EOWidgetAssociation.WidgetPlugin.Formatting

The Formatting interface defines the basic methods needed to enable setting and getting formatting for a display object. In this way, some widget set specific formatting object can be applied to a display object without the plugin's association knowing anything about the formatting object.

Plugins that implement the Formatting interface only need to know how to get and set the formatting object of their display objects.


Method Summary
 void setValueFormatter(Object valueFormatter)
          Sets valueFormatter to act on the receiver.
 Object valueFormatter()
          Returns the formatter object of the receiver.
 

Method Detail

setValueFormatter

public void setValueFormatter(Object valueFormatter)
Sets valueFormatter to act on the receiver. The plugin should use the valueFormatter object to apply formatting to its display object.
Parameters:
valueFormatter - formatting object for the plugin to use

valueFormatter

public Object valueFormatter()
Returns the formatter object of the receiver.
Parameters:
the - formatter object of the receiver

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.