Class ChartDataColumn
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIColumn
com.webmethods.caf.faces.component.output.ChartDataColumn
- All Implemented Interfaces:
IExtendedColumn
,EventListener
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Integer
static final String
protected static final Integer
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
encodeFooter
(FacesContext context) Renders this column's header.void
encodeHeader
(FacesContext context) Gets this control's per-row state.getAlign()
Horizontal alignment of column content ("left", "center", or "right").getColor()
getGroup()
Display title of column group (for Add/Remove Columns dialog, etc.).getLabel()
Display title of column (for Add/Remove Columns dialog, etc.).int
Primacy of this column in sorting the table.int
Primary column under which this secondary column ends (zero-based, inclusive).int
Primary column under which this secondary column starts (zero-based, inclusive).getSort()
Sort key for this column.Deprecated.Vertical alignment of column content ("top", "middle", or "bottom").getWidth()
Fixed width of column in pixels ('100') or percent ('100%').boolean
True to sort column from A-Z or 1-100.boolean
Returns whether the column is exportableboolean
isHidden()
True if column is data column (not displayed).boolean
isNowrap()
True if column should be as wide as widest line in column content.boolean
True if column displayed only after user chooses via Add/Remove Columns dialog.boolean
True if this column belongs in a sub-row beneath the main row.void
Horizontal alignment of column content ("left", "center", or "right").void
setAscending
(boolean ascending) True to sort column from A-Z or 1-100.void
void
setExportable
(boolean isExportable) Sets whether the column is exportablevoid
Display title of column group (for Add/Remove Columns dialog, etc.).void
setHidden
(boolean hidden) True if column is data column (not displayed).void
setItemValue
(Object itemValue) void
Display title of column (for Add/Remove Columns dialog, etc.).void
setNowrap
(boolean nowrap) True if column should be as wide as widest line in column content.void
setOptional
(boolean optional) True if column displayed only after user chooses via Add/Remove Columns dialog.void
setOrdinal
(int ordinal) Primacy of this column in sorting the table.void
setSecondary
(boolean secondary) True if this column belongs in a sub-row beneath the main row.void
setSecondaryEnd
(int secondaryEnd) Primary column under which this secondary column ends (zero-based, inclusive).void
setSecondaryStart
(int secondaryStart) Primary column under which this secondary column starts (zero-based, inclusive).void
Sort key for this column.void
setTooltip
(String toolTip) void
setToolTip
(String toolTip) Deprecated.usesetTooltip(String)
insteadvoid
Vertical alignment of column content ("top", "middle", or "bottom").void
Fixed width of column in pixels ('100') or percent ('100%').Methods inherited from class javax.faces.component.UIColumn
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, restoreState, 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
-
NEGATIVE_ONE
-
ZERO
-
TYPE
- See Also:
-
-
Constructor Details
-
ChartDataColumn
public ChartDataColumn()
-
-
Method Details
-
getFamily
-
encodeHeader
Gets this control's per-row state.- Specified by:
encodeHeader
in interfaceIExtendedColumn
- Parameters:
context
- Current context.- Throws:
IOException
-
getItemValue
-
setItemValue
-
getColor
-
setColor
-
getTooltip
-
setTooltip
-
getToolTip
Deprecated.usedgetTooltip()
instead -
setToolTip
Deprecated.usesetTooltip(String)
instead -
getAlign
Description copied from interface:IExtendedColumn
Horizontal alignment of column content ("left", "center", or "right").- Specified by:
getAlign
in interfaceIExtendedColumn
-
getGroup
Description copied from interface:IExtendedColumn
Display title of column group (for Add/Remove Columns dialog, etc.).- Specified by:
getGroup
in interfaceIExtendedColumn
-
getLabel
Description copied from interface:IExtendedColumn
Display title of column (for Add/Remove Columns dialog, etc.).- Specified by:
getLabel
in interfaceIExtendedColumn
-
getOrdinal
public int getOrdinal()Description copied from interface:IExtendedColumn
Primacy of this column in sorting the table. 0 = none, 1 = primary, 2 = secondary, etc.- Specified by:
getOrdinal
in interfaceIExtendedColumn
-
getSecondaryEnd
public int getSecondaryEnd()Description copied from interface:IExtendedColumn
Primary column under which this secondary column ends (zero-based, inclusive). -1 if not a secondary column.- Specified by:
getSecondaryEnd
in interfaceIExtendedColumn
-
getSecondaryStart
public int getSecondaryStart()Description copied from interface:IExtendedColumn
Primary column under which this secondary column starts (zero-based, inclusive). -1 if not a secondary column.- Specified by:
getSecondaryStart
in interfaceIExtendedColumn
-
getSort
Description copied from interface:IExtendedColumn
Sort key for this column.- Specified by:
getSort
in interfaceIExtendedColumn
-
getValign
Description copied from interface:IExtendedColumn
Vertical alignment of column content ("top", "middle", or "bottom").- Specified by:
getValign
in interfaceIExtendedColumn
-
getWidth
Description copied from interface:IExtendedColumn
Fixed width of column in pixels ('100') or percent ('100%').- Specified by:
getWidth
in interfaceIExtendedColumn
-
isAscending
public boolean isAscending()Description copied from interface:IExtendedColumn
True to sort column from A-Z or 1-100.- Specified by:
isAscending
in interfaceIExtendedColumn
-
isExportable
public boolean isExportable()Description copied from interface:IExtendedColumn
Returns whether the column is exportable- Specified by:
isExportable
in interfaceIExtendedColumn
- Returns:
- true or false
-
isHidden
public boolean isHidden()Description copied from interface:IExtendedColumn
True if column is data column (not displayed).- Specified by:
isHidden
in interfaceIExtendedColumn
-
isNowrap
public boolean isNowrap()Description copied from interface:IExtendedColumn
True if column should be as wide as widest line in column content.- Specified by:
isNowrap
in interfaceIExtendedColumn
-
isOptional
public boolean isOptional()Description copied from interface:IExtendedColumn
True if column displayed only after user chooses via Add/Remove Columns dialog.- Specified by:
isOptional
in interfaceIExtendedColumn
-
isSecondary
public boolean isSecondary()Description copied from interface:IExtendedColumn
True if this column belongs in a sub-row beneath the main row.- Specified by:
isSecondary
in interfaceIExtendedColumn
-
setAlign
Description copied from interface:IExtendedColumn
Horizontal alignment of column content ("left", "center", or "right").- Specified by:
setAlign
in interfaceIExtendedColumn
-
setAscending
public void setAscending(boolean ascending) Description copied from interface:IExtendedColumn
True to sort column from A-Z or 1-100.- Specified by:
setAscending
in interfaceIExtendedColumn
-
setExportable
public void setExportable(boolean isExportable) Description copied from interface:IExtendedColumn
Sets whether the column is exportable- Specified by:
setExportable
in interfaceIExtendedColumn
- Parameters:
isExportable
- true if the column is exportable, false otherwise
-
setGroup
Description copied from interface:IExtendedColumn
Display title of column group (for Add/Remove Columns dialog, etc.).- Specified by:
setGroup
in interfaceIExtendedColumn
-
setHidden
public void setHidden(boolean hidden) Description copied from interface:IExtendedColumn
True if column is data column (not displayed).- Specified by:
setHidden
in interfaceIExtendedColumn
-
setLabel
Description copied from interface:IExtendedColumn
Display title of column (for Add/Remove Columns dialog, etc.).- Specified by:
setLabel
in interfaceIExtendedColumn
-
setNowrap
public void setNowrap(boolean nowrap) Description copied from interface:IExtendedColumn
True if column should be as wide as widest line in column content.- Specified by:
setNowrap
in interfaceIExtendedColumn
-
setOptional
public void setOptional(boolean optional) Description copied from interface:IExtendedColumn
True if column displayed only after user chooses via Add/Remove Columns dialog.- Specified by:
setOptional
in interfaceIExtendedColumn
-
setOrdinal
public void setOrdinal(int ordinal) Description copied from interface:IExtendedColumn
Primacy of this column in sorting the table. 0 = none, 1 = primary, 2 = secondary, etc.- Specified by:
setOrdinal
in interfaceIExtendedColumn
-
setSecondary
public void setSecondary(boolean secondary) Description copied from interface:IExtendedColumn
True if this column belongs in a sub-row beneath the main row.- Specified by:
setSecondary
in interfaceIExtendedColumn
-
setSecondaryEnd
public void setSecondaryEnd(int secondaryEnd) Description copied from interface:IExtendedColumn
Primary column under which this secondary column ends (zero-based, inclusive). -1 if not a secondary column.- Specified by:
setSecondaryEnd
in interfaceIExtendedColumn
-
setSecondaryStart
public void setSecondaryStart(int secondaryStart) Description copied from interface:IExtendedColumn
Primary column under which this secondary column starts (zero-based, inclusive). -1 if not a secondary column.- Specified by:
setSecondaryStart
in interfaceIExtendedColumn
-
setSort
Description copied from interface:IExtendedColumn
Sort key for this column.- Specified by:
setSort
in interfaceIExtendedColumn
-
setValign
Description copied from interface:IExtendedColumn
Vertical alignment of column content ("top", "middle", or "bottom").- Specified by:
setValign
in interfaceIExtendedColumn
-
setWidth
Description copied from interface:IExtendedColumn
Fixed width of column in pixels ('100') or percent ('100%').- Specified by:
setWidth
in interfaceIExtendedColumn
-
getTooltip()
instead