org.opennms.bb.eui.operator.components
Class BBActionEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--javax.swing.DefaultCellEditor
|
+--org.opennms.bb.eui.operator.components.BBActionEditor
- All Implemented Interfaces:
- CellEditor, Observer, Serializable, TableCellEditor, TreeCellEditor
- public class BBActionEditor
- extends DefaultCellEditor
- implements Observer
- See Also:
- Serialized Form
Constructor Summary |
BBActionEditor()
Starts the process - the renderer button's action
listener |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
performAction
EventsPerformAction performAction
renderer
BBActionRenderer renderer
tasktoPerform
String tasktoPerform
value
protected Object value
buttonLabel
String buttonLabel
buttonEnabled
boolean buttonEnabled
editTable
JTable editTable
editRow
int editRow
editCol
int editCol
BBActionEditor
public BBActionEditor()
- Starts the process - the renderer button's action
listener
update
public void update(Observable evp,
Object o)
- Specified by:
update
in interface Observer
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int col)
- Overrides the method in the the parent class and returns the
editor component
- Overrides:
getTableCellEditorComponent
in class DefaultCellEditor
stopCellEditing
public boolean stopCellEditing()
- This cell editor is different because it sets the value of the
revious cell
- Overrides:
stopCellEditing
in class DefaultCellEditor