Package org.zkoss.zk.ui.select.impl
Class Selector
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SimpleSelectorSequence>,Collection<SimpleSelectorSequence>,List<SimpleSelectorSequence>,RandomAccess
The model representing a selector.
- Since:
- 6.0.0
- Author:
- simonpai
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachCombinator(Selector.Combinator combinator) Add combinator to the last simple selector sequencegetCombinator(int index) Return the i-th combinatorintReturn the index of this selector in a multiple selector sequence.toString()Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
Selector
public Selector(int selectorIndex)
-
-
Method Details
-
attachCombinator
Add combinator to the last simple selector sequence -
getSelectorIndex
public int getSelectorIndex()Return the index of this selector in a multiple selector sequence. -
getCombinator
Return the i-th combinator -
toString
- Overrides:
toStringin classAbstractCollection<SimpleSelectorSequence>
-