Methods Summary |
---|
public void | addCellAddedListener(TableCellAddedListener listener)Adds a listener that triggers when a TableCell that belongs to this column
is being added.
|
public void | addCellDisposeListener(TableCellDisposeListener listener)Adds a listener that triggers when a TableCell that belongs to this column
is being disposed.
|
public void | addCellMouseListener(TableCellMouseListener listener)Adds a listener that triggers when a TableCell that belongs to this column
has a mouse event.
|
public void | addCellRefreshListener(TableCellRefreshListener listener)Adds a listener that triggers when a TableCell that belongs to this column
needs refreshing.
|
public void | addCellToolTipListener(TableCellToolTipListener listener)Adds a listener that triggers when a TableCell that belongs to this column
has a tooltip action
|
public TableContextMenuItem | addContextMenuItem(java.lang.String resourceKey)Adds a Context Menu item to the "This Column" sub menu
|
public void | addListeners(java.lang.Object listenerObject)A listener is added for every type of cell listener the supplied object
implements
|
public int | getAlignment()Returns the alignment of the column
|
public int | getMaxWidth()Gets the maximum width the column can be
Not all UIs may have this feature implemented.
|
public int | getMinWidth()Gets the minimum width that the column can be before other columns
start collapsing.
If not set, the width specified on initialize will be the minimum width
Not all UIs may have this feature implemented.
|
public java.lang.String | getName()The logical name of the column. This was set via
{@link TableManager#createColumn} and can not be changed.
|
public int | getPosition()Returns the position of the column
|
public int | getPreferredWidth()Gets the preferred width of the coloumn.
|
public int | getRefreshInterval()Returns the refresh interval of the column.
The default is INTERVAL_INVALID_ONLY
|
public java.lang.String | getTableID()Which table the column will be visible in. This was set via
{@link TableManager#createColumn} and can not be changed.
|
public int | getType()Returns the type of the contained data.
|
public int | getWidth()Returns the column's size
|
public void | initialize(int iAlignment, int iPosition, int iWidth, int iInterval)Initialize a group of variables all at once. Saves on individual setXxx.
|
public void | initialize(int iAlignment, int iPosition, int iWidth)Initialize a group of variables all at once. Saves on individual setXxx.
|
public void | invalidateCell(java.lang.Object data_source)Invalidates any cells which are linked to the given data source object.
|
public void | invalidateCells()Invalidate all cells in this column. The cells will be forced to
update on the next refresh.
|
public boolean | isMaxWidthAuto()Retrieve whether the max width is automatically being set.
|
public boolean | isMinWidthAuto()Retrieve whether the min width is automatically being set
|
public boolean | isObfusticated()Returns whether the column's data will be obfusticated when screen
capturing (for bug reports, etc).
Currently not fully implemented for plugins
|
public boolean | isPreferredWidthAuto()Retrieves whether the preferred width is automatically calculated.
|
public boolean | isVisible()Gets the visibility of the column
Not all UIs may have this feature implemented.
|
public void | removeCellAddedListener(TableCellAddedListener listener)
|
public void | removeCellDisposeListener(TableCellDisposeListener listener)
|
public void | removeCellMouseListener(TableCellMouseListener listener)Remove a previously added TableCellMouseListener
|
public void | removeCellRefreshListener(TableCellRefreshListener listener)Removed a previously added TableCellRefreshListener
|
public void | removeCellToolTipListener(TableCellToolTipListener listener)
|
public void | setAlignment(int alignment)Orientation of the columns text and header.
NOTE: This MUST be set BEFORE adding the column to a table.
|
public void | setMaxWidth(int maxwidth)Sets the maximum width that the column can be
Not all UIs may have this feature implemented.
|
public void | setMaxWidthAuto(boolean automaxwidth)Sets whether the max width is automatically set. Depending on the UI,
automatically setting the max width usually results in the maximum width
being grown to fit the largest text set for any cell (past or present).
Therefore, the column will never grow larger than the largest text it
contains or contained.
|
public void | setMinWidth(int minwidth)Sets the minimum width that the column can be before other columns
start collapsing. This may not prevent the user from resizing the column
smaller than specified.
If not set, the width specified on initialize will be the minimum width
Not all UIs may have this feature implemented.
|
public void | setMinWidthAuto(boolean autowidth)Sets whether the min width of the column is automatically set. Depending
on the UI, automatically setting the min width usually results in the
column never shrinking below the maximum text width ever encountered.
|
public void | setObfustication(boolean hideData)Sets whether the column's data will be obfusticated during a screen
capture (for bug reports, etc).
|
public void | setPosition(int position)Location to put the column. When set before being added to the UI
(see {@link TableManager#addColumn}), the supplied value will be used
as the default position. If the user has moved the column previously,
the new position will be used, and the default position will be ignored.
This function cannot be called after you have added the column to a UI
table. In the future, setting the position after adding the column to the
UI table will result in the column being moved.
|
public void | setPreferredWidth(int width)Sets the preferred width of the column. When the UI is in auto-expand
mode and space is made available, the columns will first fill to their
preferred width, then to their maximum width.
|
public void | setPreferredWidthAuto(boolean auto)Sets whether the preferred with is automatically calculated. An
automatically calculated preferred width will be set to the largest
text width known to that column
|
public void | setRefreshInterval(int interval)Set how often the cell receives a refresh() trigger
|
public void | setType(int type)The type of the contained data.
Current supported types are long, string, and graphic.
NOTE: This MUST be set BEFORE adding the column to a table.
The default type is {@link #TYPE_TEXT_ONLY}.
|
public void | setVisible(boolean visible)Sets the visibility of the column
|
public void | setWidth(int width)The column size.
NOTE: This MUST be set BEFORE adding the column to a table.
|
public void | setWidthLimits(int min, int max)Sets the minimum and maximum widths in one call
Not all UIs may have this min and max limits implemented.
|