public class SubTableModel extends Object implements SelectionTableModel
TableModel for Subtitle entities.| Constructor and Description |
|---|
SubTableModel(Project project)
Creates a new
SubTableModel. |
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener l) |
protected void |
fireRefresh() |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeTableModelListener(TableModelListener l) |
void |
selectAll()
Selects all subtitles.
|
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
void |
unselectAll()
Unselects all subtitles.
|
public SubTableModel(Project project)
SubTableModel.project - Project this model is bound topublic void selectAll()
selectAll in interface SelectionTableModelpublic void unselectAll()
unselectAll in interface SelectionTableModelpublic int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelpublic boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelprotected void fireRefresh()
public void addTableModelListener(TableModelListener l)
addTableModelListener in interface TableModelpublic void removeTableModelListener(TableModelListener l)
removeTableModelListener in interface TableModelCopyright © 2016. All rights reserved.