|
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.EOTableAssociation.TablePlugin
TablePlugin communicates with a UI widget (NSTableView, JTable or EOTable, for example) on behalf of an EOTableAssociation. The TablePlugin 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 | |
EOTableAssociation.TablePlugin(EOWidgetAssociation association,
Object widget)
Subclasses should override this constructor to do any initialization they need to, but should call the super(association, widget) constructor. |
Method Summary | |
abstract int |
editingColumnIndex()
Asks the plugin of the table view for the column currently being edited. |
abstract int |
editingRowIndex()
Asks the plugin of the table view for the row currently being edited. |
abstract EOTableAssociation |
existingTableAssociation()
Asks the plugin of the table view for an already existing table association. |
abstract int |
numberOfColumns()
Asks the plugin of the table view for the number of columns in the table. |
abstract int[] |
selectionIndexes()
Asks the plugin of the table view for the selected rows. |
abstract EOTableColumnAssociation |
tableColumnAssociationForColumnAtIndex(int columnIndex)
Asks the plugin of the table view for the column association at a specific index. |
abstract void |
updateSelectionIndexes(int[] selectedRowIndexes)
Calls the plugin to update the table view for a changed selection. |
abstract void |
updateTableContents(int numberOfRows)
Calls the plugin to update the contents of its table view. |
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 EOTableAssociation.TablePlugin(EOWidgetAssociation association, Object widget)
super(association, widget)
constructor.
association
- EOTableAssociation object for which the plugin will handle setting
and getting values on the UI widgetwidget
- the UI object that the plugin will use for displayMethod Detail |
public abstract int editingColumnIndex()
public abstract int editingRowIndex()
public abstract EOTableAssociation existingTableAssociation()
null
)public abstract int numberOfColumns()
public abstract int[] selectionIndexes()
public abstract EOTableColumnAssociation tableColumnAssociationForColumnAtIndex(int columnIndex)
columnIndex
- the index of the column of interest
public abstract void updateSelectionIndexes(int[] selectedRowIndexes)
selectedRowIndexes
- an array with the indexes of the now selected rowspublic abstract void updateTableContents(int numberOfRows)
numberOfRows
- the number of rows displayed in the table
|
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 |