|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
net.java.sip.communicator.plugin.keybindingchooser.globalchooser.GlobalShortcutTableModel
public class GlobalShortcutTableModel
Table model for global shortcuts.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
GlobalShortcutTableModel()
|
|
| Method Summary | |
|---|---|
void |
addEntry(GlobalShortcutEntry entry)
Adds an entry. |
Class<?> |
getColumnClass(int columnIndex)
Overrides a method that always returned Object.class Now it will return Boolean.class for the first method, letting the DefaultTableCellRenderer create checkboxes. |
int |
getColumnCount()
Returns the number of column in the table |
String |
getColumnName(int column)
Returns the title for this column |
List<GlobalShortcutEntry> |
getEntries()
Returns all shortcuts. |
GlobalShortcutEntry |
getEntryAt(int row)
Returns the LdapDirectory at the row 'row' |
int |
getRowCount()
Returns the number of rows in the table |
Object |
getValueAt(int row,
int column)
Returns the text for the given cell of the table |
boolean |
isCellEditable(int row,
int col)
Returns whether a cell is editable. |
void |
removeEntry(GlobalShortcutEntry entry)
Adds an entry. |
void |
ssetValueAt(Object aValue,
int rowIndex,
int columnIndex)
Sets a value in an editable cell. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalShortcutTableModel()
| Method Detail |
|---|
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelcolumn - the column
AbstractTableModel.getColumnName(int)public int getRowCount()
TableModel.getRowCount()public int getColumnCount()
TableModel.getColumnCount()
public Object getValueAt(int row,
int column)
row - cell rowcolumn - cell column
TableModel.getValueAt(int, int)public GlobalShortcutEntry getEntryAt(int row)
row - the row on which to find the LdapDirectory
public boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelrow - row of the cellcol - column of the cell
public Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelcolumnIndex - index of the column
public void ssetValueAt(Object aValue,
int rowIndex,
int columnIndex)
aValue - value to setrowIndex - row indexcolumnIndex - column indexpublic void addEntry(GlobalShortcutEntry entry)
entry - entry to addpublic void removeEntry(GlobalShortcutEntry entry)
entry - entry to addpublic List<GlobalShortcutEntry> getEntries()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||