apollo.gui.event
Class BaseFocusEvent
java.lang.Object
java.util.EventObject
apollo.gui.event.BaseFocusEvent
- All Implemented Interfaces:
- java.io.Serializable
public class BaseFocusEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseFocusEvent
public BaseFocusEvent(java.lang.Object source,
int focus,
SeqFeatureI feature)
- Constructor for position focus event, request to center on focus
BaseFocusEvent
public BaseFocusEvent(java.lang.Object source,
Region region)
getFocus
public int getFocus()
getFeature
public SeqFeatureI getFeature()
isPosition
public boolean isPosition()
- base focus can either be for a position (single base to center on - scroll) or a
range (set view to range - zoom & scroll). If this is too much to load onto
base focus event, then a new range event could be made
getRangeStart
public int getRangeStart()
getRangeEnd
public int getRangeEnd()
getRangeLimits
public int[] getRangeLimits()