public class Legend
extends org.apache.myfaces.trinidad.component.UIXComponentBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOMIZATION_ID_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DONT_PERSIST_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ICON_LABELS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ICONS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INLINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
KEYS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LABELS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
PERSIST_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ROWS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_CLASS_KEY |
static java.lang.String |
TIMEZONE_TOKEN |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VALUE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISIBLE_KEY |
| Constructor and Description |
|---|
Legend()
Constructs an instance of the Legend.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttributeChange(java.lang.String attributeName,
java.lang.Object attributeValue) |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Gets the bean type to use
|
java.lang.String |
getCustomizationId()
Deprecated.
The 'id' attribute should be used when applying persistent customizations.
This attribute will be removed in the next release.
|
java.lang.String[] |
getDontPersist()
Gets List of persistent attributes that are restricted from persisting to a
registered "Persistent Change Manager".
|
java.lang.String |
getFamily() |
java.lang.String[] |
getIconLabels()
Retrieves the label for the icons in the Legend.
|
java.lang.String[] |
getIcons()
Retrieves the path of the icons in the Legend.
|
java.lang.String |
getInlineStyle()
Gets the CSS styles to use for this component.
|
java.lang.String[] |
getKeys()
Retrieves the data object keys used to populate the legend.
|
java.lang.String[] |
getLabels()
Retrieves the labels for the legend keys specified by the user.
|
java.lang.String[] |
getPersist()
Gets List of persistent attributes that are persisting to a registered
"Persistent Change Manager".
|
java.lang.String |
getRendererType() |
int |
getRows()
Retrieves the maximum number of rows the legend will display.
|
java.lang.String |
getStyleClass()
Gets a CSS style class to use for this component.
|
java.lang.Object |
getValue()
Retrieves the selected task rendered in the legend.
|
boolean |
isVisible()
Gets whether the legend is visible.
|
void |
setCustomizationId(java.lang.String customizationId)
Deprecated.
The 'id' attribute should be used when applying persistent customizations.
This attribute will be removed in the next release.
|
void |
setDontPersist(java.lang.String[] dontPersist)
Sets List of persistent attributes that are restricted from persisting to a
registered "Persistent Change Manager".
|
void |
setIconLabels(java.lang.String[] labels)
Specifies the label for the icons in the Legend.
|
void |
setIcons(java.lang.String[] icons)
Specifies the path of the icons to show in the Legend.
|
void |
setInlineStyle(java.lang.String inlineStyle)
Sets the CSS styles to use for this component.
|
void |
setKeys(java.lang.String[] keys)
Specifies the data object keys used to populate the legend.
|
void |
setLabels(java.lang.String[] labels)
Specifies the labels for the legend keys specified by the user.
|
void |
setPersist(java.lang.String[] persist)
Sets List of persistent attributes that are persisting to a registered
"Persistent Change Manager".
|
void |
setRows(int rows)
Specifies the maximum number of rows the legend will display.
|
void |
setStyleClass(java.lang.String styleClass)
Sets a CSS style class to use for this component.
|
void |
setValue(java.lang.Object value)
Specifies the selected task rendered in the legend.
|
void |
setVisible(boolean visible)
Specifies the visibility of the legend.
|
adaptMethodBinding, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getPassThroughAttributes, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpladdPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTreeencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey VALUE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ICONS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ICON_LABELS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey KEYS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LABELS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey PERSIST_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DONT_PERSIST_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ROWS_KEY
@Concealed public static final java.lang.String TIMEZONE_TOKEN
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic java.lang.String getFamily()
getFamily in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic java.lang.String getRendererType()
getRendererType in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic final java.lang.String getInlineStyle()
public final void setInlineStyle(java.lang.String inlineStyle)
inlineStyle - the new inlineStyle valuepublic final java.lang.String getStyleClass()
public final void setStyleClass(java.lang.String styleClass)
styleClass - the new styleClass valuepublic final java.lang.String[] getPersist()
public final void setPersist(java.lang.String[] persist)
persist - the new list of persist valuespublic final java.lang.String[] getDontPersist()
public final void setDontPersist(java.lang.String[] dontPersist)
dontPersist - the new list of dontPersist values@Deprecated public final java.lang.String getCustomizationId()
@Deprecated public final void setCustomizationId(java.lang.String customizationId)
customizationId - the new customizationId valuepublic final java.lang.Object getValue()
setValue(java.lang.Object)public final void setValue(java.lang.Object value)
value - The selected task rendered in the legend.getValue()public final java.lang.String[] getIcons()
public final void setIcons(java.lang.String[] icons)
icons - the path of the icons in the Legend.public final java.lang.String[] getIconLabels()
public final void setIconLabels(java.lang.String[] labels)
labels - the label for the icons in the Legend.public final java.lang.String[] getKeys()
setKeys(java.lang.String[])public final void setKeys(java.lang.String[] keys)
keys - The data object keys used to populate the legend.getKeys()public final java.lang.String[] getLabels()
setLabels(java.lang.String[]),
setKeys(java.lang.String[])public final void setLabels(java.lang.String[] labels)
labels - The labels for the legend keys.setKeys(java.lang.String[])public final boolean isVisible()
true if the legend is visible. false otherwise.public final void setVisible(boolean visible)
visible - true to set the legend visible. false otherwise.public final int getRows()
setRows(int)public final void setRows(int rows)
rows - The maximum number of rows the legend will display.getRows()protected void addAttributeChange(java.lang.String attributeName,
java.lang.Object attributeValue)
addAttributeChange in class org.apache.myfaces.trinidad.component.UIXComponentBase