be.lassi.ui.sheet
Class SheetTableModelHeaders
java.lang.Object
javax.swing.table.AbstractTableModel
be.lassi.ui.sheet.SheetTableModel
be.lassi.ui.sheet.SheetTableModelHeaders
- All Implemented Interfaces:
- ShowContextListener, java.io.Serializable, javax.swing.table.TableModel
public class SheetTableModelHeaders
- extends SheetTableModel
Table model for left side of Sheet window table.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class be.lassi.ui.sheet.SheetTableModel |
fireCueChannelUpdated, fireCueSubmasterUpdated, fireTableRowUpdated, getChannelIndex, getColumnModel, getContext, getCues, getRowChannel, getRowChannelWithId, getRowCount, getRowSubmaster, getShow, getSubmasterIndex, groupsChanged, isCurrentCueColumn, isRowChannel, isRowSubmaster, isRowTiming, isRowWithSpecialGridLine, postShowChange, preShowChange |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLUMN_ID
public static final int COLUMN_ID
- See Also:
- Constant Field Values
COLUMN_NAME
public static final int COLUMN_NAME
- See Also:
- Constant Field Values
COLUMN_STAGE
public static final int COLUMN_STAGE
- See Also:
- Constant Field Values
COLUMN_STAGE_BAR
public static final int COLUMN_STAGE_BAR
- See Also:
- Constant Field Values
COLUMN_SUBMASTER
public static final int COLUMN_SUBMASTER
- See Also:
- Constant Field Values
SheetTableModelHeaders
public SheetTableModelHeaders(ShowContext context)
- Constructs a new instance.
- Parameters:
context
- the show context
getColumnCount
public int getColumnCount()
-
getColumnName
public java.lang.String getColumnName(int col)
-
- Specified by:
getColumnName
in interface javax.swing.table.TableModel
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getValueAt
public java.lang.Object getValueAt(int row,
int col)
-
isCellEditable
public boolean isCellEditable(int row,
int col)
-
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class javax.swing.table.AbstractTableModel
isColumnWithSpecialGridLine
public boolean isColumnWithSpecialGridLine(int col)
- Overrides:
isColumnWithSpecialGridLine
in class SheetTableModel
isRowSelectedSubmaster
public boolean isRowSelectedSubmaster(int row)
- Indicates whether the row with given index is the row with
the currently selected submaster.
- Parameters:
row
- the row index (first row is 0)
- Returns:
- boolean true if row contains selected submaster
keyAction
public boolean keyAction(int actionId,
int[] rows,
int[] cols)
- Specified by:
keyAction
in class SheetTableModel
setSelectedSubmasterIndex
public void setSelectedSubmasterIndex(int submasterIndex)
- Method setSelectedSubmasterIndex.
- Parameters:
submasterIndex
-
setValueAt
public void setValueAt(java.lang.Object value,
int row,
int col)
-
- Specified by:
setValueAt
in interface javax.swing.table.TableModel
- Overrides:
setValueAt
in class javax.swing.table.AbstractTableModel
updateColumnWidths
public void updateColumnWidths()