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, stopCellEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTableCellEditorComponent
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
protected MetadataPane.TablePanel tableP
protected String result
public VariableTextEditor(MetadataPane.TablePanel tp)
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public void setNode(int row, String value)
public void changeResult(AWTEvent e)
public void changeNode(DocumentEvent e)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void insertUpdate(DocumentEvent e)
insertUpdate
in interface DocumentListener
public void removeUpdate(DocumentEvent e)
removeUpdate
in interface DocumentListener
public void changedUpdate(DocumentEvent e)
changedUpdate
in interface DocumentListener
Copyright © 2014 Open Microscopy Environment