public abstract class ListBase extends org.icefaces.impl.component.UISeriesBase implements IList, IceClientBehaviorHolder
For more information, see the List Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ListBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
dataModel, savedChildren, savedSeriesState| Constructor and Description |
|---|
ListBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getBodyClass()
Return the value of the
bodyClass property. |
java.lang.String |
getBodyStyle()
Return the value of the
bodyStyle property. |
java.lang.String |
getBottomButtonClass()
Return the value of the
bottomButtonClass property. |
java.lang.String |
getControlsContainerClass()
Return the value of the
controlsContainerClass property. |
java.lang.String |
getControlsFormat()
Return the value of the
controlsFormat property. |
java.lang.String |
getControlsItemClass()
Return the value of the
controlsItemClass property. |
java.lang.String |
getControlsSpacerClass()
Return the value of the
controlsSpacerClass property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.lang.String |
getDownButtonClass()
Return the value of the
downButtonClass property. |
java.lang.String |
getDragHandle()
Return the value of the
dragHandle property. |
java.lang.String |
getDropGroup()
Return the value of the
dropGroup property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getFooterClass()
Return the value of the
footerClass property. |
java.lang.String |
getFooterStyle()
Return the value of the
footerStyle property. |
java.lang.String |
getHeaderClass()
Return the value of the
headerClass property. |
java.lang.String |
getHeaderStyle()
Return the value of the
headerStyle property. |
java.lang.String |
getHeight()
Return the value of the
height property. |
java.lang.String |
getItemClass()
Return the value of the
itemClass property. |
java.lang.String |
getItemStyle()
Return the value of the
itemStyle property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getPlaceholderClass()
Return the value of the
placeholderClass property. |
javax.el.MethodExpression |
getSelectionListener()
Return the value of the
selectionListener property. |
java.lang.String |
getSelectionMode()
Return the value of the
selectionMode property. |
java.util.Set |
getSelections()
Return the value of the
selections property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.String |
getTopButtonClass()
Return the value of the
topButtonClass property. |
java.lang.String |
getUpButtonClass()
Return the value of the
upButtonClass property. |
java.lang.Boolean |
isCompact()
Return the value of the
compact property. |
java.lang.Boolean |
isControlsEnabled()
Return the value of the
controlsEnabled property. |
java.lang.Boolean |
isDoubleClickMigration()
Return the value of the
doubleClickMigration property. |
java.lang.Boolean |
isDragging()
Return the value of the
dragging property. |
java.lang.Boolean |
isPlaceholder()
Return the value of the
placeholder property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setBodyClass(java.lang.String bodyClass)
Set the value of the
bodyClass property. |
void |
setBodyStyle(java.lang.String bodyStyle)
Set the value of the
bodyStyle property. |
void |
setBottomButtonClass(java.lang.String bottomButtonClass)
Set the value of the
bottomButtonClass property. |
void |
setCompact(java.lang.Boolean compact)
Set the value of the
compact property. |
void |
setControlsContainerClass(java.lang.String controlsContainerClass)
Set the value of the
controlsContainerClass property. |
void |
setControlsEnabled(java.lang.Boolean controlsEnabled)
Set the value of the
controlsEnabled property. |
void |
setControlsFormat(java.lang.String controlsFormat)
Set the value of the
controlsFormat property. |
void |
setControlsItemClass(java.lang.String controlsItemClass)
Set the value of the
controlsItemClass property. |
void |
setControlsSpacerClass(java.lang.String controlsSpacerClass)
Set the value of the
controlsSpacerClass property. |
void |
setDoubleClickMigration(java.lang.Boolean doubleClickMigration)
Set the value of the
doubleClickMigration property. |
void |
setDownButtonClass(java.lang.String downButtonClass)
Set the value of the
downButtonClass property. |
void |
setDragging(java.lang.Boolean dragging)
Set the value of the
dragging property. |
void |
setDragHandle(java.lang.String dragHandle)
Set the value of the
dragHandle property. |
void |
setDropGroup(java.lang.String dropGroup)
Set the value of the
dropGroup property. |
void |
setFooterClass(java.lang.String footerClass)
Set the value of the
footerClass property. |
void |
setFooterStyle(java.lang.String footerStyle)
Set the value of the
footerStyle property. |
void |
setHeaderClass(java.lang.String headerClass)
Set the value of the
headerClass property. |
void |
setHeaderStyle(java.lang.String headerStyle)
Set the value of the
headerStyle property. |
void |
setHeight(java.lang.String height)
Set the value of the
height property. |
void |
setItemClass(java.lang.String itemClass)
Set the value of the
itemClass property. |
void |
setItemStyle(java.lang.String itemStyle)
Set the value of the
itemStyle property. |
void |
setPlaceholder(java.lang.Boolean placeholder)
Set the value of the
placeholder property. |
void |
setPlaceholderClass(java.lang.String placeholderClass)
Set the value of the
placeholderClass property. |
void |
setSelectionListener(javax.el.MethodExpression selectionListener)
Set the value of the
selectionListener property. |
void |
setSelectionMode(java.lang.String selectionMode)
Set the value of the
selectionMode property. |
void |
setSelections(java.util.Set selections)
Set the value of the
selections property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setTopButtonClass(java.lang.String topButtonClass)
Set the value of the
topButtonClass property. |
void |
setUpButtonClass(java.lang.String upButtonClass)
Set the value of the
upButtonClass property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
broadcast, encodeBegin, ensureFirstRowInRange, getClientId, getContainerClientId, getDataModel, getRowCount, getRowData, getRowIndex, getSavedChildren, getSavedSeriesState, getVar, getVarStatus, isRowAvailable, iterate, processDecodes, processUpdates, processValidators, queueEvent, restoreChild, restoreChildrenState, restoreChildState, restoreSeriesState, restoreState, saveChild, saveChildrenState, saveChildState, saveSeriesState, saveState, setDataModel, setId, setRowIndex, setValue, setValueBinding, setVar, setVarStatus, synchWithPaginator, visitTree, wrapDataModelgetBgcolor, getBodyrows, getBorder, getCaptionClass, getCaptionStyle, getCellpadding, getCellspacing, getColumnClasses, getDir, getFrame, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRole, getRowClasses, getRules, getSummary, getTitle, getWidth, setBgcolor, setBodyrows, setBorder, setCaptionClass, setCaptionStyle, setCellpadding, setCellspacing, setColumnClasses, setDir, setFrame, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRole, setRowClasses, setRules, setSummary, setTitle, setWidthcreateUniqueId, getFirst, getFooter, getHeader, getRows, getValue, invokeOnComponent, isRowStatePreserved, markInitialState, setFirst, setFooter, setHeader, setRows, setRowStatePreservedaddFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIDatapublic void setBodyClass(java.lang.String bodyClass)
Set the value of the bodyClass property.
Contents: Style class to apply to the container UL element.
setBodyClass in interface IListpublic java.lang.String getBodyClass()
Return the value of the bodyClass property.
Contents: Style class to apply to the container UL element.
getBodyClass in interface IListpublic void setBodyStyle(java.lang.String bodyStyle)
Set the value of the bodyStyle property.
Contents: Style rules to apply to the container UL element.
setBodyStyle in interface IListpublic java.lang.String getBodyStyle()
Return the value of the bodyStyle property.
Contents: Style rules to apply to the container UL element.
getBodyStyle in interface IListpublic void setBottomButtonClass(java.lang.String bottomButtonClass)
Set the value of the bottomButtonClass property.
Contents: Style class to apply to the span defining the bottom button icon.
setBottomButtonClass in interface IListpublic java.lang.String getBottomButtonClass()
Return the value of the bottomButtonClass property.
Contents: Style class to apply to the span defining the bottom button icon. Default = 'ui-icon ui-icon-arrowstop-1-s'.
getBottomButtonClass in interface IListpublic void setCompact(java.lang.Boolean compact)
Set the value of the compact property.
Contents: Enables an alternate style on the table that uses greatly reduced padding and a 8 point default font.
setCompact in interface IListpublic java.lang.Boolean isCompact()
Return the value of the compact property.
Contents: Enables an alternate style on the table that uses greatly reduced padding and a 8 point default font. Default = 'false'.
public void setControlsContainerClass(java.lang.String controlsContainerClass)
Set the value of the controlsContainerClass property.
Contents: Style class to apply to the DIV surrounding the reordering controls.
setControlsContainerClass in interface IListpublic java.lang.String getControlsContainerClass()
Return the value of the controlsContainerClass property.
Contents: Style class to apply to the DIV surrounding the reordering controls.
getControlsContainerClass in interface IListpublic void setControlsEnabled(java.lang.Boolean controlsEnabled)
Set the value of the controlsEnabled property.
Contents: Enable a set of buttons to control reordering of items within this list.Requires selection of determine items to adjust via buttons.
setControlsEnabled in interface IListpublic java.lang.Boolean isControlsEnabled()
Return the value of the controlsEnabled property.
Contents: Enable a set of buttons to control reordering of items within this list.Requires selection of determine items to adjust via buttons. Default = 'false'.
isControlsEnabled in interface IListpublic void setControlsFormat(java.lang.String controlsFormat)
Set the value of the controlsFormat property.
Contents: Defines the order in which the reordering buttons render. Specify a space delimited list of values such as "top", "up", "dwn", "btm".
setControlsFormat in interface IListpublic java.lang.String getControlsFormat()
Return the value of the controlsFormat property.
Contents: Defines the order in which the reordering buttons render. Specify a space delimited list of values such as "top", "up", "dwn", "btm". Default = 'top up dwn btm'.
getControlsFormat in interface IListpublic void setControlsItemClass(java.lang.String controlsItemClass)
Set the value of the controlsItemClass property.
Contents: Style class to apply to the div surrounding the individual reordering icons.
setControlsItemClass in interface IListpublic java.lang.String getControlsItemClass()
Return the value of the controlsItemClass property.
Contents: Style class to apply to the div surrounding the individual reordering icons. Default = 'ui-state-default ui-corner-all'.
getControlsItemClass in interface IListpublic void setControlsSpacerClass(java.lang.String controlsSpacerClass)
Set the value of the controlsSpacerClass property.
Contents: Style class to apply to the spacer container around each button element.
setControlsSpacerClass in interface IListpublic java.lang.String getControlsSpacerClass()
Return the value of the controlsSpacerClass property.
Contents: Style class to apply to the spacer container around each button element.
getControlsSpacerClass in interface IListpublic void setDoubleClickMigration(java.lang.Boolean doubleClickMigration)
Set the value of the doubleClickMigration property.
Contents: Enable single item migration to the next list in the first matching ListControl via item double clicks; with reverse migation via shift double clicks. If used in a dual list configuration the reverse migration is implied for the second list, and holding the shift key isn't required. Note this attribute has no effect when an f:selectItem(s) model is used.
setDoubleClickMigration in interface IListpublic java.lang.Boolean isDoubleClickMigration()
Return the value of the doubleClickMigration property.
Contents: Enable single item migration to the next list in the first matching ListControl via item double clicks; with reverse migation via shift double clicks. If used in a dual list configuration the reverse migration is implied for the second list, and holding the shift key isn't required. Note this attribute has no effect when an f:selectItem(s) model is used. Default = 'true'.
isDoubleClickMigration in interface IListpublic void setDownButtonClass(java.lang.String downButtonClass)
Set the value of the downButtonClass property.
Contents: Style class to apply to the span defining the down button icon.
setDownButtonClass in interface IListpublic java.lang.String getDownButtonClass()
Return the value of the downButtonClass property.
Contents: Style class to apply to the span defining the down button icon. Default = 'ui-icon ui-icon-arrow-1-s'.
getDownButtonClass in interface IListpublic void setDragHandle(java.lang.String dragHandle)
Set the value of the dragHandle property.
Contents: Specifies the jQuery selector(s) of the elements inside the item container (
setDragHandle in interface IListpublic java.lang.String getDragHandle()
Return the value of the dragHandle property.
Contents: Specifies the jQuery selector(s) of the elements inside the item container (
getDragHandle in interface IListpublic void setDragging(java.lang.Boolean dragging)
Set the value of the dragging property.
Contents: Enable the dragging of list items in this list. Note this attribute has no effect when an f:selectItem(s) model is used.
setDragging in interface IListpublic java.lang.Boolean isDragging()
Return the value of the dragging property.
Contents: Enable the dragging of list items in this list. Note this attribute has no effect when an f:selectItem(s) model is used. Default = 'true'.
isDragging in interface IListpublic void setDropGroup(java.lang.String dropGroup)
Set the value of the dropGroup property.
Contents: Enables inter-list dragging and dropping; an identifier used to link this region and others for bi-directional dropping. Note this attribute has no effect when an f:selectItem(s) model is used.
setDropGroup in interface IListpublic java.lang.String getDropGroup()
Return the value of the dropGroup property.
Contents: Enables inter-list dragging and dropping; an identifier used to link this region and others for bi-directional dropping. Note this attribute has no effect when an f:selectItem(s) model is used.
getDropGroup in interface IListpublic void setFooterClass(java.lang.String footerClass)
Set the value of the footerClass property.
Contents: Style class to apply to the footer DIV element.
setFooterClass in interface IListsetFooterClass in class javax.faces.component.html.HtmlDataTablepublic java.lang.String getFooterClass()
Return the value of the footerClass property.
Contents: Style class to apply to the footer DIV element.
getFooterClass in interface IListgetFooterClass in class javax.faces.component.html.HtmlDataTablepublic void setFooterStyle(java.lang.String footerStyle)
Set the value of the footerStyle property.
Contents: Style rules to apply to the footer DIV element.
setFooterStyle in interface IListpublic java.lang.String getFooterStyle()
Return the value of the footerStyle property.
Contents: Style rules to apply to the footer DIV element.
getFooterStyle in interface IListpublic void setHeaderClass(java.lang.String headerClass)
Set the value of the headerClass property.
Contents: Style class to apply to the header DIV element.
setHeaderClass in interface IListsetHeaderClass in class javax.faces.component.html.HtmlDataTablepublic java.lang.String getHeaderClass()
Return the value of the headerClass property.
Contents: Style class to apply to the header DIV element.
getHeaderClass in interface IListgetHeaderClass in class javax.faces.component.html.HtmlDataTablepublic void setHeaderStyle(java.lang.String headerStyle)
Set the value of the headerStyle property.
Contents: Style rules to apply to the header DIV element.
setHeaderStyle in interface IListpublic java.lang.String getHeaderStyle()
Return the value of the headerStyle property.
Contents: Style rules to apply to the header DIV element.
getHeaderStyle in interface IListpublic void setHeight(java.lang.String height)
Set the value of the height property.
Contents: Defines a CSS height value to set in the UL element style. eg. '200px', '10%', etc.
public java.lang.String getHeight()
Return the value of the height property.
Contents: Defines a CSS height value to set in the UL element style. eg. '200px', '10%', etc.
public void setItemClass(java.lang.String itemClass)
Set the value of the itemClass property.
Contents: Style class to apply to the iterative LI element.
setItemClass in interface IListpublic java.lang.String getItemClass()
Return the value of the itemClass property.
Contents: Style class to apply to the iterative LI element.
getItemClass in interface IListpublic void setItemStyle(java.lang.String itemStyle)
Set the value of the itemStyle property.
Contents: Style rules to apply to the iterative LI element.
setItemStyle in interface IListpublic java.lang.String getItemStyle()
Return the value of the itemStyle property.
Contents: Style rules to apply to the iterative LI element.
getItemStyle in interface IListpublic void setPlaceholder(java.lang.Boolean placeholder)
Set the value of the placeholder property.
Contents: Enable adding a style to the whitespace that is cleared for a list item being dragged / dropped.
setPlaceholder in interface IListpublic java.lang.Boolean isPlaceholder()
Return the value of the placeholder property.
Contents: Enable adding a style to the whitespace that is cleared for a list item being dragged / dropped. Default = 'true'.
isPlaceholder in interface IListpublic void setPlaceholderClass(java.lang.String placeholderClass)
Set the value of the placeholderClass property.
Contents: Style class to apply to the optional dragging placeholder LI element.
setPlaceholderClass in interface IListpublic java.lang.String getPlaceholderClass()
Return the value of the placeholderClass property.
Contents: Style class to apply to the optional dragging placeholder LI element.
getPlaceholderClass in interface IListpublic void setSelectionListener(javax.el.MethodExpression selectionListener)
Set the value of the selectionListener property.
Contents: Define a method listener that is passed a ListSelectEvent wrapping the arrayof items newly selected in a single request.
setSelectionListener in interface IListpublic javax.el.MethodExpression getSelectionListener()
Return the value of the selectionListener property.
Contents: Define a method listener that is passed a ListSelectEvent wrapping the arrayof items newly selected in a single request.
getSelectionListener in interface IListpublic void setSelectionMode(java.lang.String selectionMode)
Set the value of the selectionMode property.
Contents: Enables item selection via clicking when defined as "multiple" or "single". The default value of the property is null; this and any value other than "multiple" or "single" disables selection for the list. Note that each click begins a new selection. If "multiple" is set, CTRL (or Command) + Click adds to (or removes from) the selection, and Shift + Click will add to the selection all unselected items between the previous selection (or deselection) and the clicked item (inclusive of the clicked item itself).
setSelectionMode in interface IListpublic java.lang.String getSelectionMode()
Return the value of the selectionMode property.
Contents: Enables item selection via clicking when defined as "multiple" or "single". The default value of the property is null; this and any value other than "multiple" or "single" disables selection for the list. Note that each click begins a new selection. If "multiple" is set, CTRL (or Command) + Click adds to (or removes from) the selection, and Shift + Click will add to the selection all unselected items between the previous selection (or deselection) and the clicked item (inclusive of the clicked item itself).
getSelectionMode in interface IListpublic void setSelections(java.util.Set selections)
Set the value of the selections property.
Contents: Defines the set of Objects from the source List that are selected. Note that when f:selectItem(s) children are used as the model to this ace:list that selections are instead added to the Collection bound to the value attribute, to more closely emulate the h:selectManyListbox component.
setSelections in interface IListpublic java.util.Set getSelections()
Return the value of the selections property.
Contents: Defines the set of Objects from the source List that are selected. Note that when f:selectItem(s) children are used as the model to this ace:list that selections are instead added to the Collection bound to the value attribute, to more closely emulate the h:selectManyListbox component.
getSelections in interface IListpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Style rules to apply to the container DIV element
public java.lang.String getStyle()
Return the value of the style property.
Contents: Style rules to apply to the container DIV element
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class to apply to the container DIV element.
setStyleClass in interface IListsetStyleClass in class javax.faces.component.html.HtmlDataTablepublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class to apply to the container DIV element.
getStyleClass in interface IListgetStyleClass in class javax.faces.component.html.HtmlDataTablepublic void setTopButtonClass(java.lang.String topButtonClass)
Set the value of the topButtonClass property.
Contents: Style class to apply to the span defining the top button icon.
setTopButtonClass in interface IListpublic java.lang.String getTopButtonClass()
Return the value of the topButtonClass property.
Contents: Style class to apply to the span defining the top button icon. Default = 'ui-icon ui-icon-arrowstop-1-n'.
getTopButtonClass in interface IListpublic void setUpButtonClass(java.lang.String upButtonClass)
Set the value of the upButtonClass property.
Contents: Style class to apply to the span defining the up button icon.
setUpButtonClass in interface IListpublic java.lang.String getUpButtonClass()
Return the value of the upButtonClass property.
Contents: Style class to apply to the span defining the up button icon. Default = 'ui-icon ui-icon-arrow-1-n'.
getUpButtonClass in interface IListprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIDatapublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.html.HtmlDataTablepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.html.HtmlDataTablepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.