public final class CollectionState extends AbstractState
Constructor and Description |
---|
CollectionState()
Default constructor.
|
CollectionState(javax.el.ValueExpression target,
javax.el.ValueExpression value)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelection(javax.faces.context.FacesContext context)
Tests whether the state is selected.
|
void |
setSelection(javax.faces.context.FacesContext context,
boolean selection)
Updates the selection.
|
getState, isTransient, restoreState, saveState, setTransient
public CollectionState()
public CollectionState(javax.el.ValueExpression target, javax.el.ValueExpression value)
target
- The target expression. May not be null.value
- The value expression. May not be null.public boolean isSelection(javax.faces.context.FacesContext context)
context
- The faces context. May not be null.public void setSelection(javax.faces.context.FacesContext context, boolean selection)
context
- The faces context. May not be null.selection
- True if and only if the value is selected.Copyright © 2010–2014 Lunar Ray. All rights reserved.