|
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.EOTableColumnAssociation.TableColumnPlugin
TableColumnPlugin communicates with a UI widget (Cocoa's NSTableColumn or JFC's TableColumn, for example) on behalf of an EOTableAssociation. The TableColumnPlugin class defines some basic functionality concrete subclasses must implement for this communication to work.
Nested Class Summary |
Nested classes inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin |
EOWidgetAssociation.WidgetPlugin.Formatting |
Constructor Summary | |
EOTableColumnAssociation.TableColumnPlugin(EOWidgetAssociation association,
Object widget)
Creates a new TableColumnPlugin for use with association and widget. |
Method Summary | |
abstract int |
columnIndexInTable()
Gets the positional index of the plugin's column. |
abstract Object |
displayValueForValue(Object value)
Formats a data value for display (potentially using a Formatter object as defined in subclasses). |
boolean |
endEditing()
Asks the plugin to halt editing of its widget in the UI. |
abstract boolean |
isEditable()
This method returns a flag indicating whether the TableColumn is editable. |
abstract Object |
table()
This method is usually called internally and used to obtain the table widget from the column widget. |
abstract EOTableAssociation |
tableAssociation()
Returns an association for the table of this plugin's column. |
abstract Object |
valueForDisplayValue(Object displayValue)
This method performs the reverse operation of formatting, that is, it returns the data value for a displayed value, potentially using a Formatter object's "parse" method as defined in subclasses. |
Methods inherited from class com.webobjects.eointerface.EOWidgetAssociation.WidgetPlugin |
association, breakConnection, dispose, establishConnection, unacceptableAspects, widget, widgetKeysTaken |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EOTableColumnAssociation.TableColumnPlugin(EOWidgetAssociation association, Object widget)
association
- EOTableColumnAssociation for this plugin to communicate withwidget
- the table column object for this plugin to manageMethod Detail |
public abstract int columnIndexInTable()
public abstract Object displayValueForValue(Object value)
value
- the data value to be displayed, usually coming from the display group set in the association
public boolean endEditing()
true
if editing ended successfully, false
if the widget
would not allow editing to end, typically because of a formatting errorpublic abstract boolean isEditable()
true
if the column is editable, false
otherwsiepublic abstract Object table()
public abstract EOTableAssociation tableAssociation()
null
public abstract Object valueForDisplayValue(Object displayValue)
displayValue
- the (String) value as it was displayed and/or entered by the user
|
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 |