Class BaseTreeControl
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIColumn
com.webmethods.caf.faces.component.table.BaseExtendedColumn
com.webmethods.caf.faces.component.table.html.HtmlTableColumn
com.webmethods.caf.faces.component.tree.BaseTreeControl
- All Implemented Interfaces:
IDynamicComponent
,IExtendedColumn
,ITableRowStateHolder
,Serializable
,EventListener
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
Tree-toggle control.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Add to dummy facet to capture decode() callback and propagate to column.static class
Applies modifed open-state submitted value when an action event is recieved. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<String>
protected boolean
static final String
Fields inherited from class com.webmethods.caf.faces.component.table.BaseExtendedColumn
NEGATIVE_ONE, ZERO
Fields inherited from class javax.faces.component.UIColumn
COMPONENT_FAMILY, COMPONENT_TYPE
Fields inherited from class javax.faces.component.UIComponent
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies the submitted values to this tree's open state.boolean
Gets this control's per-row state.boolean
isNowrap()
Override to change the default valueboolean
void
restoreState
(FacesContext context, Object state) Override to workaround a NPE while restoring the system event listenersvoid
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
void
setSubmittedUseUnopen
(boolean useUnopen) void
Sets this control's per-row state.Methods inherited from class com.webmethods.caf.faces.component.table.html.HtmlTableColumn
populateInitialComponents
Methods inherited from class com.webmethods.caf.faces.component.table.BaseExtendedColumn
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
Methods inherited from class javax.faces.component.UIColumn
getFamily, getFooter, getHeader, setFooter, setHeader
Methods inherited from class javax.faces.component.UIComponentBase
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
Methods inherited from class javax.faces.component.UIComponent
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
-
Field Details
-
TYPE
- See Also:
-
m_submittedUseUnopen
protected transient boolean m_submittedUseUnopen -
m_submittedOpenIds
-
-
Constructor Details
-
BaseTreeControl
public BaseTreeControl()
-
-
Method Details
-
restoreState
Description copied from class:HtmlTableColumn
Override to workaround a NPE while restoring the system event listeners- Specified by:
restoreState
in interfaceStateHolder
- Overrides:
restoreState
in classHtmlTableColumn
-
isNowrap
public boolean isNowrap()Override to change the default value- Specified by:
isNowrap
in interfaceIExtendedColumn
- Overrides:
isNowrap
in classBaseExtendedColumn
-
getTableRowState
Gets this control's per-row state.- Specified by:
getTableRowState
in interfaceITableRowStateHolder
- Overrides:
getTableRowState
in classBaseExtendedColumn
-
setTableRowState
Sets this control's per-row state.- Specified by:
setTableRowState
in interfaceITableRowStateHolder
- Overrides:
setTableRowState
in classBaseExtendedColumn
-
applySubmittedValues
public void applySubmittedValues()Applies the submitted values to this tree's open state. -
getCollapseAllIcon
-
setCollapseAllIcon
-
getCollapseIcon
-
setCollapseIcon
-
getExpandAllIcon
-
setExpandAllIcon
-
getExpandIcon
-
setExpandIcon
-
getLoadingIcon
-
setLoadingIcon
-
getLeafIcon
-
setLeafIcon
-
getLineBottomIcon
-
setLineBottomIcon
-
getLineIcon
-
setLineIcon
-
getLineNoneIcon
-
setLineNoneIcon
-
getLineTopIcon
-
setLineTopIcon
-
isShowSortLink
public boolean isShowSortLink() -
setShowSortLink
public void setShowSortLink(boolean showSortLink) -
getSubmittedUseUnopen
public boolean getSubmittedUseUnopen() -
setSubmittedUseUnopen
public void setSubmittedUseUnopen(boolean useUnopen) -
getSubmittedOpenIds
-
setSubmittedOpenIds
-