public abstract class TableConfigPanelBase extends javax.faces.component.UIComponentBase implements ITableConfigPanel, IceClientBehaviorHolder
Renders a hidden panel with controls to configure column features. The table whose columns are to be configured is targeted with the 'for' attribute. The location of the button to reveal this panel is configured via the 'type' attribute.
The table config panel renders three buttons, a checkmark which submits changes, a crossout that closes without submitting changes, and a trashcan, that closes and resets the column properties configurable via the table config panel to an unconfigured state.
For more information, see the TableConfigPanel Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TableConfigPanelBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
TableConfigPanelBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.lang.String |
getDragHandle()
Return the value of the
dragHandle property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getFor()
Return the value of the
for property. |
java.lang.Integer |
getForcedRenderCount()
Return the value of the
forcedRenderCount property. |
java.lang.String |
getInColumnId()
Return the value of the
inColumnId property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.Integer |
getOffsetLeft()
Return the value of the
offsetLeft property. |
java.lang.Integer |
getOffsetTop()
Return the value of the
offsetTop property. |
java.lang.String |
getType()
Return the value of the
type property. |
boolean |
isColumnNameConfigurable()
Return the value of the
columnNameConfigurable property. |
boolean |
isColumnOrderingConfigurable()
Return the value of the
columnOrderingConfigurable property. |
boolean |
isColumnSortingConfigurable()
Return the value of the
columnSortingConfigurable property. |
boolean |
isColumnVisibilityConfigurable()
Return the value of the
columnVisibilityConfigurable property. |
boolean |
isHideDisabledRows()
Return the value of the
hideDisabledRows property. |
java.lang.Boolean |
isModal()
Return the value of the
modal property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setColumnNameConfigurable(boolean columnNameConfigurable)
Set the value of the
columnNameConfigurable property. |
void |
setColumnOrderingConfigurable(boolean columnOrderingConfigurable)
Set the value of the
columnOrderingConfigurable property. |
void |
setColumnSortingConfigurable(boolean columnSortingConfigurable)
Set the value of the
columnSortingConfigurable property. |
void |
setColumnVisibilityConfigurable(boolean columnVisibilityConfigurable)
Set the value of the
columnVisibilityConfigurable property. |
void |
setDragHandle(java.lang.String dragHandle)
Set the value of the
dragHandle property. |
void |
setFor(java.lang.String forTarget)
Set the value of the
for property. |
void |
setForcedRenderCount(java.lang.Integer forcedRenderCount)
Set the value of the
forcedRenderCount property. |
void |
setHideDisabledRows(boolean hideDisabledRows)
Set the value of the
hideDisabledRows property. |
void |
setInColumnId(java.lang.String inColumnId)
Set the value of the
inColumnId property. |
void |
setModal(java.lang.Boolean modal)
Set the value of the
modal property. |
void |
setOffsetLeft(java.lang.Integer offsetLeft)
Set the value of the
offsetLeft property. |
void |
setOffsetTop(java.lang.Integer offsetTop)
Set the value of the
offsetTop property. |
void |
setType(java.lang.String type)
Set the value of the
type property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic 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.UIComponentpublic void setColumnNameConfigurable(boolean columnNameConfigurable)
Set the value of the columnNameConfigurable property.
Contents: Enable the configuration of column headerText properties.
setColumnNameConfigurable in interface ITableConfigPanelpublic boolean isColumnNameConfigurable()
Return the value of the columnNameConfigurable property.
Contents: Enable the configuration of column headerText properties.
isColumnNameConfigurable in interface ITableConfigPanelpublic void setColumnOrderingConfigurable(boolean columnOrderingConfigurable)
Set the value of the columnOrderingConfigurable property.
Contents: Enable the configuration of column order.
setColumnOrderingConfigurable in interface ITableConfigPanelpublic boolean isColumnOrderingConfigurable()
Return the value of the columnOrderingConfigurable property.
Contents: Enable the configuration of column order.
isColumnOrderingConfigurable in interface ITableConfigPanelpublic void setColumnSortingConfigurable(boolean columnSortingConfigurable)
Set the value of the columnSortingConfigurable property.
Contents: Enable the configuration of column sorting priority and directions.
setColumnSortingConfigurable in interface ITableConfigPanelpublic boolean isColumnSortingConfigurable()
Return the value of the columnSortingConfigurable property.
Contents: Enable the configuration of column sorting priority and directions.
isColumnSortingConfigurable in interface ITableConfigPanelpublic void setColumnVisibilityConfigurable(boolean columnVisibilityConfigurable)
Set the value of the columnVisibilityConfigurable property.
Contents: Enable the configuration of column visibility.
setColumnVisibilityConfigurable in interface ITableConfigPanelpublic boolean isColumnVisibilityConfigurable()
Return the value of the columnVisibilityConfigurable property.
Contents: Enable the configuration of column visibility.
isColumnVisibilityConfigurable in interface ITableConfigPanelpublic void setDragHandle(java.lang.String dragHandle)
Set the value of the dragHandle property.
Contents: Defines a CSS selector of a TableConfigPanel subregion used as the handle when dragging the panel.
setDragHandle in interface ITableConfigPanelpublic java.lang.String getDragHandle()
Return the value of the dragHandle property.
Contents: Defines a CSS selector of a TableConfigPanel subregion used as the handle when dragging the panel.
getDragHandle in interface ITableConfigPanelpublic void setFor(java.lang.String forTarget)
Set the value of the for property.
Contents: Defines the component ID of the DataTable this ConfigPanel manipulates.
setFor in interface ITableConfigPanelpublic java.lang.String getFor()
Return the value of the for property.
Contents: Defines the component ID of the DataTable this ConfigPanel manipulates.
getFor in interface ITableConfigPanelpublic void setHideDisabledRows(boolean hideDisabledRows)
Set the value of the hideDisabledRows property.
Contents: Enable to hide columns with configurable property set to false, rather than render them with a disabled style.
setHideDisabledRows in interface ITableConfigPanelpublic boolean isHideDisabledRows()
Return the value of the hideDisabledRows property.
Contents: Enable to hide columns with configurable property set to false, rather than render them with a disabled style. Default = 'false'.
isHideDisabledRows in interface ITableConfigPanelpublic void setInColumnId(java.lang.String inColumnId)
Set the value of the inColumnId property.
Contents: Defines the column to render the 'launch' panel button in when using the 'in-col-left' or 'in-col-right' type options.
setInColumnId in interface ITableConfigPanelpublic java.lang.String getInColumnId()
Return the value of the inColumnId property.
Contents: Defines the column to render the 'launch' panel button in when using the 'in-col-left' or 'in-col-right' type options.
getInColumnId in interface ITableConfigPanelpublic void setModal(java.lang.Boolean modal)
Set the value of the modal property.
Contents: Specify whether viewing this panel disables the rest of the application from input.
setModal in interface ITableConfigPanelpublic java.lang.Boolean isModal()
Return the value of the modal property.
Contents: Specify whether viewing this panel disables the rest of the application from input. Default = 'false'.
isModal in interface ITableConfigPanelpublic void setOffsetLeft(java.lang.Integer offsetLeft)
Set the value of the offsetLeft property.
Contents: Define the distance in pixels from left boundary of the CSS positioning bounding parent. If undefined, the panel is positioned offset slightly from the target DataTable.
setOffsetLeft in interface ITableConfigPanelpublic java.lang.Integer getOffsetLeft()
Return the value of the offsetLeft property.
Contents: Define the distance in pixels from left boundary of the CSS positioning bounding parent. If undefined, the panel is positioned offset slightly from the target DataTable.
getOffsetLeft in interface ITableConfigPanelpublic void setOffsetTop(java.lang.Integer offsetTop)
Set the value of the offsetTop property.
Contents: Define the distance in pixels from top boundary of the CSS positioning bounding parent. If undefined, the panel is positioned offset slightly from the target DataTable.
setOffsetTop in interface ITableConfigPanelpublic java.lang.Integer getOffsetTop()
Return the value of the offsetTop property.
Contents: Define the distance in pixels from top boundary of the CSS positioning bounding parent. If undefined, the panel is positioned offset slightly from the target DataTable.
getOffsetTop in interface ITableConfigPanelpublic void setType(java.lang.String type)
Set the value of the type property.
Contents: Defines the display mode for the 'open' control panel button. Available options: first-col, last-col, in-col-right, in-col-left
setType in interface ITableConfigPanelpublic java.lang.String getType()
Return the value of the type property.
Contents: Defines the display mode for the 'open' control panel button. Available options: first-col, last-col, in-col-right, in-col-left Default = 'first-col'.
getType in interface ITableConfigPanelpublic void setForcedRenderCount(java.lang.Integer forcedRenderCount)
Set the value of the forcedRenderCount property.
setForcedRenderCount in interface ITableConfigPanelpublic java.lang.Integer getForcedRenderCount()
Return the value of the forcedRenderCount property.
getForcedRenderCount in interface ITableConfigPanelprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic 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 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.