|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.beans.AbstractPropertyEditorComponent com.atomikos.beans.TableComponent
public class TableComponent
A component for editing indexed properties as a whole.
Constructor Summary | |
---|---|
TableComponent(IndexedProperty property)
|
Method Summary | |
---|---|
void |
deleteProperty(PropertiesTableModel table,
int index)
Notification that the delete button was pressed, and thus the indicated property should be deleted from the table. |
void |
editProperty(PropertiesTableModel table,
int index)
Notification that the edit button was pressed, and the user thus wishes to edit the currently selected property in the given table. |
Component |
getComponent()
To be overridden in subclasses. |
void |
newProperty(PropertiesTableModel table)
Notification that the new button was pressed, and the user thus wishes to insert a new property in the given table. |
Methods inherited from class com.atomikos.beans.AbstractPropertyEditorComponent |
---|
getPropertyEditor, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableComponent(IndexedProperty property) throws PropertyException
PropertyException
Method Detail |
---|
public Component getComponent()
AbstractPropertyEditorComponent
getComponent
in interface PropertyEditorComponent
getComponent
in class AbstractPropertyEditorComponent
public void newProperty(PropertiesTableModel table)
PropertyListener
newProperty
in interface PropertyListener
table
- The table model.public void deleteProperty(PropertiesTableModel table, int index)
PropertyListener
deleteProperty
in interface PropertyListener
table
- The table model.index
- The index of the row to delete.public void editProperty(PropertiesTableModel table, int index)
PropertyListener
editProperty
in interface PropertyListener
table
- The table model.index
- Indicates which row to edit.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |