public class BaseTreeControl extends HtmlTableColumn
Modifier and Type | Class and Description |
---|---|
static class |
BaseTreeControl.DummyComponent
Add to dummy facet to capture decode() callback and propagate to column.
|
static class |
BaseTreeControl.ToggleActionListener
Applies modifed open-state submitted value when an action event is recieved.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<String> |
m_submittedOpenIds |
protected boolean |
m_submittedUseUnopen |
static String |
TYPE |
NEGATIVE_ONE, ZERO
COMPONENT_FAMILY, COMPONENT_TYPE
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Constructor and Description |
---|
BaseTreeControl() |
Modifier and Type | Method and Description |
---|---|
void |
applySubmittedValues()
Applies the submitted values to this tree's open state.
|
String |
getCollapseAllIcon() |
String |
getCollapseIcon() |
String |
getExpandAllIcon() |
String |
getExpandIcon() |
String |
getLeafIcon() |
String |
getLineBottomIcon() |
String |
getLineIcon() |
String |
getLineNoneIcon() |
String |
getLineTopIcon() |
String |
getLoadingIcon() |
Collection<String> |
getSubmittedOpenIds() |
boolean |
getSubmittedUseUnopen() |
Object |
getTableRowState()
Gets this control's per-row state.
|
boolean |
isNowrap()
Override to change the default value
|
boolean |
isShowSortLink() |
void |
restoreState(FacesContext context,
Object state)
Override to workaround a NPE while restoring the system event listeners
|
void |
setCollapseAllIcon(String collapseAllIcon) |
void |
setCollapseIcon(String collapseIcon) |
void |
setExpandAllIcon(String expandAllIcon) |
void |
setExpandIcon(String expandIcon) |
void |
setLeafIcon(String leafIcon) |
void |
setLineBottomIcon(String lineBottomIcon) |
void |
setLineIcon(String lineIcon) |
void |
setLineNoneIcon(String lineNoneIcon) |
void |
setLineTopIcon(String lineTopIcon) |
void |
setLoadingIcon(String loadingIcon) |
void |
setShowSortLink(boolean showSortLink) |
void |
setSubmittedOpenIds(Collection<String> ids) |
void |
setSubmittedUseUnopen(boolean useUnopen) |
void |
setTableRowState(Object o)
Sets this control's per-row state.
|
populateInitialComponents
encodeFooter, encodeHeader, getAlign, getGroup, getLabel, getOrdinal, getPropertyOrBindingValue, getSecondaryEnd, getSecondaryStart, getSort, getValign, getWidth, isAscending, isExportable, isHidden, isOptional, isSecondary, setAlign, setAscending, setExportable, setGroup, setHidden, setLabel, setNowrap, setOptional, setOrdinal, setSecondary, setSecondaryEnd, setSecondaryStart, setSort, setValign, setWidth
getFamily, getFooter, getHeader, setFooter, setHeader
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static final String TYPE
protected transient boolean m_submittedUseUnopen
protected transient Collection<String> m_submittedOpenIds
public void restoreState(FacesContext context, Object state)
HtmlTableColumn
restoreState
in interface StateHolder
restoreState
in class HtmlTableColumn
public boolean isNowrap()
isNowrap
in interface IExtendedColumn
isNowrap
in class BaseExtendedColumn
public Object getTableRowState()
getTableRowState
in interface ITableRowStateHolder
getTableRowState
in class BaseExtendedColumn
public void setTableRowState(Object o)
setTableRowState
in interface ITableRowStateHolder
setTableRowState
in class BaseExtendedColumn
public void applySubmittedValues()
public String getCollapseAllIcon()
public void setCollapseAllIcon(String collapseAllIcon)
public String getCollapseIcon()
public void setCollapseIcon(String collapseIcon)
public String getExpandAllIcon()
public void setExpandAllIcon(String expandAllIcon)
public String getExpandIcon()
public void setExpandIcon(String expandIcon)
public String getLoadingIcon()
public void setLoadingIcon(String loadingIcon)
public String getLeafIcon()
public void setLeafIcon(String leafIcon)
public String getLineBottomIcon()
public void setLineBottomIcon(String lineBottomIcon)
public String getLineIcon()
public void setLineIcon(String lineIcon)
public String getLineNoneIcon()
public void setLineNoneIcon(String lineNoneIcon)
public String getLineTopIcon()
public void setLineTopIcon(String lineTopIcon)
public boolean isShowSortLink()
public void setShowSortLink(boolean showSortLink)
public boolean getSubmittedUseUnopen()
public void setSubmittedUseUnopen(boolean useUnopen)
public Collection<String> getSubmittedOpenIds()
public void setSubmittedOpenIds(Collection<String> ids)