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 javax.swing.JTextField textField
inputListeners
private java.util.Vector<NodeDataInputListener> inputListeners
NewNodeBranchDataInput
public NewNodeBranchDataInput(javax.swing.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 javax.swing.JComboBox getComboBox()
- Overrides:
getComboBox in class NodeBranchDataInput
getTextField
protected javax.swing.JTextField getTextField()
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled in class NodeBranchDataInput
setID
public void setID(java.lang.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)