de.matthiasmann.twl
Interface TableSelectionManager

All Known Implementing Classes:
TableRowSelectionManager

public interface TableSelectionManager


Nested Class Summary
static class TableSelectionManager.SelectionGranularity
           
 
Method Summary
 void columnInserted(int index, int count)
           
 void columnsDeleted(int index, int count)
           
 int getLeadColumn()
           
 int getLeadRow()
           
 TableSelectionManager.SelectionGranularity getSelectionGranularity()
           
 TableSelectionModel getSelectionModel()
           
 boolean handleKeyStrokeAction(java.lang.String action, Event event)
           
 boolean handleMouseEvent(int row, int column, Event event)
           
 boolean isCellSelected(int row, int column)
           
 boolean isRowSelected(int row)
           
 void modelChanged()
           
 void rowsDeleted(int index, int count)
           
 void rowsInserted(int index, int count)
           
 void setAssociatedTable(TableBase base)
           
 

Method Detail

getSelectionModel

TableSelectionModel getSelectionModel()

setAssociatedTable

void setAssociatedTable(TableBase base)

getSelectionGranularity

TableSelectionManager.SelectionGranularity getSelectionGranularity()

handleKeyStrokeAction

boolean handleKeyStrokeAction(java.lang.String action,
                              Event event)

handleMouseEvent

boolean handleMouseEvent(int row,
                         int column,
                         Event event)

isRowSelected

boolean isRowSelected(int row)

isCellSelected

boolean isCellSelected(int row,
                       int column)

getLeadRow

int getLeadRow()

getLeadColumn

int getLeadColumn()

modelChanged

void modelChanged()

rowsInserted

void rowsInserted(int index,
                  int count)

rowsDeleted

void rowsDeleted(int index,
                 int count)

columnInserted

void columnInserted(int index,
                    int count)

columnsDeleted

void columnsDeleted(int index,
                    int count)