org.richfaces.model.selection
Class SelectionRange

java.lang.Object
  extended by org.richfaces.model.selection.SelectionRange
All Implemented Interfaces:
java.io.Serializable

public class SelectionRange
extends java.lang.Object
implements java.io.Serializable

Author:
Maksim Kaszynski
See Also:
Serialized Form

Constructor Summary
SelectionRange(int startIndex, int endIndex)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getEndIndex()
           
 int getStartIndex()
           
 int hashCode()
           
 void setEndIndex(int endIndex)
           
 void setStartIndex(int startIndex)
           
 boolean within(int index)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionRange

public SelectionRange(int startIndex,
                      int endIndex)
Method Detail

getStartIndex

public int getStartIndex()

setStartIndex

public void setStartIndex(int startIndex)

getEndIndex

public int getEndIndex()

setEndIndex

public void setEndIndex(int endIndex)

within

public boolean within(int index)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010. All Rights Reserved.