Klasse AbstractUIData
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UIData
org.apache.myfaces.tobago.internal.component.AbstractUIData
- Alle implementierten Schnittstellen:
jakarta.faces.component.NamingContainer,jakarta.faces.component.PartialStateHolder,jakarta.faces.component.StateHolder,jakarta.faces.component.TransientStateHolder,jakarta.faces.component.UniqueIdVendor,jakarta.faces.event.ComponentSystemEventListener,jakarta.faces.event.FacesListener,jakarta.faces.event.SystemEventListenerHolder,EventListener,Visual
- Bekannte direkte Unterklassen:
AbstractUISheet,AbstractUITree
Base class for sheet and tree.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final StringVeraltet.since 2.0.0.static final StringVon Klasse geerbte Felder jakarta.faces.component.UIData
COMPONENT_FAMILY, COMPONENT_TYPEVon Klasse geerbte Felder jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEYVon Schnittstelle geerbte Felder jakarta.faces.component.NamingContainer
SEPARATOR_CHAR -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidcreateTreeDataModel(Object value, boolean showRoot) Creates the TreeDataModel which should be used.voidencodeBegin(jakarta.faces.context.FacesContext context) jakarta.faces.component.UIComponentfindComponent(String searchId) protected jakarta.faces.model.DataModelabstract ExpandedStategetPath()abstract SelectableVeraltet.since 3.0.0, please usegetSelectable()abstract SelectedStatebooleaninvokeOnComponent(jakarta.faces.context.FacesContext facesContext, String clientId, jakarta.faces.component.ContextCallback callback) booleanisFolder()booleanThe value describes, if the UIData renderer creates container elements to hold the row information.booleanbooleanabstract booleanbooleanbooleanstripRowIndex(String initialSearchId) booleanvisitTree(jakarta.faces.component.visit.VisitContext context, jakarta.faces.component.visit.VisitCallback callback) This is, because we need to visit the UIRow for each row, which is not done in the base implementation.Von Klasse geerbte Methoden jakarta.faces.component.UIData
broadcast, createUniqueId, encodeEnd, getContainerClientId, getFamily, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, isRowStatePreserved, markInitialState, processDecodes, processUpdates, processValidators, queueEvent, restoreState, saveState, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setRowStatePreserved, setValue, setValueExpression, setVarVon Klasse geerbte Methoden jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransientVon Klasse geerbte Methoden jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEventVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.component.Visual
getCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
-
Felddetails
-
SUFFIX_MARKED
Veraltet.since 2.0.0. The marked concept has been replaced by "selected".- Siehe auch:
-
SUFFIX_SELECTED
- Siehe auch:
-
SUFFIX_EXPANDED
- Siehe auch:
-
-
Konstruktordetails
-
AbstractUIData
public AbstractUIData()
-
-
Methodendetails
-
isTreeModel
public boolean isTreeModel() -
getTreeDataModel
-
getDataModel
protected jakarta.faces.model.DataModel getDataModel()- Setzt außer Kraft:
getDataModelin Klassejakarta.faces.component.UIData
-
getSelectableAsEnum
Veraltet.since 3.0.0, please usegetSelectable() -
getSelectable
-
createTreeDataModel
Creates the TreeDataModel which should be used. Override this method to use a custom model for an unsupported tree model. (Currently Tobago supportsTreeNodeout of the box.- Parameter:
value- The reference to the data model (comes from the value attribute of theUIData)showRoot- comes from the showRoot attribute.
-
encodeBegin
- Setzt außer Kraft:
encodeBeginin Klassejakarta.faces.component.UIData- Löst aus:
IOException
-
getExpandedState
-
getSelectedState
-
isRowVisible
public boolean isRowVisible() -
getRowClientId
-
getRowParentClientId
-
isShowRoot
public abstract boolean isShowRoot() -
isShowRootJunction
public boolean isShowRootJunction() -
isRowsUnlimited
public boolean isRowsUnlimited()- Gibt zurück:
- Is the (maximum) number of rows to display set to zero?
-
isRendersRowContainer
public boolean isRendersRowContainer()The value describes, if the UIData renderer creates container elements to hold the row information. This information is important for the TreeNodeRenderer to set the visible state in the output or not. Typically the Sheet returns true and a Tree returns false, because the sheet renders the HTML TR tags, the the sheet also is responsible for the visible state. -
findComponent
- Setzt außer Kraft:
findComponentin Klassejakarta.faces.component.UIComponentBase
-
stripRowIndex
-
invokeOnComponent
public boolean invokeOnComponent(jakarta.faces.context.FacesContext facesContext, String clientId, jakarta.faces.component.ContextCallback callback) throws jakarta.faces.FacesException - Setzt außer Kraft:
invokeOnComponentin Klassejakarta.faces.component.UIData- Löst aus:
jakarta.faces.FacesException
-
getPath
- Gibt zurück:
- The TreePath of the current row index.
-
isFolder
public boolean isFolder()- Gibt zurück:
- Is the current row index representing a folder.
-
getRowIndicesOfChildren
-
visitTree
public boolean visitTree(jakarta.faces.component.visit.VisitContext context, jakarta.faces.component.visit.VisitCallback callback) This is, because we need to visit the UIRow for each row, which is not done in the base implementation.- Setzt außer Kraft:
visitTreein Klassejakarta.faces.component.UIData
-