public class ChartDataColumn extends UIColumn implements IExtendedColumn
Modifier and Type | Field and Description |
---|---|
protected static Integer |
NEGATIVE_ONE |
static String |
TYPE |
protected static Integer |
ZERO |
COMPONENT_FAMILY, COMPONENT_TYPE
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 and Description |
---|
ChartDataColumn() |
Modifier and Type | Method and Description |
---|---|
void |
encodeFooter(FacesContext context)
Renders this column's header.
|
void |
encodeHeader(FacesContext context)
Gets this control's per-row state.
|
String |
getAlign()
Horizontal alignment of column content
("left", "center", or "right").
|
String |
getColor() |
String |
getFamily() |
String |
getGroup()
Display title of column group
(for Add/Remove Columns dialog, etc.).
|
Object |
getItemValue() |
String |
getLabel()
Display title of column
(for Add/Remove Columns dialog, etc.).
|
int |
getOrdinal()
Primacy of this column in sorting the table.
|
int |
getSecondaryEnd()
Primary column under which this secondary column ends
(zero-based, inclusive).
|
int |
getSecondaryStart()
Primary column under which this secondary column starts
(zero-based, inclusive).
|
Object |
getSort()
Sort key for this column.
|
String |
getTooltip() |
String |
getToolTip()
Deprecated.
used
getTooltip() instead |
String |
getValign()
Vertical alignment of column content
("top", "middle", or "bottom").
|
String |
getWidth()
Fixed width of column in pixels ('100') or percent ('100%').
|
boolean |
isAscending()
True to sort column from A-Z or 1-100.
|
boolean |
isExportable()
Returns whether the column is exportable
|
boolean |
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 |
isOptional()
True if column displayed only after user chooses via Add/Remove Columns dialog.
|
boolean |
isSecondary()
True if this column belongs in a sub-row beneath the main row.
|
void |
setAlign(String align)
Horizontal alignment of column content
("left", "center", or "right").
|
void |
setAscending(boolean ascending)
True to sort column from A-Z or 1-100.
|
void |
setColor(String color) |
void |
setExportable(boolean isExportable)
Sets whether the column is exportable
|
void |
setGroup(String group)
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 |
setLabel(String bale)
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 |
setSort(Object sort)
Sort key for this column.
|
void |
setTooltip(String toolTip) |
void |
setToolTip(String toolTip)
Deprecated.
use
setTooltip(String) instead |
void |
setValign(String valign)
Vertical alignment of column content
("top", "middle", or "bottom").
|
void |
setWidth(String width)
Fixed width of column in pixels ('100') or percent ('100%').
|
getFooter, getHeader, setFooter, setHeader
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
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
protected static final Integer NEGATIVE_ONE
protected static final Integer ZERO
public static final String TYPE
public void encodeHeader(FacesContext context) throws IOException
encodeHeader
in interface IExtendedColumn
context
- Current context.IOException
public void encodeFooter(FacesContext context) throws IOException
IExtendedColumn
encodeFooter
in interface IExtendedColumn
context
- Current context.IOException
public Object getItemValue()
public void setItemValue(Object itemValue)
public String getColor()
public void setColor(String color)
public String getTooltip()
public void setTooltip(String toolTip)
@Deprecated public String getToolTip()
getTooltip()
instead@Deprecated public void setToolTip(String toolTip)
setTooltip(String)
insteadpublic String getAlign()
IExtendedColumn
getAlign
in interface IExtendedColumn
public String getGroup()
IExtendedColumn
getGroup
in interface IExtendedColumn
public String getLabel()
IExtendedColumn
getLabel
in interface IExtendedColumn
public int getOrdinal()
IExtendedColumn
getOrdinal
in interface IExtendedColumn
public int getSecondaryEnd()
IExtendedColumn
getSecondaryEnd
in interface IExtendedColumn
public int getSecondaryStart()
IExtendedColumn
getSecondaryStart
in interface IExtendedColumn
public Object getSort()
IExtendedColumn
getSort
in interface IExtendedColumn
public String getValign()
IExtendedColumn
getValign
in interface IExtendedColumn
public String getWidth()
IExtendedColumn
getWidth
in interface IExtendedColumn
public boolean isAscending()
IExtendedColumn
isAscending
in interface IExtendedColumn
public boolean isExportable()
IExtendedColumn
isExportable
in interface IExtendedColumn
public boolean isHidden()
IExtendedColumn
isHidden
in interface IExtendedColumn
public boolean isNowrap()
IExtendedColumn
isNowrap
in interface IExtendedColumn
public boolean isOptional()
IExtendedColumn
isOptional
in interface IExtendedColumn
public boolean isSecondary()
IExtendedColumn
isSecondary
in interface IExtendedColumn
public void setAlign(String align)
IExtendedColumn
setAlign
in interface IExtendedColumn
public void setAscending(boolean ascending)
IExtendedColumn
setAscending
in interface IExtendedColumn
public void setExportable(boolean isExportable)
IExtendedColumn
setExportable
in interface IExtendedColumn
isExportable
- true if the column is exportable, false otherwisepublic void setGroup(String group)
IExtendedColumn
setGroup
in interface IExtendedColumn
public void setHidden(boolean hidden)
IExtendedColumn
setHidden
in interface IExtendedColumn
public void setLabel(String bale)
IExtendedColumn
setLabel
in interface IExtendedColumn
public void setNowrap(boolean nowrap)
IExtendedColumn
setNowrap
in interface IExtendedColumn
public void setOptional(boolean optional)
IExtendedColumn
setOptional
in interface IExtendedColumn
public void setOrdinal(int ordinal)
IExtendedColumn
setOrdinal
in interface IExtendedColumn
public void setSecondary(boolean secondary)
IExtendedColumn
setSecondary
in interface IExtendedColumn
public void setSecondaryEnd(int secondaryEnd)
IExtendedColumn
setSecondaryEnd
in interface IExtendedColumn
public void setSecondaryStart(int secondaryStart)
IExtendedColumn
setSecondaryStart
in interface IExtendedColumn
public void setSort(Object sort)
IExtendedColumn
setSort
in interface IExtendedColumn
public void setValign(String valign)
IExtendedColumn
setValign
in interface IExtendedColumn
public void setWidth(String width)
IExtendedColumn
setWidth
in interface IExtendedColumn