|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.beans.table.TableStyle
A utility class to make it easier to format TableBeans. A TableStyle is constructed using a mask of formatting constants. Since TableStyles implement both DataObjectList and DataObject, they can be set directly as table, row, or column formats for simple formatting, or combined in other DataObjectLists for more advanced formatting.
This class also contains shared instances of the simplest TableStyles.
TableBean
Field Summary | |
static int |
COLUMN_BANDING_MASK
Mask value indicating that this TableStyle should specify column banding. |
static int |
DEFAULT_WRAP_MASK
Mask value indicating that this TableStyle should specify default wrapping on cells. |
static int |
HIDE_GRID_MASK
Mask value indicating that this TableStyle should not show a grid line. |
static int |
ICON_BUTTON_FORMAT_MASK
Mask value indicating that this TableStyle should specify an icon or button data type. |
static int |
NO_BANDING_MASK
Mask value indicating that this TableStyle should specify no banding. |
static int |
NO_WRAP_MASK
Mask value indicating that this TableStyle should specify no wrapping on cells. |
static int |
NUMBER_FORMAT_MASK
Mask value indicating that this TableStyle should specify a number data type. |
static int |
ROW_BANDING_MASK
Mask value indicating that this TableStyle should specify row banding. |
static int |
SHOW_GRID_MASK
Mask value indicating that this TableStyle should show a grid line. |
static int |
TEXT_FORMAT_MASK
Mask value indicating that this TableStyle should specify a text data type. |
Constructor Summary | |
TableStyle(int mask)
Create a TableStyle based on a mask of formatting constants. |
Method Summary | |
static TableStyle |
getColumnBandingFormat()
Retrive the TableStyle which, when queried, always signifies that a Table column has column banding. |
static TableStyle |
getDefaultWrapFormat()
Retrive the TableStyle which, when queried, always signifies that a Table cell has default text wrapping behavior. |
static TableStyle |
getHideGridFormat()
Retrive the TableStyle which, when queried, always signifies that a Table grid should not be rendered. |
static TableStyle |
getIconButtonFormat()
Retrive the TableStyle which, when queried, always signifies that a Table column has an icon or action button data type. |
DataObject |
getItem(int index)
Returns the DataObject at the index. |
int |
getLength()
Returns the number of items in the data set. |
static TableStyle |
getNoBandingFormat()
Retrive the TableStyle which, when queried, always signifies that a Table column has no banding. |
static TableStyle |
getNoWrapFormat()
Retrive the TableStyle which, when queried, always signifies that a Table cell has no wrapping. |
static TableStyle |
getNumberFormat()
Retrive the TableStyle which, when queried, always signifies that a Table column has a number data type. |
static TableStyle |
getRowBandingFormat()
Retrive the TableStyle which, when queried, always signifies that a Table column has row banding. |
static TableStyle |
getShowGridFormat()
Retrive the TableStyle which, when queried, always signifies that a Table grid should be rendered. |
static TableStyle |
getTextFormat()
Retrive the TableStyle which, when queried, always signifies that a Table column has a text data type. |
java.util.Enumeration |
keys(RenderingContext context)
|
java.lang.Object |
selectValue(RenderingContext context,
java.lang.Object select)
Given a select string, returns the value matching that selection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SHOW_GRID_MASK
public static final int HIDE_GRID_MASK
public static final int TEXT_FORMAT_MASK
public static final int NUMBER_FORMAT_MASK
public static final int ICON_BUTTON_FORMAT_MASK
public static final int ROW_BANDING_MASK
public static final int COLUMN_BANDING_MASK
public static final int NO_BANDING_MASK
public static final int NO_WRAP_MASK
public static final int DEFAULT_WRAP_MASK
Constructor Detail |
public TableStyle(int mask)
Method Detail |
public static TableStyle getShowGridFormat()
public static TableStyle getHideGridFormat()
public static TableStyle getTextFormat()
public static TableStyle getNumberFormat()
public static TableStyle getIconButtonFormat()
public static TableStyle getNoBandingFormat()
public static TableStyle getRowBandingFormat()
public static TableStyle getColumnBandingFormat()
public static TableStyle getDefaultWrapFormat()
public static TableStyle getNoWrapFormat()
public int getLength()
getLength
in interface DataObjectList
public DataObject getItem(int index)
getItem
in interface DataObjectList
public java.lang.Object selectValue(RenderingContext context, java.lang.Object select)
getDataSet()
.
selectValue
in interface DataObject
select
- a select criterion, syntax as defined by thepublic java.util.Enumeration keys(RenderingContext context)
keys
in interface KeyedDataObject
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |