Class AjaxPalettePanel.Builder<T extends Serializable>
- java.lang.Object
-
- org.apache.syncope.client.ui.commons.markup.html.form.AjaxPalettePanel.Builder<T>
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AjaxPalettePanel<T extends Serializable>
public static class AjaxPalettePanel.Builder<T extends Serializable> extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AjaxPalettePanel.Builder.Query<T extends Serializable>
-
Field Summary
Fields Modifier and Type Field Description protected org.danekja.java.util.function.serializable.SerializableFunction<Object,Map<String,String>>
additionalAttributes
protected boolean
allowMoveAll
protected boolean
allowOrder
protected String
availableLabel
protected org.danekja.java.util.function.serializable.SerializableFunction<AjaxRequestTarget,Boolean>
event
protected String
filter
protected boolean
filtered
protected org.danekja.java.util.function.serializable.SerializableFunction<String,Stream<String>>
idExtractor
protected String
name
protected IChoiceRenderer<T>
renderer
protected String
selectedLabel
protected boolean
warnIfEmptyFilter
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Field Detail
-
name
protected String name
-
renderer
protected IChoiceRenderer<T extends Serializable> renderer
-
allowOrder
protected boolean allowOrder
-
allowMoveAll
protected boolean allowMoveAll
-
selectedLabel
protected String selectedLabel
-
availableLabel
protected String availableLabel
-
filtered
protected boolean filtered
-
filter
protected String filter
-
warnIfEmptyFilter
protected boolean warnIfEmptyFilter
-
idExtractor
protected org.danekja.java.util.function.serializable.SerializableFunction<String,Stream<String>> idExtractor
-
event
protected org.danekja.java.util.function.serializable.SerializableFunction<AjaxRequestTarget,Boolean> event
-
-
Method Detail
-
setName
public AjaxPalettePanel.Builder<T> setName(String name)
-
setAllowOrder
public AjaxPalettePanel.Builder<T> setAllowOrder(boolean allowOrder)
-
setAllowMoveAll
public AjaxPalettePanel.Builder<T> setAllowMoveAll(boolean allowMoveAll)
-
setSelectedLabel
public AjaxPalettePanel.Builder<T> setSelectedLabel(String selectedLabel)
-
setAvailableLabel
public AjaxPalettePanel.Builder<T> setAvailableLabel(String availableLabel)
-
setRenderer
public AjaxPalettePanel.Builder<T> setRenderer(IChoiceRenderer<T> renderer)
-
withFilter
public AjaxPalettePanel.Builder<T> withFilter()
-
withFilter
public AjaxPalettePanel.Builder<T> withFilter(String defaultFilter)
-
warnIfEmptyFilter
public AjaxPalettePanel.Builder<T> warnIfEmptyFilter(boolean warnIfEmptyFilter)
-
idExtractor
public AjaxPalettePanel.Builder<T> idExtractor(org.danekja.java.util.function.serializable.SerializableFunction<String,Stream<String>> idExtractor)
-
event
public AjaxPalettePanel.Builder<T> event(org.danekja.java.util.function.serializable.SerializableFunction<AjaxRequestTarget,Boolean> event)
-
additionalAttributes
public AjaxPalettePanel.Builder<T> additionalAttributes(org.danekja.java.util.function.serializable.SerializableFunction<Object,Map<String,String>> additionalAttributes)
-
build
public AjaxPalettePanel<T> build(String id, IModel<List<T>> model, AjaxPalettePanel.Builder.Query<T> choices)
-
-