net.sf.jeppers.grid
Class RulerModelEvent
java.lang.Object
|
+--java.util.EventObject
|
+--net.sf.jeppers.grid.RulerModelEvent
- All Implemented Interfaces:
- Serializable
- public class RulerModelEvent
- extends EventObject
- Author:
- Cameron Zemek
- See Also:
- Serialized Form
Constructor Summary |
RulerModelEvent(RulerModel source,
int firstIndex,
int lastIndex)
The entries in the range [firstIndex, lastIndex] have
been changed. |
Method Summary |
int |
getFirstIndex()
Returns the first index of the interval that changed. |
int |
getLastIndex()
Returns the last index of the interval that changed. |
RulerModelEvent
public RulerModelEvent(RulerModel source,
int firstIndex,
int lastIndex)
- The entries in the range
[firstIndex, lastIndex]
have
been changed.
getFirstIndex
public int getFirstIndex()
- Returns the first index of the interval that changed.
- Returns:
- first index of interval change
getLastIndex
public int getLastIndex()
- Returns the last index of the interval that changed.
- Returns:
- last index of interval change