apollo.gui.event
Class FeatureSelectionEvent
java.lang.Object
java.util.EventObject
apollo.gui.event.FeatureSelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class FeatureSelectionEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FEATURES
public static final int FEATURES
- See Also:
- Constant Field Values
SEQUENCE
public static final int SEQUENCE
- See Also:
- Constant Field Values
SYNLINK
public static final int SYNLINK
- See Also:
- Constant Field Values
FeatureSelectionEvent
public FeatureSelectionEvent(java.lang.Object source,
java.util.Vector features,
int type)
FeatureSelectionEvent
public FeatureSelectionEvent(java.lang.Object source,
FeatureList feats)
FeatureSelectionEvent
public FeatureSelectionEvent(java.lang.Object source,
SeqFeatureI feature)
FeatureSelectionEvent
public FeatureSelectionEvent(java.lang.Object source,
java.util.Vector features)
FeatureSelectionEvent
public FeatureSelectionEvent(java.lang.Object source,
Selection selected)
FeatureSelectionEvent
public FeatureSelectionEvent(java.lang.Object source,
Selection selected,
boolean force_selection)
getType
public int getType()
getFeatures
public FeatureList getFeatures()
getFeature
public SeqFeatureI getFeature()
- Returns fist feature - rename getFirstFeature
getSelection
public Selection getSelection()
getSource
public java.lang.Object getSource()
- Overrides:
getSource in class java.util.EventObject
forceSelection
public boolean forceSelection()
- whether this event requires attention. some of the i/fs
have a checkbox to ignore changes to selection, but if
the change to the selection is a delete or a replace then
the change must not be ignored