protected class DataTable.RelationalCellEditor extends AbstractCellEditor implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected JButton |
m_Button
the button for opening the dialog
|
protected int |
m_ColumnIndex
the column index this editor is for
|
protected weka.core.Instances |
m_CurrentInst
the current instances
|
protected int |
m_RowIndex
the row index this editor is for
|
changeEvent, listenerList| Constructor and Description |
|---|
RelationalCellEditor(int rowIndex,
int columnIndex)
initializes the editor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue()
Returns the value contained in the editor.
|
protected weka.core.Instances |
getInstancesAt(int rowIndex,
int columnIndex)
returns the underlying instances at the given position
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
Sets an initial value for the editor.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprotected JButton m_Button
protected weka.core.Instances m_CurrentInst
protected int m_RowIndex
protected int m_ColumnIndex
public RelationalCellEditor(int rowIndex,
int columnIndex)
rowIndex - the row indexcolumnIndex - the column indexprotected weka.core.Instances getInstancesAt(int rowIndex,
int columnIndex)
rowIndex - the row indexcolumnIndex - the column indexpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditortable - the table this editor belongs tovalue - the value to editisSelected - whether the cell is selectedrow - the row indexcolumn - the column indexpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorCopyright © 2017. All Rights Reserved.