|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aelitis.azureus.ui.common.table.impl.TableColumnImpl
public class TableColumnImpl
Table Column definition and modification routines. Implements both the plugin API and the core API.
A column is defined in relation to a table. When one column is in multiple tables of different table ids, each table has it's own column instance
TableColumnManager| Field Summary | |
|---|---|
protected AEMonitor |
this_mon
|
| Fields inherited from interface org.gudy.azureus2.plugins.ui.tables.TableColumn |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEAD, ALIGN_TOP, ALIGN_TRAIL, CAT_BYTES, CAT_CONNECTION, CAT_CONTENT, CAT_ESSENTIAL, CAT_PEER_IDENTIFICATION, CAT_PROGRESS, CAT_PROTOCOL, CAT_SETTINGS, CAT_SHARING, CAT_SWARM, CAT_TIME, CAT_TRACKER, INTERVAL_GRAPHIC, INTERVAL_INVALID_ONLY, INTERVAL_LIVE, MENU_STYLE_COLUMN_DATA, MENU_STYLE_HEADER, POSITION_INVISIBLE, POSITION_LAST, TYPE_GRAPHIC, TYPE_TEXT, TYPE_TEXT_ONLY, UD_FORCE_VISIBLE |
| Constructor Summary | |
|---|---|
TableColumnImpl(java.lang.String tableID,
java.lang.String columnID)
|
|
| Method Summary | |
|---|---|
void |
addCellAddedListener(TableCellAddedListener listener)
Adds a listener that triggers when a TableCell that belongs to this column is being added. |
void |
addCellClipboardListener(TableCellClipboardListener listener)
|
void |
addCellDisposeListener(TableCellDisposeListener listener)
Adds a listener that triggers when a TableCell that belongs to this column is being disposed. |
void |
addCellMouseListener(TableCellMouseListener listener)
Adds a listener that triggers when a TableCell that belongs to this column has a mouse event. |
void |
addCellMouseMoveListener(TableCellMouseMoveListener listener)
|
void |
addCellOtherListener(java.lang.String listenerID,
java.lang.Object listener)
|
void |
addCellRefreshListener(TableCellRefreshListener listener)
Adds a listener that triggers when a TableCell that belongs to this column needs refreshing. |
void |
addCellToolTipListener(TableCellToolTipListener listener)
Adds a listener that triggers when a TableCell that belongs to this column has a tooltip action |
void |
addCellVisibilityListener(TableCellVisibilityListener listener)
|
void |
addColumnExtraInfoListener(TableColumnExtraInfoListener listener)
|
TableContextMenuItem |
addContextMenuItem(java.lang.String key)
Adds a Context Menu item to data section of the column |
TableContextMenuItem |
addContextMenuItem(java.lang.String key,
int menuStyle)
Adds a Context Menu item to the column |
void |
addDataSourceType(java.lang.Class<?> cla)
|
void |
addDataSourceTypes(java.lang.Class[] datasourceTypes)
|
void |
addListeners(java.lang.Object listenerObject)
A listener is added for every type of cell listener the supplied object implements |
void |
addRefreshTime(long ms)
|
int |
compare(java.lang.Object arg0,
java.lang.Object arg1)
|
boolean |
doesAutoTooltip()
|
void |
generateDiagnostics(IndentWriter writer)
|
int |
getAlignment()
Returns the alignment of the column |
java.util.List |
getCellAddedListeners()
Retreive all the Cell Added listeners |
java.lang.Object[] |
getCellOtherListeners(java.lang.String listenerID)
|
java.util.List<TableCellRefreshListener> |
getCellRefreshListeners()
Retrieve all the refresh listeners for the cell |
java.lang.String |
getClipboardText(TableCell cell)
|
boolean |
getColumnAdded()
Retrieve whether the column has been added to the TableColumnManager |
java.util.List<TableColumnExtraInfoListener> |
getColumnExtraInfoListeners()
|
int |
getConsecutiveErrCount()
|
TableContextMenuItem[] |
getContextMenuItems(int menuStyle)
|
java.lang.Class |
getForDataSourceType()
|
java.lang.Class[] |
getForDataSourceTypes()
|
java.lang.String |
getIconReference()
|
TableCellInplaceEditorListener |
getInplaceEditorListener()
|
long |
getLastSortValueChange()
|
int |
getMaxWidth()
Gets the maximum width the column can be |
int |
getMinWidth()
Gets the minimum width that the column can be before other columns start collapsing. |
java.lang.String |
getName()
The logical name of the column. |
java.lang.String |
getNameOverride()
Returns the user's column name override if it exists |
int |
getPosition()
Returns the position of the column |
int |
getPreferredWidth()
Gets the preferred width of the coloumn. |
int |
getPreferredWidthMax()
|
int |
getRefreshInterval()
Returns the refresh interval of the column. |
java.lang.String |
getTableID()
Which table the column will be visible in. |
java.lang.String |
getTitleLanguageKey()
Returns the key in the properties bundle that has the title of the column. |
java.lang.String |
getTitleLanguageKey(boolean with_renames)
|
int |
getType()
Returns the type of the contained data. |
boolean |
getUseCoreDataSource()
Retrieve whether a core or plugin object is sent via getDataSource() |
java.lang.Object |
getUserData(java.lang.String key)
|
java.lang.String |
getUserDataString(java.lang.String key)
|
int |
getWidth()
Returns the column's size |
boolean |
handlesDataSourceType(java.lang.Class<?> cla)
|
boolean |
hasCellMouseMoveListener()
|
boolean |
hasCellOtherListeners(java.lang.String listenerID)
|
boolean |
hasCellRefreshListener()
|
boolean |
hasInplaceEditorListener()
|
void |
initialize(int iAlignment,
int iPosition,
int iWidth)
Initialize a group of variables all at once. |
void |
initialize(int iAlignment,
int iPosition,
int iWidth,
int iInterval)
Initialize a group of variables all at once. |
void |
invalidateCell(java.lang.Object data_source)
Invalidates any cells which are linked to the given data source object. |
void |
invalidateCells()
Invalidate all cells in this column. |
void |
invokeCellAddedListeners(TableCell cell)
Send a cellAdded trigger to all listeners stored in TableColumn |
void |
invokeCellDisposeListeners(TableCell cell)
Send a dispose trigger to all listeners stored in TableColumn |
void |
invokeCellMouseListeners(TableCellMouseEvent event)
Send a mouse event to the cell mouse listeners |
void |
invokeCellRefreshListeners(TableCell cell,
boolean fastRefresh)
Send a refresh trigger to all listeners stored in TableColumn |
void |
invokeCellToolTipListeners(TableCellCore cell,
int type)
Send a tool tip event to the tool tip listeners |
void |
invokeCellVisibilityListeners(TableCellCore cell,
int visibility)
Send a visibility event to the cell's visibility listeners |
boolean |
isFirstLoad()
|
boolean |
isMaxWidthAuto()
Retrieve whether the max width is automatically being set. |
boolean |
isMinWidthAuto()
Retrieve whether the min width is automatically being set |
boolean |
isObfusticated()
Returns whether the column's data will be obfusticated when screen capturing (for bug reports, etc). |
boolean |
isPreferredWidthAuto()
Retrieves whether the preferred width is automatically calculated. |
boolean |
isRemoved()
|
boolean |
isSortAscending()
|
boolean |
isSortValueLive()
|
boolean |
isVisible()
Gets the visibility of the column |
void |
loadSettings(java.util.Map mapSettings)
Load width and position settings from config. |
void |
postConfigLoad()
implement this method if you want to be notified when the stored column configuration such as user data or GUI-adjustable properties have been loaded |
void |
preAdd()
|
void |
preConfigSave()
implement this method if you want to be notified when the column configuration is about to be serialized |
void |
remove()
|
void |
removeCellAddedListener(TableCellAddedListener listener)
|
void |
removeCellClipboardListener(TableCellClipboardListener listener)
|
void |
removeCellDisposeListener(TableCellDisposeListener listener)
|
void |
removeCellMouseListener(TableCellMouseListener listener)
Remove a previously added TableCellMouseListener |
void |
removeCellMouseMoveListener(TableCellMouseMoveListener listener)
|
void |
removeCellOtherListener(java.lang.String listenerID,
java.lang.Object l)
|
void |
removeCellRefreshListener(TableCellRefreshListener listener)
Removed a previously added TableCellRefreshListener |
void |
removeCellToolTipListener(TableCellToolTipListener listener)
|
void |
removeCellVisibilityListener(TableCellVisibilityListener listener)
|
void |
removeColumnExtraInfoListener(TableColumnExtraInfoListener listener)
|
void |
removeContextMenuItem(TableContextMenuItem menuItem)
|
void |
removeUserData(java.lang.String key)
|
void |
reset()
|
void |
saveSettings(java.util.Map mapSettings)
Save width and position settings to config. |
void |
setAlignment(int alignment)
Orientation of the columns text and header. |
void |
setAutoTooltip(boolean auto_tooltip)
|
void |
setColumnAdded()
Set the internal flag specifying whether the column has been added to the TableColumnManager. |
void |
setConsecutiveErrCount(int iCount)
|
void |
setDefaultSortAscending(boolean bAscending)
|
void |
setIconReference(java.lang.String iconID,
boolean showOnlyIcon)
|
void |
setInplaceEditorListener(TableCellInplaceEditorListener l)
|
void |
setLastSortValueChange(long lastSortValueChange)
|
void |
setMaxWidth(int maxwidth)
Sets the maximum width that the column can be |
void |
setMaxWidthAuto(boolean automaxwidth)
Sets whether the max width is automatically set. |
void |
setMinimumRequiredUserMode(int mode)
*since 4501 |
void |
setMinWidth(int minwidth)
Sets the minimum width that the column can be before other columns start collapsing. |
void |
setMinWidthAuto(boolean autominwidth)
Sets whether the min width of the column is automatically set. |
void |
setNameOverride(java.lang.String name)
|
void |
setObfustication(boolean hideData)
Sets whether the column's data will be obfusticated during a screen capture (for bug reports, etc). |
void |
setPosition(int position)
Location to put the column. |
void |
setPositionNoShift(int position)
Sets the position of the column without adjusting the other columns. |
void |
setPreferredWidth(int width)
Sets the preferred width of the column. |
void |
setPreferredWidthAuto(boolean auto)
Sets whether the preferred with is automatically calculated. |
void |
setPreferredWidthMax(int maxprefwidth)
|
void |
setRefreshInterval(int interval)
Set how often the cell receives a refresh() trigger |
void |
setSortAscending(boolean bAscending)
|
void |
setSortValueLive(boolean live)
|
void |
setTableID(java.lang.String tableID)
|
void |
setType(int type)
The type of the contained data. Current supported types are long, string, and graphic. |
void |
setUseCoreDataSource(boolean bCoreDataSource)
Changes what TableCellCore.getDataSource() and
TableRowCore.getDataSource() return. |
void |
setUserData(java.lang.String key,
java.lang.Object value)
Associates custom data with the column, usually meant for column-specific settings and stores it across sessions |
void |
setVisible(boolean visible)
Sets the visibility of the column |
void |
setWidth(int realPXWidth)
The column size. |
void |
setWidthLimits(int min,
int max)
Sets the minimum and maximum widths in one call |
void |
setWidthPX(int width)
|
boolean |
showOnlyImage()
|
void |
triggerColumnSizeChange(int diff)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Field Detail |
|---|
protected AEMonitor this_mon
| Constructor Detail |
|---|
public TableColumnImpl(java.lang.String tableID,
java.lang.String columnID)
| Method Detail |
|---|
public void initialize(int iAlignment,
int iPosition,
int iWidth,
int iInterval)
TableColumn
initialize in interface TableColumniAlignment - See TableColumn.setAlignment(int)iPosition - See TableColumn.setPosition(int)iWidth - See TableColumn.setWidth(int)iInterval - See TableColumn.setRefreshInterval(int)
public void initialize(int iAlignment,
int iPosition,
int iWidth)
TableColumn
initialize in interface TableColumniAlignment - See TableColumn.setAlignment(int)iPosition - See TableColumn.setPosition(int)iWidth - See TableColumn.setWidth(int)public java.lang.String getName()
TableColumnTableManager.createColumn(java.lang.String, java.lang.String) and can not be changed.
getName in interface TableColumnpublic java.lang.String getNameOverride()
TableColumn
getNameOverride in interface TableColumnpublic void setNameOverride(java.lang.String name)
setNameOverride in interface TableColumnpublic java.lang.String getTableID()
TableColumnTableManager.createColumn(java.lang.String, java.lang.String) and can not be changed.
getTableID in interface TableColumnTableManager.TABLE_* constant(s)public void setType(int type)
TableColumn
NOTE: This MUST be set BEFORE adding the column to a table.
The default type is TableColumn.TYPE_TEXT_ONLY.
setType in interface TableColumntype - TableColumn.TYPE_TEXT, TableColumn.TYPE_TEXT_ONLY, TableColumn.TYPE_GRAPHICpublic int getType()
TableColumn
getType in interface TableColumnpublic void setWidth(int realPXWidth)
TableColumnNOTE: This MUST be set BEFORE adding the column to a table.
setWidth in interface TableColumnpublic void setWidthPX(int width)
setWidthPX in interface TableColumnpublic void triggerColumnSizeChange(int diff)
triggerColumnSizeChange in interface TableColumnCorepublic int getWidth()
TableColumn
getWidth in interface TableColumnpublic void setPosition(int position)
TableColumnTableManager.addColumn(org.gudy.azureus2.plugins.ui.tables.TableColumn)), 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.
setPosition in interface TableColumnposition - Column Number (0 based), POSITION_INVISIBLE or POSITION_LASTpublic int getPosition()
TableColumn
getPosition in interface TableColumnpublic void setAlignment(int alignment)
TableColumnNOTE: This MUST be set BEFORE adding the column to a table.
setAlignment in interface TableColumnalignment - ALIGN_TRAIL, ALIGN_LEAD, or ALIGN_CENTERpublic int getAlignment()
TableColumn
getAlignment in interface TableColumnpublic void addCellRefreshListener(TableCellRefreshListener listener)
TableColumn
addCellRefreshListener in interface TableColumnlistener - Listener Object to be called when refresh is needed.public java.util.List<TableCellRefreshListener> getCellRefreshListeners()
TableColumnCore
getCellRefreshListeners in interface TableColumnCorepublic void removeCellRefreshListener(TableCellRefreshListener listener)
TableColumn
removeCellRefreshListener in interface TableColumnlistener - Previously added listenerpublic boolean hasCellRefreshListener()
hasCellRefreshListener in interface TableColumnCorepublic void setRefreshInterval(int interval)
TableColumn
setRefreshInterval in interface TableColumninterval - INTERVAL_GRAPHIC, INTERVAL_LIVE, INTERVAL_INVALID_ONLY
constants, or an integer based on the user-configurable
"GUI refresh interval". For example, specifying 4 will
result in a refresh trigger every 4 "GUI refresh intervals"public int getRefreshInterval()
TableColumn
getRefreshInterval in interface TableColumnpublic void addCellAddedListener(TableCellAddedListener listener)
TableColumn
addCellAddedListener in interface TableColumnlistener - Listener Object to be called when refresh is needed.
public void addCellOtherListener(java.lang.String listenerID,
java.lang.Object listener)
addCellOtherListener in interface TableColumnCore
public void removeCellOtherListener(java.lang.String listenerID,
java.lang.Object l)
removeCellOtherListener in interface TableColumnCorepublic java.lang.Object[] getCellOtherListeners(java.lang.String listenerID)
getCellOtherListeners in interface TableColumnCorepublic boolean hasCellOtherListeners(java.lang.String listenerID)
hasCellOtherListeners in interface TableColumnCorepublic java.util.List getCellAddedListeners()
TableColumnCore
getCellAddedListeners in interface TableColumnCorepublic void removeCellAddedListener(TableCellAddedListener listener)
removeCellAddedListener in interface TableColumnpublic void addCellDisposeListener(TableCellDisposeListener listener)
TableColumn
addCellDisposeListener in interface TableColumnlistener - Listener Object to be called when refresh is needed.public void removeCellDisposeListener(TableCellDisposeListener listener)
removeCellDisposeListener in interface TableColumnpublic void addCellToolTipListener(TableCellToolTipListener listener)
TableColumn
addCellToolTipListener in interface TableColumnlistener - Listener Object to be called when refresh is needed.public void removeCellToolTipListener(TableCellToolTipListener listener)
removeCellToolTipListener in interface TableColumnpublic void addCellMouseListener(TableCellMouseListener listener)
TableColumn
addCellMouseListener in interface TableColumnpublic void removeCellMouseListener(TableCellMouseListener listener)
TableColumn
removeCellMouseListener in interface TableColumnlistener - Previously added listenerpublic boolean hasCellMouseMoveListener()
hasCellMouseMoveListener in interface TableColumnCorepublic void addCellMouseMoveListener(TableCellMouseMoveListener listener)
public void removeCellMouseMoveListener(TableCellMouseMoveListener listener)
public void addCellClipboardListener(TableCellClipboardListener listener)
public void removeCellClipboardListener(TableCellClipboardListener listener)
public void addCellVisibilityListener(TableCellVisibilityListener listener)
public void removeCellVisibilityListener(TableCellVisibilityListener listener)
public java.util.List<TableColumnExtraInfoListener> getColumnExtraInfoListeners()
getColumnExtraInfoListeners in interface TableColumnCorepublic void addColumnExtraInfoListener(TableColumnExtraInfoListener listener)
addColumnExtraInfoListener in interface TableColumnpublic void removeColumnExtraInfoListener(TableColumnExtraInfoListener listener)
removeColumnExtraInfoListener in interface TableColumnpublic void invalidateCells()
TableColumn
invalidateCells in interface TableColumnpublic void invalidateCell(java.lang.Object data_source)
TableColumn
invalidateCell in interface TableColumnpublic void addListeners(java.lang.Object listenerObject)
TableColumn
addListeners in interface TableColumnlistenerObject - Object implementing some cell listeneterspublic void setColumnAdded()
TableColumnCore
setColumnAdded in interface TableColumnCorepublic boolean getColumnAdded()
TableColumnCore
getColumnAdded in interface TableColumnCorepublic void setUseCoreDataSource(boolean bCoreDataSource)
TableColumnCoreTableCellCore.getDataSource() and
TableRowCore.getDataSource() return.
setUseCoreDataSource in interface TableColumnCorebCoreDataSource - true - returns a core objectpublic boolean getUseCoreDataSource()
TableColumnCore
getUseCoreDataSource in interface TableColumnCore
public void invokeCellRefreshListeners(TableCell cell,
boolean fastRefresh)
throws java.lang.Throwable
TableColumnCore
invokeCellRefreshListeners in interface TableColumnCorecell - the cell is being refreshed
java.lang.Throwablepublic void invokeCellAddedListeners(TableCell cell)
TableColumnCore
invokeCellAddedListeners in interface TableColumnCorecell - the cell is being addedpublic void invokeCellDisposeListeners(TableCell cell)
TableColumnCore
invokeCellDisposeListeners in interface TableColumnCorecell - the cell is being disposedpublic java.lang.String getClipboardText(TableCell cell)
getClipboardText in interface TableColumnCore
public void invokeCellToolTipListeners(TableCellCore cell,
int type)
TableColumnCore
invokeCellToolTipListeners in interface TableColumnCorecell - Cell to get the tool tip eventpublic void invokeCellMouseListeners(TableCellMouseEvent event)
TableColumnCore
invokeCellMouseListeners in interface TableColumnCoreevent - Mouse Event to send
public void invokeCellVisibilityListeners(TableCellCore cell,
int visibility)
TableColumnCore
invokeCellVisibilityListeners in interface TableColumnCorevisibility - Visibility statepublic void setPositionNoShift(int position)
TableColumnCore
setPositionNoShift in interface TableColumnCoreposition - new position (0 based)TableColumnManager.ensureIntegrity()public java.lang.Object getUserData(java.lang.String key)
getUserData in interface TableColumnpublic java.lang.String getUserDataString(java.lang.String key)
getUserDataString in interface TableColumn
public void setUserData(java.lang.String key,
java.lang.Object value)
TableColumn
setUserData in interface TableColumnkey - the key under which the value will be stored and serializedvalue - should be BEncodable, otherwise it won't be serializedpublic void removeUserData(java.lang.String key)
removeUserData in interface TableColumnpublic void remove()
remove in interface TableColumnpublic boolean isRemoved()
isRemoved in interface TableColumnCorepublic final void loadSettings(java.util.Map mapSettings)
TableColumnCore
loadSettings in interface TableColumnCoremapSettings - map to place settings intopublic boolean isFirstLoad()
public void postConfigLoad()
TableColumn
postConfigLoad in interface TableColumnpublic void preAdd()
public void preConfigSave()
TableColumn
preConfigSave in interface TableColumnpublic final void saveSettings(java.util.Map mapSettings)
TableColumnCore
saveSettings in interface TableColumnCoremapSettings - map to place settings intopublic java.lang.String getTitleLanguageKey()
TableColumnCore
getTitleLanguageKey in interface TableColumnCorepublic java.lang.String getTitleLanguageKey(boolean with_renames)
getTitleLanguageKey in interface TableColumnCorepublic int getConsecutiveErrCount()
getConsecutiveErrCount in interface TableColumnCorepublic void setConsecutiveErrCount(int iCount)
setConsecutiveErrCount in interface TableColumnCoreiCount - # of consecutive errorspublic void removeContextMenuItem(TableContextMenuItem menuItem)
removeContextMenuItem in interface TableColumnCorepublic TableContextMenuItem addContextMenuItem(java.lang.String key)
TableColumn
addContextMenuItem in interface TableColumnkey - ID of the context menu, which is also used to retreieve
the textual name from the plugin language file.
public TableContextMenuItem addContextMenuItem(java.lang.String key,
int menuStyle)
TableColumn
addContextMenuItem in interface TableColumnkey - ID of the context menu, which is also used to retreieve
the textual name from the plugin language file.menuStyle - See MENU_STYLE_* constants (header or data)
public TableContextMenuItem[] getContextMenuItems(int menuStyle)
getContextMenuItems in interface TableColumnCorepublic boolean isObfusticated()
TableColumnCurrently not fully implemented for plugins
isObfusticated in interface TableColumnpublic void setObfustication(boolean hideData)
TableColumn
setObfustication in interface TableColumnhideData - new state of obfusticationpublic long getLastSortValueChange()
getLastSortValueChange in interface TableColumnCorepublic void setLastSortValueChange(long lastSortValueChange)
setLastSortValueChange in interface TableColumnCorepublic boolean isSortValueLive()
isSortValueLive in interface TableColumnCorepublic void setSortValueLive(boolean live)
setSortValueLive in interface TableColumnCorepublic void addRefreshTime(long ms)
addRefreshTime in interface TableColumnCorepublic void generateDiagnostics(IndentWriter writer)
generateDiagnostics in interface TableColumnCorepublic void setTableID(java.lang.String tableID)
setTableID in interface TableColumnCore
public int compare(java.lang.Object arg0,
java.lang.Object arg1)
compare in interface java.util.Comparatorpublic void setSortAscending(boolean bAscending)
setSortAscending in interface TableColumnCorebAscending - The bAscending to set.public boolean isSortAscending()
isSortAscending in interface TableColumnCorepublic void setDefaultSortAscending(boolean bAscending)
setDefaultSortAscending in interface TableColumnCorepublic int getMinWidth()
TableColumnIf not set, the width specified on initialize will be the minimum width
Not all UIs may have this feature implemented.
getMinWidth in interface TableColumnpublic void setMinWidth(int minwidth)
TableColumnIf not set, the width specified on initialize will be the minimum width
Not all UIs may have this feature implemented.
setMinWidth in interface TableColumnminwidth - new minumum widthpublic int getMaxWidth()
TableColumnNot all UIs may have this feature implemented.
getMaxWidth in interface TableColumnpublic void setMaxWidth(int maxwidth)
TableColumnNot all UIs may have this feature implemented.
setMaxWidth in interface TableColumnmaxwidth - new maximum width
public void setWidthLimits(int min,
int max)
TableColumnNot all UIs may have this min and max limits implemented.
setWidthLimits in interface TableColumnmin - New minimum column widthmax - New maximum column widthpublic boolean isVisible()
TableColumnNot all UIs may have this feature implemented.
isVisible in interface TableColumnpublic void setVisible(boolean visible)
TableColumn
setVisible in interface TableColumnvisible - New visibility statepublic boolean isMaxWidthAuto()
TableColumn
isMaxWidthAuto in interface TableColumnpublic void setMaxWidthAuto(boolean automaxwidth)
TableColumn
setMaxWidthAuto in interface TableColumnpublic boolean isMinWidthAuto()
TableColumn
isMinWidthAuto in interface TableColumnpublic void setMinWidthAuto(boolean autominwidth)
TableColumn
setMinWidthAuto in interface TableColumnpublic int getPreferredWidth()
TableColumn
getPreferredWidth in interface TableColumnpublic void setPreferredWidthAuto(boolean auto)
TableColumn
setPreferredWidthAuto in interface TableColumnauto - Preferred Width Auto Statepublic boolean isPreferredWidthAuto()
TableColumn
isPreferredWidthAuto in interface TableColumnpublic void setPreferredWidthMax(int maxprefwidth)
public int getPreferredWidthMax()
public void setPreferredWidth(int width)
TableColumn
setPreferredWidth in interface TableColumnwidth - New preferred widthpublic void setAutoTooltip(boolean auto_tooltip)
setAutoTooltip in interface TableColumnCorepublic boolean doesAutoTooltip()
doesAutoTooltip in interface TableColumnCorepublic void setInplaceEditorListener(TableCellInplaceEditorListener l)
setInplaceEditorListener in interface TableColumnCorepublic boolean hasInplaceEditorListener()
hasInplaceEditorListener in interface TableColumnCorepublic TableCellInplaceEditorListener getInplaceEditorListener()
getInplaceEditorListener in interface TableColumnCorepublic java.lang.Class[] getForDataSourceTypes()
public void reset()
reset in interface TableColumnCorepublic void addDataSourceType(java.lang.Class<?> cla)
addDataSourceType in interface TableColumnCorepublic void addDataSourceTypes(java.lang.Class[] datasourceTypes)
public boolean handlesDataSourceType(java.lang.Class<?> cla)
handlesDataSourceType in interface TableColumnCorepublic java.lang.Class getForDataSourceType()
getForDataSourceType in interface TableColumn
public void setIconReference(java.lang.String iconID,
boolean showOnlyIcon)
setIconReference in interface TableColumnpublic java.lang.String getIconReference()
getIconReference in interface TableColumnpublic void setMinimumRequiredUserMode(int mode)
TableColumn
setMinimumRequiredUserMode in interface TableColumnmode - from Parameter. constantspublic boolean showOnlyImage()
showOnlyImage in interface TableColumnCore
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||