apollo.gui
Class SelectionItem
java.lang.Object
apollo.gui.SelectionItem
public class SelectionItem
- extends java.lang.Object
A holder for a selected object, which also records the objects source.
At the moment all selection is of SeqFeatureI's, so making the data
variable an Object seems unnecasarily generic. Ive changed it to
SeqFeatureI. In the future if we need to select more than just
SeqFeatureI's we can change this to Object, or some interface that
encompasses selection objects. But for now its nice to have it as a
SeqFeatureI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectionItem
public SelectionItem(java.lang.Object source,
SeqFeatureI data)
SelectionItem
public SelectionItem(SelectionItem from)
getSource
public java.lang.Object getSource()
getData
public SeqFeatureI getData()
setData
public void setData(SeqFeatureI data)
addSelectionListener
public void addSelectionListener(SelectableI selectable)