public abstract class AbstractSelectableListItem extends RichFacesListItem implements SelectableListItem
| Constructor and Description |
|---|
AbstractSelectableListItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
deselect()
Deselects this item.
|
protected abstract String |
getStyleClassForSelectedItem() |
boolean |
isSelected()
Finds out whether this item is selected.
|
void |
select()
Selects item without deselecting others.
|
void |
select(boolean deselectOthers)
Select item and deselect other items depending on @deselectOthers.
|
getRootElement, getText, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRootElement, getTextpublic boolean isSelected()
SelectableListItemisSelected in interface SelectableListItemtrue if this item is selected, false otherwiseprotected abstract String getStyleClassForSelectedItem()
public void select()
SelectableListItemselect in interface SelectableListItempublic void select(boolean deselectOthers)
SelectableListItemselect in interface SelectableListItemdeselectOthers - if true other items will be unselected.public void deselect()
SelectableListItemdeselect in interface SelectableListItemCopyright © 2014 JBoss by Red Hat. All Rights Reserved.