info.bioinfweb.treegraph.gui.dialogs.nodebranchdatainput
Class NewNodeBranchDataInput
java.lang.Object
info.bioinfweb.treegraph.gui.dialogs.nodebranchdatainput.NodeBranchDataInput
info.bioinfweb.treegraph.gui.dialogs.nodebranchdatainput.NewNodeBranchDataInput
public class NewNodeBranchDataInput
- extends NodeBranchDataInput
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
NewNodeBranchDataInput
public NewNodeBranchDataInput(JPanel panel,
int x,
int y,
boolean horizontal)
getSelectedAdapter
public NodeBranchDataAdapter getSelectedAdapter()
- Description copied from class:
NodeBranchDataInput
- Returns the currently selected adapter.
- Overrides:
getSelectedAdapter
in class NodeBranchDataInput
- Returns:
- the selected adapter (not a copy of it)
getComboBox
protected JComboBox getComboBox()
- Overrides:
getComboBox
in class NodeBranchDataInput
getTextField
protected JTextField getTextField()
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in class NodeBranchDataInput
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)