This class represents the table rendered on the canvas. It implements custom rendering
of a table similar to swing's JTable
author: Ritesh Adval author: Jonathan Giron
Inner Class :class ColumnPropertySupport
Inner Class :class TableTitleArea extends TitleArea
setBoundingRect(int left, int top, int width, int height) Sets the bounding rectangle and ensure it does not resize below a certain width and
beyond a fixed height, depending on expanded state.
abstractpublic void
setConditionIcons() Sets the condition filter icon in the graph table.
Creates a new instance of SQLBasicTableArea
Parameters: table - the table to render Parameters: icon - icon for this table Parameters: tableType - type of this table (input, output, both)
Removes the child data object.
Parameters: obj - child data object
removeColumn
public void removeColumn(SQLDBColumn column) throws BaseException(Code)
If column is visible then we remove the model.removeColumn actually remove the
column from its parent table otherwise it just make it invisible in the table node
so that later it can be made visible at the same position in the table graph node
if you just want to hide table in graph node make sure to set the visible attr in
column to false before calling this method otherwise that column will actually be
removed permanently from table
removeColumnReference
public void removeColumnReference(SQLDBColumn column) throws BaseException(Code)
public void setBoundingRect(int left, int top, int width, int height)(Code)
Sets the bounding rectangle and ensure it does not resize below a certain width and
beyond a fixed height, depending on expanded state.
Parameters: left - new x-location of upper-left-hand corner of object Parameters: top - new y-location of upper-left-hand corner of object Parameters: width - width of object Parameters: height - height of object