public class TreeTableModelAdapter
extends javax.swing.table.AbstractTableModel
TreeTable
,
AbstractTableModel
,
TableModel
,
Serialized FormConstructor and Description |
---|
TreeTableModelAdapter(TreeTableModel treeTableModel,
javax.swing.JTree tree)
Instantiates a new tree table model adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
addTargetConfiguration(TargetConfiguration config)
Adds the target configuration.
|
void |
createNewGuardBand(java.lang.String bandIdentifier,
java.lang.String configurationIdentifier)
Creates the new guard band.
|
void |
createNewSignalBand(java.lang.String bandIdentifier,
java.lang.String configurationIdentifier)
Creates the new signal band.
|
void |
createNewTargetConfiguration(java.lang.String identifier)
Creates the new target configuration.
|
void |
deleteGuardBandFrom(java.lang.String identifier,
java.lang.String targetConfigurationName)
Delete guard band from.
|
void |
deleteSignalBandFrom(java.lang.String id,
java.lang.String configName)
Delete signal band from.
|
void |
deleteTargetConfiguration(java.lang.String identifier)
Delete target configuration.
|
AcquisitionSettings |
getAcquisitionSettings()
Gets the acquisition settings.
|
java.util.ArrayList<java.lang.String> |
getBandNames()
Gets the band names.
|
int |
getChannelMap()
Gets the channel map.
|
java.lang.Class |
getColumnClass(int column) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
ConfigurationDialogSettings |
getConfigurationDialogSettings()
Gets the configuration dialog settings.
|
int |
getRowCount() |
java.util.Vector<java.lang.String> |
getSignalBandNames(java.lang.String configIdentifier)
Gets the signal band names.
|
TargetConfiguration |
getTargetConfiguration(java.lang.String identifier)
Gets the target configuration.
|
java.lang.String |
getTargetConfigurationNameForAssociatedBandNode(likelihoodDetectionModule.AssociatedBandNode n)
Gets the target configuration name for associated band node.
|
java.util.ArrayList<java.lang.String> |
getTargetConfigurationNames()
Gets the target configuration names.
|
java.util.ArrayList<TargetConfiguration> |
getTargetConfigurations() |
java.lang.Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int row,
int column) |
java.lang.Object |
nodeForRow(int row)
Node for row.
|
void |
setConfigurationDialogExpandedState(java.lang.String state)
Sets the configuration dialog expanded state.
|
void |
setConfigurationDialogSettings(ConfigurationDialogSettings settings)
Sets the configuration dialog settings.
|
void |
setValueAt(java.lang.Object value,
int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public TreeTableModelAdapter(TreeTableModel treeTableModel, javax.swing.JTree tree)
treeTableModel
- The tree table model for the TreeTable that is
being wrapped by the adapter.tree
- The actual JTree implementation that is internal to the
TreeTable.public java.lang.String getTargetConfigurationNameForAssociatedBandNode(likelihoodDetectionModule.AssociatedBandNode n)
n
- the npublic java.util.Vector<java.lang.String> getSignalBandNames(java.lang.String configIdentifier)
configIdentifier
- the config identifierpublic java.util.ArrayList<java.lang.String> getTargetConfigurationNames()
public void createNewTargetConfiguration(java.lang.String identifier)
identifier
- the identifierpublic void addTargetConfiguration(TargetConfiguration config)
config
- the configpublic void deleteTargetConfiguration(java.lang.String identifier)
identifier
- the identifierpublic java.util.ArrayList<java.lang.String> getBandNames()
public void createNewSignalBand(java.lang.String bandIdentifier, java.lang.String configurationIdentifier)
bandIdentifier
- the band identifierconfigurationIdentifier
- the configuration identifierpublic void createNewGuardBand(java.lang.String bandIdentifier, java.lang.String configurationIdentifier)
bandIdentifier
- the band identifierconfigurationIdentifier
- the configuration identifierpublic void deleteGuardBandFrom(java.lang.String identifier, java.lang.String targetConfigurationName)
identifier
- the identifiertargetConfigurationName
- the target configuration namepublic void deleteSignalBandFrom(java.lang.String id, java.lang.String configName)
id
- the idconfigName
- the config namepublic TargetConfiguration getTargetConfiguration(java.lang.String identifier)
identifier
- the identifierpublic AcquisitionSettings getAcquisitionSettings()
public java.util.ArrayList<TargetConfiguration> getTargetConfigurations()
public int getChannelMap()
public void setConfigurationDialogSettings(ConfigurationDialogSettings settings)
settings
- the new configuration dialog settingspublic ConfigurationDialogSettings getConfigurationDialogSettings()
public void setConfigurationDialogExpandedState(java.lang.String state)
state
- the new configuration dialog expanded statepublic int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public java.lang.Class getColumnClass(int column)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public java.lang.Object nodeForRow(int row)
row
- the rowpublic java.lang.Object getValueAt(int row, int column)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object value, int row, int column)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel