com.atomikos.swing
Interface PropertyListener

All Known Implementing Classes:
TableComponent

public interface PropertyListener

A listener for a new property event.


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.
 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.
 

Method Detail

newProperty

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.

Parameters:
table - The table model.

editProperty

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.

Parameters:
table - The table model.
index - Indicates which row to edit.

deleteProperty

void deleteProperty(PropertiesTableModel table,
                    int index)
Notification that the delete button was pressed, and thus the indicated property should be deleted from the table.

Parameters:
table - The table model.
index - The index of the row to delete.


Copyright © 2011. All Rights Reserved.