DESY ACOP Beans Home
com.cosylab.events
Class RangeSelectionEvent
java.lang.Object
java.util.EventObject
com.cosylab.events.RangeSelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class RangeSelectionEvent
- extends java.util.EventObject
- Version:
- @@VERSION@@
- Author:
- gpajor
- 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 |
RangeSelectionEvent
public RangeSelectionEvent(RangeSelectable source,
int start,
int end,
boolean selected)
- Constructor for RangeSelectionEvent.
- Parameters:
source
- start
- Start index, should be -1 iff nothing is selectedend
- End index, should be >= start, -1 if nothing is selected.selecrted,
- true
if interval was selected, false
if deselected.
getSelectionEnd
public int getSelectionEnd()
- Returns the selectionEnd.
- Returns:
- int
getSelectionStart
public int getSelectionStart()
- Returns the selectionStart.
- Returns:
- int
isSelected
public boolean isSelected()
- Returns
true
if specified interval was selected.
If it was deselected, it is false
.
- Returns:
- boolean
true
if selected
Copyright © 2010. All Rights Reserved.