com.swfm.mica.widgets
Class MiVirtualTreeTable
java.lang.Object
com.swfm.mica.widgets.MiVirtualTable
com.swfm.mica.widgets.MiVirtualTreeTable
- All Implemented Interfaces:
- MiiActionHandler, MiiOverlayRenderer, MiiScrollableData, MiiSelectableTableContentSupplier, MiiTypes, MiiVirtualTableRowColumnLocationSupplier
- public class MiVirtualTreeTable
- extends MiVirtualTable
- implements MiiActionHandler, MiiScrollableData, MiiSelectableTableContentSupplier, MiiVirtualTableRowColumnLocationSupplier, MiiOverlayRenderer, MiiTypes
This class supports the 'virtual' treelist, which is called virtual by virtue of it building
only the visible rows of the table at one time - instead of the whole table at once - which
scales better and is more efficient, though less flexible.
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class com.swfm.mica.widgets.MiVirtualTable |
addFilter, addHighlighter, addOrderer, addReporter, getAbsoluteColumnNumber, getAbsoluteRowNumber, getCell, getContentsCells, getEstimateOfColumnWidth, getNormalizedHorizontalAmountVisible, getNormalizedHorizontalPosition, getNormalizedVerticalAmountVisible, getNormalizedVerticalPosition, getNumberOfColumns, getNumberOfRows, getNumberOfVisibleRows, getRelativeColumnNumber, getRelativeRowNumber, getRows, getTable, getTableRow, getTopVisibleRow, isCellVisible, isHandlingScrollingDiscreteAmountsLocally, isSelectable, processAction, rebuild, redisplay, removeAllHighlighters, removeAllOrderers, removeFilter, removeHighlighter, removeOrderer, removeReporter, scrollChunkDown, scrollChunkLeft, scrollChunkRight, scrollChunkUp, scrollLineDown, scrollLineLeft, scrollLineRight, scrollLineUp, scrollPageDown, scrollPageLeft, scrollPageRight, scrollPageUp, scrollToBottom, scrollToLeftSide, scrollToNormalizedHorizontalPosition, scrollToNormalizedVerticalPosition, scrollToRightSide, scrollToTop, selectItem, setAutoRebuildEnabled, setRows, setTopVisibleRow |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.swfm.mica.core.MiiScrollableData |
getNormalizedHorizontalAmountVisible, getNormalizedHorizontalPosition, getNormalizedVerticalAmountVisible, getNormalizedVerticalPosition, isHandlingScrollingDiscreteAmountsLocally, scrollChunkDown, scrollChunkLeft, scrollChunkRight, scrollChunkUp, scrollLineDown, scrollLineLeft, scrollLineRight, scrollLineUp, scrollPageDown, scrollPageLeft, scrollPageRight, scrollPageUp, scrollToBottom, scrollToLeftSide, scrollToNormalizedHorizontalPosition, scrollToNormalizedVerticalPosition, scrollToRightSide, scrollToTop |
Mi_ROW_ITEM_LEVEL
public static final java.lang.String Mi_ROW_ITEM_LEVEL
- See Also:
- Constant Field Values
Mi_ROW_ITEM_HAS_CHILDREN
public static final java.lang.String Mi_ROW_ITEM_HAS_CHILDREN
- See Also:
- Constant Field Values
Mi_ROW_ITEM_EXPANDED
public static final java.lang.String Mi_ROW_ITEM_EXPANDED
- See Also:
- Constant Field Values
Mi_ROW_ITEM_IS_FOLDER
public static final java.lang.String Mi_ROW_ITEM_IS_FOLDER
- See Also:
- Constant Field Values
MiVirtualTreeTable
public MiVirtualTreeTable(MiTable table,
MiScrolledBox scrolledBox,
MiiVirtualTableRowSource dataSource,
MiiVirtualTreeTableRowSourceModifier dataSourceModifier)
selectRow
public boolean selectRow(MiBounds area)
selectRow
public void selectRow(int virtualRowNumber)
expandRow
public void expandRow(int virtualRowNumber)
toggleRowExpansion
public void toggleRowExpansion(int virtualRowNumber)
setExpandCollapseButtonSelectedColor
public void setExpandCollapseButtonSelectedColor(java.lang.String color)
getExpandCollapseButtonSelectedColor
public java.lang.String getExpandCollapseButtonSelectedColor()
setExpandCollapseButtonUnselectedColor
public void setExpandCollapseButtonUnselectedColor(java.lang.String color)
getExpandCollapseButtonUnselectedColor
public java.lang.String getExpandCollapseButtonUnselectedColor()
renderOverlay
public void renderOverlay(MiRenderer renderer)
- Specified by:
renderOverlay in interface MiiOverlayRenderer