|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableColumnCore
Core Table Column functions are those available to plugins plus some core-only functions. The core-only functions are listed here.
TableColumnManager
Field Summary |
---|
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 |
Method Summary | |
---|---|
void |
addCellOtherListener(java.lang.String listenerID,
java.lang.Object listener)
|
void |
addDataSourceType(java.lang.Class<?> forDataSourceType)
|
void |
addRefreshTime(long ms)
|
boolean |
doesAutoTooltip()
|
void |
generateDiagnostics(IndentWriter writer)
|
java.util.List |
getCellAddedListeners()
Retreive all the Cell Added listeners |
java.lang.Object[] |
getCellOtherListeners(java.lang.String listenerID)
|
java.util.List |
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)
|
TableCellInplaceEditorListener |
getInplaceEditorListener()
|
long |
getLastSortValueChange()
|
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)
|
boolean |
getUseCoreDataSource()
Retrieve whether a core or plugin object is sent via getDataSource() |
boolean |
handlesDataSourceType(java.lang.Class<?> cla)
|
boolean |
hasCellMouseMoveListener()
|
boolean |
hasCellOtherListeners(java.lang.String listenerID)
|
boolean |
hasCellRefreshListener()
|
boolean |
hasInplaceEditorListener()
|
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 |
isRemoved()
|
boolean |
isSortAscending()
|
boolean |
isSortValueLive()
|
void |
loadSettings(java.util.Map mapSettings)
Load width and position settings from config. |
void |
removeCellOtherListener(java.lang.String listenerID,
java.lang.Object l)
|
void |
removeContextMenuItem(TableContextMenuItem menuItem)
|
void |
reset()
|
void |
saveSettings(java.util.Map mapSettings)
Save width and position settings to config. |
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 |
setInplaceEditorListener(TableCellInplaceEditorListener l)
|
void |
setLastSortValueChange(long lastSortValueChange)
|
void |
setPositionNoShift(int position)
Sets the position of the column without adjusting the other columns. |
void |
setSortAscending(boolean bAscending)
|
void |
setSortValueLive(boolean live)
|
void |
setTableID(java.lang.String tableID)
|
void |
setUseCoreDataSource(boolean bCoreDataSource)
Changes what TableCellCore.getDataSource() and
TableRowCore.getDataSource() return. |
boolean |
showOnlyImage()
|
void |
triggerColumnSizeChange(int diff)
|
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Method Detail |
---|
void setColumnAdded()
boolean getColumnAdded()
void setUseCoreDataSource(boolean bCoreDataSource)
TableCellCore.getDataSource()
and
TableRowCore.getDataSource()
return.
bCoreDataSource
- true - returns a core objectboolean getUseCoreDataSource()
void invokeCellRefreshListeners(TableCell cell, boolean fastRefresh) throws java.lang.Throwable
cell
- the cell is being refreshed
java.lang.Throwable
java.util.List getCellRefreshListeners()
void invokeCellAddedListeners(TableCell cell)
cell
- the cell is being addedjava.util.List getCellAddedListeners()
void invokeCellDisposeListeners(TableCell cell)
cell
- the cell is being disposedvoid invokeCellToolTipListeners(TableCellCore cell, int type)
cell
- Cell to get the tool tip eventtype
- void invokeCellMouseListeners(TableCellMouseEvent event)
event
- Mouse Event to sendvoid invokeCellVisibilityListeners(TableCellCore cell, int visibility)
visibility
- Visibility statevoid setPositionNoShift(int position)
position
- new position (0 based)TableColumnManager.ensureIntegrity()
void loadSettings(java.util.Map mapSettings)
mapSettings
- map to place settings intovoid saveSettings(java.util.Map mapSettings)
mapSettings
- map to place settings intojava.lang.String getTitleLanguageKey()
java.lang.String getTitleLanguageKey(boolean with_renames)
int getConsecutiveErrCount()
void setConsecutiveErrCount(int iCount)
iCount
- # of consecutive errorsvoid removeContextMenuItem(TableContextMenuItem menuItem)
menuItem
- TableContextMenuItem[] getContextMenuItems(int menuStyle)
boolean hasCellRefreshListener()
long getLastSortValueChange()
void setLastSortValueChange(long lastSortValueChange)
lastSortValueChange
- void setSortValueLive(boolean live)
live
- boolean isSortValueLive()
void addRefreshTime(long ms)
ms
- void generateDiagnostics(IndentWriter writer)
writer
- void setTableID(java.lang.String tableID)
tableID
- boolean isSortAscending()
void setSortAscending(boolean bAscending)
bAscending
- void setDefaultSortAscending(boolean bAscending)
bAscending
- boolean hasCellMouseMoveListener()
void triggerColumnSizeChange(int diff)
void setAutoTooltip(boolean auto_tooltip)
boolean doesAutoTooltip()
void addCellOtherListener(java.lang.String listenerID, java.lang.Object listener)
listenerID
- listener
- void removeCellOtherListener(java.lang.String listenerID, java.lang.Object l)
java.lang.Object[] getCellOtherListeners(java.lang.String listenerID)
listenerID
-
boolean hasCellOtherListeners(java.lang.String listenerID)
listenerID
-
boolean isRemoved()
java.util.List<TableColumnExtraInfoListener> getColumnExtraInfoListeners()
void reset()
java.lang.String getClipboardText(TableCell cell)
boolean handlesDataSourceType(java.lang.Class<?> cla)
void addDataSourceType(java.lang.Class<?> forDataSourceType)
forDataSourceType
- boolean showOnlyImage()
TableCellInplaceEditorListener getInplaceEditorListener()
boolean hasInplaceEditorListener()
void setInplaceEditorListener(TableCellInplaceEditorListener l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |