Overview  Package   Class  Tree  Index 

be.lassi.ui.cues
Class CueListTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by be.lassi.ui.cues.CueListTableModel
All Implemented Interfaces:
com.jidesoft.grid.ContextSensitiveTableModel, com.jidesoft.grid.SpanModel, java.io.Serializable, javax.swing.table.TableModel

public class CueListTableModel
extends javax.swing.table.AbstractTableModel
implements com.jidesoft.grid.SpanModel, com.jidesoft.grid.ContextSensitiveTableModel

Provides overview of the cues in the currently selected cue list.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CueListTableModel(ShowContext context)
           
 
Method Summary
 java.lang.Class<?> getCellClassAt(int rowIndex, int columnIndex)
          
 com.jidesoft.grid.CellSpan getCellSpanAt(int rowIndex, int columnIndex)
          
 int getColumnCount()
          
 java.lang.String getColumnName(int columnIndex)
          
 com.jidesoft.converter.ConverterContext getConverterContextAt(int rowIndex, int columnIndex)
          
 Cue getCue(int rowIndex)
           
 com.jidesoft.grid.EditorContext getEditorContextAt(int rowIndex, int columnIndex)
          
 int getRowCount()
          
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
          
 boolean isCellEditable(int rowIndex, int columnIndex)
          
 boolean isCellSpanOn()
          
 boolean isCurrent(int rowIndex)
           
 boolean isSelected(int rowIndex)
          Indicates whether the cue at given row is selected.
 void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
          
 
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
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, removeTableModelListener
 

Constructor Detail

CueListTableModel

public CueListTableModel(ShowContext context)
Method Detail

getCellClassAt

public java.lang.Class<?> getCellClassAt(int rowIndex,
                                         int columnIndex)

Specified by:
getCellClassAt in interface com.jidesoft.grid.ContextSensitiveTableModel

getCellSpanAt

public com.jidesoft.grid.CellSpan getCellSpanAt(int rowIndex,
                                                int columnIndex)

Specified by:
getCellSpanAt in interface com.jidesoft.grid.SpanModel

getColumnCount

public int getColumnCount()

Specified by:
getColumnCount in interface javax.swing.table.TableModel

getColumnName

public java.lang.String getColumnName(int columnIndex)

Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getConverterContextAt

public com.jidesoft.converter.ConverterContext getConverterContextAt(int rowIndex,
                                                                     int columnIndex)

Specified by:
getConverterContextAt in interface com.jidesoft.grid.ContextSensitiveTableModel

getCue

public Cue getCue(int rowIndex)

getEditorContextAt

public com.jidesoft.grid.EditorContext getEditorContextAt(int rowIndex,
                                                          int columnIndex)

Specified by:
getEditorContextAt in interface com.jidesoft.grid.ContextSensitiveTableModel

getRowCount

public int getRowCount()

Specified by:
getRowCount in interface javax.swing.table.TableModel

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

Specified by:
getValueAt in interface javax.swing.table.TableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)

Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

isCellSpanOn

public boolean isCellSpanOn()

Specified by:
isCellSpanOn in interface com.jidesoft.grid.SpanModel

isCurrent

public boolean isCurrent(int rowIndex)

isSelected

public boolean isSelected(int rowIndex)
Indicates whether the cue at given row is selected.

Parameters:
rowIndex - row index
Returns:
true if cue at rowIndex is selected

setValueAt

public void setValueAt(java.lang.Object value,
                       int rowIndex,
                       int columnIndex)

Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2