public interface Column
Modifier and Type | Interface and Description |
---|---|
static interface |
Column.Localizer
A utility for localizing cell values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlt()
Returns the alt text.
|
java.lang.String |
getAttribute()
Returns the name of the attribute whose value is referenced by the
expression.
|
AttributeInfo |
getAttributeInfo()
Returns the associated attribute info, if this column applies to an
attribute.
|
int |
getAttributeType()
Returns the attribute's data type if the expression references an
attribute.
|
CellRenderer |
getCellRenderer(java.lang.Class<? extends CellRenderer> type)
Returns the cell renderer of the specified type.
|
DataHandler |
getDataHandler()
Returns the datahandler instance.
|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getExpression()
Returns the expression used to retrieve the column values.
|
java.lang.String |
getGroupHeader()
Returns the group header.
|
java.lang.String |
getGroupHeaderBGColor()
Returns the background color of group header.
|
java.lang.String |
getHref()
Returns the column's href.
|
java.lang.String |
getLabel()
Returns the column label.
|
java.util.Locale |
getLocale()
Returns the locale of this column.
|
Column.Localizer |
getLocalizer()
This method will return a localized version of a cell value.
|
java.lang.String |
getName()
Returns the name of the column.
|
RangeHandler |
getRangeHandler()
Returns the
RangeHandler for this column. |
java.lang.String |
getRangeHref()
Returns the column's range href.
|
java.util.List<RangeValue> |
getRangeValues()
Returns a list of range values available when editing the column's
values.
|
ColumnSettings |
getSettings()
Returns a view of the
settings . |
SortType |
getSortType()
Returns the column's sort type.
|
Table |
getTable()
Returns the
Table , which this column is a part of. |
java.lang.String |
getUpdateURL()
Returns the column's update URL.
|
boolean |
hasEditAccess()
Returns true if the user has edit access to this column.
|
boolean |
isAttributeExpression()
Returns whether the expression references an attribute's value or not.
|
boolean |
isFixed()
Returns true if the column is fixed.
|
boolean |
isMultiline()
Returns whether the column is multiline or not.
|
boolean |
isVisible()
Returns whether the column is visible or not
|
void |
setFixed(boolean fixed)
Sets if this column should be fixed or not.
|
void |
setVisible(boolean visible)
Sets the visibility of the column
|
void |
updateRangeValues()
Updates the range values if necessary.
|
boolean |
usesBusinessObject()
Returns whether the column uses business objects or not.
|
boolean |
usesRelationship()
Returns whether the column uses relationships or not.
|
java.lang.String getHref()
boolean usesBusinessObject()
boolean usesRelationship()
java.lang.String getExpression()
boolean isAttributeExpression()
boolean hasEditAccess()
java.lang.String getAttribute()
getExpression()
,
isAttributeExpression()
int getAttributeType()
unknown
.AttributeInfo getAttributeInfo()
boolean isVisible()
void setVisible(boolean visible)
visible
- True for visiblejava.lang.String getName()
java.lang.String getRangeHref()
java.lang.String getUpdateURL()
SortType getSortType()
java.util.List<RangeValue> getRangeValues()
boolean isMultiline()
java.util.Locale getLocale()
void updateRangeValues() throws TVCException
TVCException
Column.Localizer getLocalizer()
DataHandler getDataHandler()
ColumnSettings getSettings()
settings
.java.lang.String getLabel()
java.lang.String getAlt()
java.lang.String getGroupHeader()
java.lang.String getGroupHeaderBGColor()
java.lang.String getDescription()
CellRenderer getCellRenderer(java.lang.Class<? extends CellRenderer> type)
type
- The type of cell renderer to returnvoid setFixed(boolean fixed)
fixed
- True if fixed, otherwise false.boolean isFixed()
RangeHandler getRangeHandler()
RangeHandler
for this column. The range handler is
used internally to accuire the range values for a column.RangeHandler
for this column.Copyright ? Technia AB. All Rights Reserved.