public abstract class VariableTextEditor extends AbstractCellEditor implements TableCellEditor, ActionListener, DocumentListener, FocusListener, MouseListener
| Modifier and Type | Class and Description |
|---|---|
class |
VariableTextEditor.RowDoc
Very simple extension of Document (text) that simply adds an int
field to designate which row this Document edits.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
result
The data held by the last edited TextComponent in the table.
|
protected MetadataPane.TablePanel |
tableP
Refers to the TablePanel using this editor.
|
changeEvent, listenerList| Constructor and Description |
|---|
VariableTextEditor(MetadataPane.TablePanel tp)
Construct a new VariableTextEditor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
changedUpdate(DocumentEvent e) |
void |
changeNode(DocumentEvent e)
Sets the data of the current text component for a triggering
DocumentEvent.
|
void |
changeResult(AWTEvent e)
Sets the data of the current text component for a triggering
AWTEvent.
|
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
Object |
getCellEditorValue()
Get the data of the current TextComponent.
|
void |
insertUpdate(DocumentEvent e) |
void |
mouseClicked(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
removeUpdate(DocumentEvent e) |
void |
setNode(int row,
String value)
Handles the changing of the OMEXMLNode tree.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTableCellEditorComponentaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprotected MetadataPane.TablePanel tableP
protected String result
public VariableTextEditor(MetadataPane.TablePanel tp)
public Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic void setNode(int row,
String value)
public void changeResult(AWTEvent e)
public void changeNode(DocumentEvent e)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void insertUpdate(DocumentEvent e)
insertUpdate in interface DocumentListenerpublic void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListenerpublic void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenerCopyright © 2014 Open Microscopy Environment