public interface TableView
This object represents the view of a table either in the master view or in another data foundation view.
This interface provides a series of methods to define and retrieve the position, width, and display state of a table in a data foundation view. A table can have different positions, widths, and display states depending on the data foundation view.
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
Table |
getTable()
Returns the value of the 'Table' reference.
|
TableState |
getTableState()
Returns the value of the 'Table State' attribute.
|
int |
getWidth()
Returns the value of the 'Width' attribute.
|
int |
getX()
Returns the value of the 'X' attribute.
|
int |
getY()
Returns the value of the 'Y' attribute.
|
void |
setTable(Table value)
Sets the value of the '
Table' reference. |
void |
setTableState(TableState value)
Sets the value of the '
Table State' attribute. |
void |
setWidth(int value)
Sets the value of the '
Width' attribute. |
void |
setX(int value)
Sets the value of the '
X' attribute. |
void |
setY(int value)
Sets the value of the '
Y' attribute. |
Table getTable()
This is the data foundation table that the table view contains.
setTable(Table)void setTable(Table value)
Table' reference.
This is the data foundation table that the table view contains.
value - the new value of the 'Table' reference.getTable()TableState getTableState()
"EXPANDED".
The literals are from the enumeration TableState.
A table state represents the display state of a table in a view. Other
enum values are "COLLAPSED" and "JOINS_ONLY".
TableState,
setTableState(TableState)void setTableState(TableState value)
Table State' attribute.
A table state represents the display state of a table in a view. The default
value is "EXPANDED". Other enum values are "COLLAPSED"
and "JOINS_ONLY".
value - the new value of the 'Table State' attribute.TableState,
getTableState()int getX()
This integer represents the position of the table on the x-axis in the data foundation view. The unit is pixel.
setX(int)void setX(int value)
X' attribute.
This integer represents the position of the table on the x-axis in the data foundation view. It can be positive or negative, but negative values are not recommended. The unit is pixel.
Default value is "0". The position (x=0,y=0) places the table in the upper-left corner of the view.
value - the new value of the 'X' attribute.getX()int getY()
This integer represents the position of the table on the y-axis in the data foundation view. The unit is pixel.
setY(int)void setY(int value)
Y' attribute.
This integer represents the position of the table on the y-axis in the data foundation view. It can be positive or negative, but negative values are not recommended. The unit is pixel.
Default value is "0". The position (x=0,y=0) places the table in the upper-left corner of the view.
value - the new value of the 'Y' attribute.getY()int getWidth()
"-1".
This integer is the width of the table in the data foundation view. The unit is pixel.
setWidth(int)void setWidth(int value)
Width' attribute.
This integer is the width of the table in the data foundation view. The unit is pixel.
Default value is "-1". The table width will fit with the column name max length. All the names will be visible.
value - the new value of the 'Width' attribute.getWidth()