public class CorePage extends UIXPage implements javax.faces.component.behavior.ClientBehaviorHolder
Type | Phases | Description |
---|---|---|
org.apache.myfaces.trinidad.event.RowDisclosureEvent |
Apply Request Values Invoke Application |
The expansion event is generated for a table when the detail facet of a row is expanded or collapsed. For tree or a treeTable, the expansion event is generated when tree nodes are expanded or collapsed. |
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change event might include the width of a column that supported client-side resizing. |
UIXCollection.NoColumnFacetsVisitContext
UIXComponentBase.ComponentSystemEventListenerWrapper
LocalRowKeyIndex.Confidence, LocalRowKeyIndex.LocalCachingStrategy
DISCLOSED_ROW_KEYS_KEY, IMMEDIATE_KEY, NODE_STAMP_FACET, ROW_DISCLOSURE_LISTENER_KEY, VALUE_KEY, VAR_STATUS_KEY
VAR_KEY
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Modifier | Constructor and Description |
---|---|
|
CorePage()
Construct an instance of the CorePage.
|
protected |
CorePage(String rendererType)
Construct an instance of the CorePage.
|
Modifier and Type | Method and Description |
---|---|
void |
addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
Utility method to assist sub-classes in the implementation of the
ClientBehaviorHolder interface. |
javax.faces.component.UIComponent |
getActions()
The page-level actions of the page.
|
javax.faces.component.UIComponent |
getAppAbout()
Area to put a commandLink to more information about the application.
|
javax.faces.component.UIComponent |
getAppCopyright()
The copyright region of the page.
|
javax.faces.component.UIComponent |
getAppPrivacy()
The privacy region of the page.
|
protected FacesBean.Type |
getBeanType() |
javax.faces.component.UIComponent |
getBranding()
The corporate or organization branding region of the page.
|
javax.faces.component.UIComponent |
getBrandingApp()
The application, module, or product branding region of the page.
|
javax.faces.component.UIComponent |
getBrandingAppContextual()
The application's contextual branding region of the page.
|
String |
getChromeType()
Gets what the chromeType is for the page: compact or expanded.
|
Map<String,List<javax.faces.component.behavior.ClientBehavior>> |
getClientBehaviors()
Utility method to assist sub-classes in the implementation of the
ClientBehaviorHolder interface. |
javax.faces.component.UIComponent |
getContextSwitcher()
The context switcher of a page.
|
String |
getDefaultEventName()
Utility method to assist sub-classes in the implementation of the
ClientBehaviorHolder interface. |
Collection<String> |
getEventNames() |
String |
getFamily() |
javax.faces.component.UIComponent |
getInfoFootnote()
The footnote information region.
|
javax.faces.component.UIComponent |
getInfoReturn()
The return information region.
|
javax.faces.component.UIComponent |
getInfoStatus()
The status information region.
|
javax.faces.component.UIComponent |
getInfoSupplemental()
This region provides a location for
presenting additional information for the user.
|
javax.faces.component.UIComponent |
getInfoUser()
The user information region.
|
String |
getInlineStyle()
Gets the CSS styles to use for this component.
|
javax.faces.component.UIComponent |
getLocation()
The locator region of the page.
|
javax.faces.component.UIComponent |
getMenuSwitch()
This location typically contains a menuChoice.
|
javax.faces.component.UIComponent |
getMessages()
The node to display messages.
|
String |
getOnclick()
Gets an onclick Javascript handler.
|
String |
getOndblclick()
Gets an ondblclick Javascript handler.
|
String |
getOnkeydown()
Gets an onkeydown Javascript handler.
|
String |
getOnkeypress()
Gets an onkeypress Javascript handler.
|
String |
getOnkeyup()
Gets an onkeyup Javascript handler.
|
String |
getOnmousedown()
Gets an onmousedown Javascript handler.
|
String |
getOnmousemove()
Gets an onmousemove Javascript handler.
|
String |
getOnmouseout()
Gets an onmouseout Javascript handler.
|
String |
getOnmouseover()
Gets an onmouseover Javascript handler.
|
String |
getOnmouseup()
Gets an onmouseup Javascript handler.
|
String[] |
getPartialTriggers()
Gets the IDs of the components that should trigger a partial update.
|
javax.faces.component.UIComponent |
getSearch()
The search region of the page.
|
String |
getShortDesc()
Gets The short description of the component.
|
String |
getStyleClass()
Gets a CSS style class to use for this component.
|
void |
setActions(javax.faces.component.UIComponent actionsFacet)
The page-level actions of the page.
|
void |
setAppAbout(javax.faces.component.UIComponent appAboutFacet)
Area to put a commandLink to more information about the application.
|
void |
setAppCopyright(javax.faces.component.UIComponent appCopyrightFacet)
The copyright region of the page.
|
void |
setAppPrivacy(javax.faces.component.UIComponent appPrivacyFacet)
The privacy region of the page.
|
void |
setBranding(javax.faces.component.UIComponent brandingFacet)
The corporate or organization branding region of the page.
|
void |
setBrandingApp(javax.faces.component.UIComponent brandingAppFacet)
The application, module, or product branding region of the page.
|
void |
setBrandingAppContextual(javax.faces.component.UIComponent brandingAppContextualFacet)
The application's contextual branding region of the page.
|
void |
setChromeType(String chromeType)
Sets what the chromeType is for the page: compact or expanded.
|
void |
setContextSwitcher(javax.faces.component.UIComponent contextSwitcherFacet)
The context switcher of a page.
|
void |
setInfoFootnote(javax.faces.component.UIComponent infoFootnoteFacet)
The footnote information region.
|
void |
setInfoReturn(javax.faces.component.UIComponent infoReturnFacet)
The return information region.
|
void |
setInfoStatus(javax.faces.component.UIComponent infoStatusFacet)
The status information region.
|
void |
setInfoSupplemental(javax.faces.component.UIComponent infoSupplementalFacet)
This region provides a location for
presenting additional information for the user.
|
void |
setInfoUser(javax.faces.component.UIComponent infoUserFacet)
The user information region.
|
void |
setInlineStyle(String inlineStyle)
Sets the CSS styles to use for this component.
|
void |
setLocation(javax.faces.component.UIComponent locationFacet)
The locator region of the page.
|
void |
setMenuSwitch(javax.faces.component.UIComponent menuSwitchFacet)
This location typically contains a menuChoice.
|
void |
setMessages(javax.faces.component.UIComponent messagesFacet)
The node to display messages.
|
void |
setOnclick(String onclick)
Sets an onclick Javascript handler.
|
void |
setOndblclick(String ondblclick)
Sets an ondblclick Javascript handler.
|
void |
setOnkeydown(String onkeydown)
Sets an onkeydown Javascript handler.
|
void |
setOnkeypress(String onkeypress)
Sets an onkeypress Javascript handler.
|
void |
setOnkeyup(String onkeyup)
Sets an onkeyup Javascript handler.
|
void |
setOnmousedown(String onmousedown)
Sets an onmousedown Javascript handler.
|
void |
setOnmousemove(String onmousemove)
Sets an onmousemove Javascript handler.
|
void |
setOnmouseout(String onmouseout)
Sets an onmouseout Javascript handler.
|
void |
setOnmouseover(String onmouseover)
Sets an onmouseover Javascript handler.
|
void |
setOnmouseup(String onmouseup)
Sets an onmouseup Javascript handler.
|
void |
setPartialTriggers(String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update.
|
void |
setSearch(javax.faces.component.UIComponent searchFacet)
The search region of the page.
|
void |
setShortDesc(String shortDesc)
Sets The short description of the component.
|
void |
setStyleClass(String styleClass)
Sets a CSS style class to use for this component.
|
addRowDisclosureListener, broadcast, createCollectionModel, createFacesBean, getDisclosedRowKeys, getNodeStamp, getRowDisclosureListener, getRowDisclosureListeners, getValue, getVarStatus, isImmediate, processFacetsAndChildren, queueEvent, removeRowDisclosureListener, setDisclosedRowKeys, setImmediate, setNodeStamp, setRowDisclosureListener, setValue, setVarStatus, visitChildren, visitData
getFocusRowKey, getMenuModel
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, createVarStatusMap, enterContainer, exitContainer, getAllAncestorContainerRowKeys, getContainerRowKey, getContainerRowKey, getDepth, getDepth, getFirst, getRows, getStamps, getTreeModel, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isChildCollectionLocallyAvailable, isContainer, isContainerEmpty, visitHierarchy, visitLevel
areRowsAvailable, areRowsAvailable, areRowsAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearCurrencyStringCache, clearLocalCache, decodeChildrenImpl, defaultVisitChildren, encodeBegin, encodeEnd, ensureRowsAvailable, getCachingStrategy, getClientRowKey, getClientRowKeyManager, getCollectionModel, getCollectionModel, getContainerClientId, getCurrencyString, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowCount, getRowData, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, getVar, invokeOnComponent, isRowAvailable, isRowAvailable, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, postCreateCollectionModel, postRowDataChange, preRowDataChange, processComponent, processDecodes, processEvent, processFlattenedChildrenBegin, processRestoreState, processSaveState, processUpdates, processValidators, resetStampState, restoreStampState, restoreState, saveStampState, saveState, setClientRowKey, setCurrencyString, setRowIndex, setRowKey, setSortCriteria, setupELVariable, setupVisitingContext, setVar, tearDownVisitingContext, updateChildrenImpl, validateChildrenImpl, visitChildrenWithoutIterating, visitUnstampedFacets
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, decode, decodeChildren, encodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getPassThroughAttributes, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, satisfiesPartialTrigger, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, validateChildren
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, visitAllChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVar
areRowsAvailable, areRowsAvailable, areRowsAvailable, getRowCount, getRowData, getRowData, getRowData, getRowIndex, getRowKey, isRowAvailable, isRowAvailable, isRowAvailable, setRowIndex, setRowKey
areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, isRowLocallyAvailable, isRowLocallyAvailable
public static final String CHROME_TYPE_COMPACT
public static final String CHROME_TYPE_EXPANDED
public static final FacesBean.Type TYPE
public static final PropertyKey CHROME_TYPE_KEY
public static final PropertyKey INLINE_STYLE_KEY
public static final PropertyKey STYLE_CLASS_KEY
public static final PropertyKey SHORT_DESC_KEY
public static final PropertyKey PARTIAL_TRIGGERS_KEY
public static final PropertyKey ONCLICK_KEY
public static final PropertyKey ONDBLCLICK_KEY
public static final PropertyKey ONMOUSEDOWN_KEY
public static final PropertyKey ONMOUSEUP_KEY
public static final PropertyKey ONMOUSEOVER_KEY
public static final PropertyKey ONMOUSEMOVE_KEY
public static final PropertyKey ONMOUSEOUT_KEY
public static final PropertyKey ONKEYPRESS_KEY
public static final PropertyKey ONKEYDOWN_KEY
public static final PropertyKey ONKEYUP_KEY
public static final String MENU_SWITCH_FACET
public static final String CONTEXT_SWITCHER_FACET
public static final String MESSAGES_FACET
public static final String BRANDING_FACET
public static final String BRANDING_APP_FACET
public static final String BRANDING_APP_CONTEXTUAL_FACET
public static final String SEARCH_FACET
public static final String LOCATION_FACET
public static final String ACTIONS_FACET
public static final String APP_COPYRIGHT_FACET
public static final String APP_PRIVACY_FACET
public static final String APP_ABOUT_FACET
public static final String INFO_SUPPLEMENTAL_FACET
public static final String INFO_RETURN_FACET
public static final String INFO_USER_FACET
public static final String INFO_FOOTNOTE_FACET
public static final String INFO_STATUS_FACET
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public CorePage()
protected CorePage(String rendererType)
public final javax.faces.component.UIComponent getMenuSwitch()
public final void setMenuSwitch(javax.faces.component.UIComponent menuSwitchFacet)
public final javax.faces.component.UIComponent getContextSwitcher()
public final void setContextSwitcher(javax.faces.component.UIComponent contextSwitcherFacet)
public final javax.faces.component.UIComponent getMessages()
public final void setMessages(javax.faces.component.UIComponent messagesFacet)
public final javax.faces.component.UIComponent getBranding()
public final void setBranding(javax.faces.component.UIComponent brandingFacet)
public final javax.faces.component.UIComponent getBrandingApp()
public final void setBrandingApp(javax.faces.component.UIComponent brandingAppFacet)
public final javax.faces.component.UIComponent getBrandingAppContextual()
public final void setBrandingAppContextual(javax.faces.component.UIComponent brandingAppContextualFacet)
public final javax.faces.component.UIComponent getSearch()
public final void setSearch(javax.faces.component.UIComponent searchFacet)
public final javax.faces.component.UIComponent getLocation()
public final void setLocation(javax.faces.component.UIComponent locationFacet)
public final javax.faces.component.UIComponent getActions()
public final void setActions(javax.faces.component.UIComponent actionsFacet)
public final javax.faces.component.UIComponent getAppCopyright()
public final void setAppCopyright(javax.faces.component.UIComponent appCopyrightFacet)
public final javax.faces.component.UIComponent getAppPrivacy()
public final void setAppPrivacy(javax.faces.component.UIComponent appPrivacyFacet)
public final javax.faces.component.UIComponent getAppAbout()
public final void setAppAbout(javax.faces.component.UIComponent appAboutFacet)
public final javax.faces.component.UIComponent getInfoSupplemental()
public final void setInfoSupplemental(javax.faces.component.UIComponent infoSupplementalFacet)
public final javax.faces.component.UIComponent getInfoReturn()
public final void setInfoReturn(javax.faces.component.UIComponent infoReturnFacet)
public final javax.faces.component.UIComponent getInfoUser()
public final void setInfoUser(javax.faces.component.UIComponent infoUserFacet)
public final javax.faces.component.UIComponent getInfoFootnote()
public final void setInfoFootnote(javax.faces.component.UIComponent infoFootnoteFacet)
public final javax.faces.component.UIComponent getInfoStatus()
public final void setInfoStatus(javax.faces.component.UIComponent infoStatusFacet)
public final String getChromeType()
public final void setChromeType(String chromeType)
chromeType
- the new chromeType valuepublic final String getInlineStyle()
public final void setInlineStyle(String inlineStyle)
inlineStyle
- the new inlineStyle valuepublic final String getStyleClass()
public final void setStyleClass(String styleClass)
styleClass
- the new styleClass valuepublic final String getShortDesc()
public final void setShortDesc(String shortDesc)
shortDesc
- the new shortDesc valuepublic final String[] getPartialTriggers()
This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.
Separate multiple triggers with a space. e.g., partialTriggers="cmp1 cmp2"
Identifiers must account for NamingContainers. You can use a single colon to start the search from the root, or use multiple colons to move up through the NamingContainer. For example, "::" will pop out of this component's naming container (it pops out of itself if it is a naming container), ":::" will pop out of two naming containers, etc. The search for the partialTrigger begins from there. e.g., partialTriggers=":::commandButton1" the search begins for the component with id = commandButton1 after popping out of two naming containers relative to this component. To go into naming containers, you separate the naming containers with ':', e.g.,partialTriggers= "nc1:nc2:nc3:componentId".
public final void setPartialTriggers(String[] partialTriggers)
This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.
Separate multiple triggers with a space. e.g., partialTriggers="cmp1 cmp2"
Identifiers must account for NamingContainers. You can use a single colon to start the search from the root, or use multiple colons to move up through the NamingContainer. For example, "::" will pop out of this component's naming container (it pops out of itself if it is a naming container), ":::" will pop out of two naming containers, etc. The search for the partialTrigger begins from there. e.g., partialTriggers=":::commandButton1" the search begins for the component with id = commandButton1 after popping out of two naming containers relative to this component. To go into naming containers, you separate the naming containers with ':', e.g.,partialTriggers= "nc1:nc2:nc3:componentId".
partialTriggers
- the new partialTriggers valuepublic final String getOnclick()
public final void setOnclick(String onclick)
onclick
- the new onclick valuepublic final String getOndblclick()
public final void setOndblclick(String ondblclick)
ondblclick
- the new ondblclick valuepublic final String getOnmousedown()
public final void setOnmousedown(String onmousedown)
onmousedown
- the new onmousedown valuepublic final String getOnmouseup()
public final void setOnmouseup(String onmouseup)
onmouseup
- the new onmouseup valuepublic final String getOnmouseover()
public final void setOnmouseover(String onmouseover)
onmouseover
- the new onmouseover valuepublic final String getOnmousemove()
public final void setOnmousemove(String onmousemove)
onmousemove
- the new onmousemove valuepublic final String getOnmouseout()
public final void setOnmouseout(String onmouseout)
onmouseout
- the new onmouseout valuepublic final String getOnkeypress()
public final void setOnkeypress(String onkeypress)
onkeypress
- the new onkeypress valuepublic final String getOnkeydown()
public final void setOnkeydown(String onkeydown)
onkeydown
- the new onkeydown valuepublic final String getOnkeyup()
public final void setOnkeyup(String onkeyup)
onkeyup
- the new onkeyup valuepublic String getDefaultEventName()
UIXComponentBase
ClientBehaviorHolder
interface.
This method must only be called by classes that implement the interface, doing otherwise will result in an exception.
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class UIXComponentBase
ClientBehaviorHolder.getDefaultEventName()
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
public Map<String,List<javax.faces.component.behavior.ClientBehavior>> getClientBehaviors()
UIXComponentBase
ClientBehaviorHolder
interface.
This method must only be called by classes that implement the interface, doing otherwise will result in an exception.
getClientBehaviors
in interface javax.faces.component.behavior.ClientBehaviorHolder
getClientBehaviors
in class UIXComponentBase
ClientBehaviorHolder.getClientBehaviors()
public void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
UIXComponentBase
ClientBehaviorHolder
interface.
This method must only be called by classes that implement the interface, doing otherwise will result in an exception.
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class UIXComponentBase
eventName
- The event namebehavior
- The behavior to addClientBehaviorHolder.addClientBehavior(String, ClientBehavior)
protected FacesBean.Type getBeanType()
getBeanType
in class UIXPage
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.