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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
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.
 
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
 

Constructor Detail

RulerModelEvent

public RulerModelEvent(RulerModel source,
                       int firstIndex,
                       int lastIndex)
The entries in the range [firstIndex, lastIndex] have been changed.

Method Detail

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