public class TableFocusListener extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
focusedRow |
protected Object |
sync |
protected JTable |
table |
protected xyz.cofe.common.CloseableSet |
tableListeners |
| Constructor and Description |
|---|
TableFocusListener() |
TableFocusListener(JTable table,
boolean start) |
| Modifier and Type | Method and Description |
|---|---|
JTable |
getTable() |
boolean |
isRunning() |
protected void |
listen() |
protected void |
onFocusedRowChanged(JTable table,
int oldRow,
int curRow) |
void |
setTable(JTable table) |
void |
start() |
void |
stop() |
protected final Object sync
protected JTable table
protected final xyz.cofe.common.CloseableSet tableListeners
protected int focusedRow
public TableFocusListener()
public TableFocusListener(JTable table, boolean start)
public JTable getTable()
public void setTable(JTable table)
protected void listen()
protected void onFocusedRowChanged(JTable table, int oldRow, int curRow)
public void start()
public void stop()
public boolean isRunning()
Copyright © 2019. All rights reserved.