Class OptionsImpl
- All Implemented Interfaces:
Options
,Serializable
,Cloneable
,Iterable<Option>
,Collection<Option>
,List<Option>
,RandomAccess
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionOptionsImpl
(List<Option> options, FieldConfig relatedField, OptionsManager optionsManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decrementSequence
(Option option) void
disableOption
(Option option) void
enableOption
(Option option) getOptionById
(Long optionId) getOptionForValue
(String value, Long parentOptionId) This is the same asgetOptions(null)
void
incrementSequence
(Option option) void
moveOptionToPosition
(Map<Integer, Option> positionsToOptions) void
moveToLastSequence
(Option option) void
moveToStartSequence
(Option option) void
removeOption
(Option option) void
void
sortOptionsByValue
(Option parentOption) 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, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
OptionsImpl
-
-
Method Details
-
getRootOptions
Description copied from interface:Options
This is the same asgetOptions(null)
- Specified by:
getRootOptions
in interfaceOptions
-
getOptionForValue
- Specified by:
getOptionForValue
in interfaceOptions
-
setValue
-
addOption
-
removeOption
- Specified by:
removeOption
in interfaceOptions
-
sortOptionsByValue
- Specified by:
sortOptionsByValue
in interfaceOptions
-
moveOptionToPosition
- Specified by:
moveOptionToPosition
in interfaceOptions
-
moveToStartSequence
- Specified by:
moveToStartSequence
in interfaceOptions
-
incrementSequence
- Specified by:
incrementSequence
in interfaceOptions
-
decrementSequence
- Specified by:
decrementSequence
in interfaceOptions
-
moveToLastSequence
- Specified by:
moveToLastSequence
in interfaceOptions
-
disableOption
- Specified by:
disableOption
in interfaceOptions
-
enableOption
- Specified by:
enableOption
in interfaceOptions
-
getOptionById
- Specified by:
getOptionById
in interfaceOptions
-
getRelatedFieldConfig
- Specified by:
getRelatedFieldConfig
in interfaceOptions
-