info.bioinfweb.treegraph.gui.dialogs.nodedatainput
Class NewNodeDataInput
java.lang.Object
info.bioinfweb.treegraph.gui.dialogs.nodedatainput.NodeDataInput
info.bioinfweb.treegraph.gui.dialogs.nodedatainput.NewNodeDataInput
public class NewNodeDataInput
- extends NodeDataInput
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textField
private JTextField textField
inputListeners
private Vector<NodeDataInputListener> inputListeners
NewNodeDataInput
public NewNodeDataInput(JPanel panel,
int x,
int y,
boolean horizontal)
selectedAdapter
public NodeDataAdapter selectedAdapter()
- Description copied from class:
NodeDataInput
- Returns the currently selected adapter.
- Overrides:
selectedAdapter in class NodeDataInput
- Returns:
- the selected adapter (not a copy of it)
getComboBox
protected JComboBox getComboBox()
- Overrides:
getComboBox in class NodeDataInput
getTextField
protected JTextField getTextField()
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled in class NodeDataInput
setID
public void setID(String id)
- Sets the ID displayed in the contained text field.
- Parameters:
id - - the new ID
addInputListener
public boolean addInputListener(NodeDataInputListener listener)
removeInputListener
public boolean removeInputListener(NodeDataInputListener listener)
fireNewIDSelected
private void fireNewIDSelected(boolean selected)