org.apache.empire.jsf2.pageelements
Class ListPageElement.SelectionSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<String>
              extended by org.apache.empire.jsf2.pageelements.ListPageElement.SelectionSet
All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, Set<String>
Enclosing class:
ListPageElement<T>

public static class ListPageElement.SelectionSet
extends HashSet<String>

See Also:
Serialized Form

Constructor Summary
ListPageElement.SelectionSet()
           
ListPageElement.SelectionSet(int size)
           
 
Method Summary
 boolean add(String e)
           
 boolean contains(Object item)
           
 boolean isInvertSelection()
           
 boolean isSingleSelection()
           
 boolean remove(Object o)
           
 boolean set(String e)
           
 void setInvertSelection(boolean invertSelection)
           
 void setSingleSelection(boolean singleSelection)
           
 
Methods inherited from class java.util.HashSet
clear, clone, isEmpty, iterator, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ListPageElement.SelectionSet

public ListPageElement.SelectionSet()

ListPageElement.SelectionSet

public ListPageElement.SelectionSet(int size)
Method Detail

isSingleSelection

public boolean isSingleSelection()

setSingleSelection

public void setSingleSelection(boolean singleSelection)

isInvertSelection

public boolean isInvertSelection()

set

public boolean set(String e)

add

public boolean add(String e)
Specified by:
add in interface Collection<String>
Specified by:
add in interface Set<String>
Overrides:
add in class HashSet<String>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<String>
Specified by:
remove in interface Set<String>
Overrides:
remove in class HashSet<String>

setInvertSelection

public void setInvertSelection(boolean invertSelection)

contains

public boolean contains(Object item)
Specified by:
contains in interface Collection<String>
Specified by:
contains in interface Set<String>
Overrides:
contains in class HashSet<String>


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.