org.richfaces.model.selection
Class SimpleSelection

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

public class SimpleSelection
extends java.lang.Object
implements Selection

Author:
Maksim Kaszynski
See Also:
Serialized Form

Constructor Summary
SimpleSelection()
           
 
Method Summary
 boolean addKey(java.lang.Object rowKey)
           
 void clear()
           
 boolean equals(java.lang.Object obj)
           
 java.util.Iterator<java.lang.Object> getKeys()
           
 int hashCode()
           
 boolean isSelectAll()
           
 boolean isSelected(java.lang.Object rowKey)
           
 boolean removeKey(java.lang.Object rowKey)
           
 void setSelectAll(boolean selectAll)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSelection

public SimpleSelection()
Method Detail

addKey

public boolean addKey(java.lang.Object rowKey)

removeKey

public boolean removeKey(java.lang.Object rowKey)

getKeys

public java.util.Iterator<java.lang.Object> getKeys()
Specified by:
getKeys in interface Selection

size

public int size()
Specified by:
size in interface Selection

isSelected

public boolean isSelected(java.lang.Object rowKey)
Specified by:
isSelected in interface Selection

clear

public void clear()

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

setSelectAll

public void setSelectAll(boolean selectAll)

isSelectAll

public boolean isSelectAll()


Copyright © 2010. All Rights Reserved.