public class CoreChart extends UIXChart
Type | Phases | Description |
---|---|---|
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. |
UIXComponentBase.ComponentSystemEventListenerWrapper
CHART_DRILL_DOWN_LISTENER_KEY, VALUE_KEY
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Modifier | Constructor and Description |
---|---|
|
CoreChart()
Construct an instance of the CoreChart.
|
protected |
CoreChart(String rendererType)
Construct an instance of the CoreChart.
|
Modifier and Type | Method and Description |
---|---|
int |
getAnimationDuration()
Gets The duration of the animation for the chart components in milliseconds.
|
protected FacesBean.Type |
getBeanType() |
String |
getFamily() |
String |
getInlineStyle()
Gets the CSS styles to use for this component.
|
String |
getLegendPosition()
Gets Specified the location of the legend.
|
int |
getMaxPrecision()
Gets The maximum precision of the numbers displayed on the yAxis(xAxis for horizontal charts).
|
String[] |
getPartialTriggers()
Gets the IDs of the components that should trigger a partial update.
|
String |
getShortDesc()
Gets The short description of the component.
|
String |
getStyleClass()
Gets a CSS style class to use for this component.
|
String |
getTemplateSource()
Gets Specifies URI for the template document from which the chart elements are cloned.
|
String |
getType()
Gets The type of chart.
|
int |
getXMajorGridLineCount()
Gets This attribute controls the number of vertical major grid lines displayed in the chart.
|
int |
getYMajorGridLineCount()
Gets This attribute controls the number of horizontal major grid lines displayed in the chart.
|
int |
getYMinorGridLineCount()
Gets This attribute controls the number of minor grid lines displayed within a major grid section.
|
boolean |
isGradientsUsed()
Gets Specifies if gradients are used to display chart elements.
|
boolean |
isPerspective()
Gets Specifies if the chart is drawn with a perspective (2.5D).
|
boolean |
isTooltipsVisible()
Gets Specifies if tooltips are displayed or not.
|
void |
setAnimationDuration(int animationDuration)
Sets The duration of the animation for the chart components in milliseconds.
|
void |
setGradientsUsed(boolean gradientsUsed)
Sets Specifies if gradients are used to display chart elements.
|
void |
setInlineStyle(String inlineStyle)
Sets the CSS styles to use for this component.
|
void |
setLegendPosition(String legendPosition)
Sets Specified the location of the legend.
|
void |
setMaxPrecision(int maxPrecision)
Sets The maximum precision of the numbers displayed on the yAxis(xAxis for horizontal charts).
|
void |
setPartialTriggers(String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update.
|
void |
setPerspective(boolean perspective)
Sets Specifies if the chart is drawn with a perspective (2.5D).
|
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.
|
void |
setTemplateSource(String templateSource)
Sets Specifies URI for the template document from which the chart elements are cloned.
|
void |
setTooltipsVisible(boolean tooltipsVisible)
Sets Specifies if tooltips are displayed or not.
|
void |
setType(String type)
Sets The type of chart.
|
void |
setXMajorGridLineCount(int XMajorGridLineCount)
Sets This attribute controls the number of vertical major grid lines displayed in the chart.
|
void |
setYMajorGridLineCount(int YMajorGridLineCount)
Sets This attribute controls the number of horizontal major grid lines displayed in the chart.
|
void |
setYMinorGridLineCount(int YMinorGridLineCount)
Sets This attribute controls the number of minor grid lines displayed within a major grid section.
|
addChartDrillDownListener, broadcast, getChartDrillDownListener, getValue, removeChartDrillDownListener, setChartDrillDownListener, setValue
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, 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, getRendererType, 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, validateChildrenImpl
addPartialTarget, 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, visitTree
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public static final String TYPE_VERTICAL_BAR
public static final String TYPE_HORIZONTAL_BAR
public static final String TYPE_STACKED_VERTICAL_BAR
public static final String TYPE_STACKED_HORIZONTAL_BAR
public static final String TYPE_PIE
public static final String TYPE_AREA
public static final String TYPE_STACKED_AREA
public static final String TYPE_LINE
public static final String TYPE_BAR_LINE
public static final String TYPE_XYLINE
public static final String TYPE_SCATTER_PLOT
public static final String TYPE_RADAR
public static final String TYPE_RADAR_AREA
public static final String TYPE_FUNNEL
public static final String TYPE_CIRCULAR_GAUGE
public static final String TYPE_SEMI_CIRCULAR_GAUGE
public static final String LEGEND_POSITION_NONE
public static final String LEGEND_POSITION_BOTTOM
public static final String LEGEND_POSITION_END
public static final String LEGEND_POSITION_TOP
public static final String LEGEND_POSITION_START
public static final FacesBean.Type TYPE
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 TYPE_KEY
public static final PropertyKey TEMPLATE_SOURCE_KEY
public static final PropertyKey PERSPECTIVE_KEY
public static final PropertyKey LEGEND_POSITION_KEY
public static final PropertyKey ANIMATION_DURATION_KEY
public static final PropertyKey YMAJOR_GRID_LINE_COUNT_KEY
public static final PropertyKey YMINOR_GRID_LINE_COUNT_KEY
public static final PropertyKey XMAJOR_GRID_LINE_COUNT_KEY
public static final PropertyKey MAX_PRECISION_KEY
public static final PropertyKey GRADIENTS_USED_KEY
public static final PropertyKey TOOLTIPS_VISIBLE_KEY
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public CoreChart()
protected CoreChart(String rendererType)
public 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 getType()
public final void setType(String type)
type
- the new type valuepublic final String getTemplateSource()
public final void setTemplateSource(String templateSource)
templateSource
- the new templateSource valuepublic final boolean isPerspective()
public final void setPerspective(boolean perspective)
perspective
- the new perspective valuepublic final String getLegendPosition()
public final void setLegendPosition(String legendPosition)
legendPosition
- the new legendPosition valuepublic final int getAnimationDuration()
public final void setAnimationDuration(int animationDuration)
animationDuration
- the new animationDuration valuepublic final int getYMajorGridLineCount()
public final void setYMajorGridLineCount(int YMajorGridLineCount)
YMajorGridLineCount
- the new YMajorGridLineCount valuepublic final int getYMinorGridLineCount()
public final void setYMinorGridLineCount(int YMinorGridLineCount)
YMinorGridLineCount
- the new YMinorGridLineCount valuepublic final int getXMajorGridLineCount()
public final void setXMajorGridLineCount(int XMajorGridLineCount)
XMajorGridLineCount
- the new XMajorGridLineCount valuepublic final int getMaxPrecision()
public final void setMaxPrecision(int maxPrecision)
maxPrecision
- the new maxPrecision valuepublic final boolean isGradientsUsed()
public final void setGradientsUsed(boolean gradientsUsed)
gradientsUsed
- the new gradientsUsed valuepublic final boolean isTooltipsVisible()
public final void setTooltipsVisible(boolean tooltipsVisible)
tooltipsVisible
- the new tooltipsVisible valueprotected FacesBean.Type getBeanType()
getBeanType
in class UIXChart
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.