|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
com.jidesoft.grid.JideTable
com.jidesoft.grid.ContextSensitiveTable
com.jidesoft.grid.NavigableTable
com.jidesoft.grid.CellStyleTable
com.jidesoft.grid.CellSpanTable
com.jidesoft.grid.CategorizedTable
com.jidesoft.grid.SortableTable
com.jidesoft.grid.TreeTable
com.jidesoft.grid.NavigationTreeTable
public class NavigationTreeTable
NavigationTreeTable is a special list that is designed for the navigation purpose. It has the following
features.
NavigationTable
after the original table content is painted. *
| Nested Class Summary | |
|---|---|
class |
NavigationTreeTable.NavigationTreeTableHelper
The navigation tree table helper class. |
| Nested classes/interfaces inherited from class com.jidesoft.grid.TreeTable |
|---|
TreeTable.DelegateExpandMouseInputListener, TreeTable.ExpandMouseListener, TreeTable.TreeTableAction |
| Nested classes/interfaces inherited from class com.jidesoft.grid.CellSpanTable |
|---|
CellSpanTable.DelegateAction |
| Nested classes/interfaces inherited from class com.jidesoft.grid.JideTable |
|---|
JideTable.NonContiguousTransferHandler |
| Nested classes/interfaces inherited from class javax.swing.JTable |
|---|
JTable.AccessibleJTable, JTable.DropLocation, JTable.PrintMode |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
PROPERTY_FADE_ICON
|
| Fields inherited from class com.jidesoft.grid.TreeTable |
|---|
CLIENT_PROPERTY_DO_NOT_PAINT_CELL_CONTENT_BACKGROUND, PROPERTY_DOUBLE_CLICK_ENABLED, PROPERTY_EXPANDABLE_COLUMN, PROPERTY_SELECT_ROW_WHEN_TOGGLING, PROPERTY_SHOW_LEAF_NODE_TREE_LINES, PROPERTY_SHOW_TREE_LINES, PROPERTY_TREE_LINE_COLOR |
| Fields inherited from class com.jidesoft.grid.SortableTable |
|---|
MULTICOLUMN_SORTABLE_PROPERTY, PROPERTY_SHOW_SORT_ORDER_NUMBER, SORTABLE_PROPERTY |
| Fields inherited from class com.jidesoft.grid.CategorizedTable |
|---|
DEFAULT_ASCENDING_ICON, DEFAULT_DESCENDING_ICON, PROPERTY_EXPAND_ICON_VISIBLE |
| Fields inherited from class com.jidesoft.grid.CellSpanTable |
|---|
AUTO_CELL_MERGE_COLUMNS, AUTO_CELL_MERGE_COLUMNS_LIMITED, AUTO_CELL_MERGE_OFF, AUTO_CELL_MERGE_ROWS, AUTO_CELL_MERGE_ROWS_LIMITED, PROPERTY_AUTO_CONVERT_CELL_SPAN, PROPERTY_PAINT_CELL_SPAN_AS_SELECTED |
| Fields inherited from class com.jidesoft.grid.CellStyleTable |
|---|
_cellStyleList, PROPERTY_FILLS_SELECTION, PROPERTY_FILLS_VIEWPORT_WITH_STRIPE |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
NavigationTreeTable()
|
|
NavigationTreeTable(int numRows,
int numColumns)
|
|
NavigationTreeTable(Object[][] rowData,
Object[] columnNames)
|
|
NavigationTreeTable(TableModel dm)
|
|
NavigationTreeTable(TableModel dm,
TableColumnModel cm)
|
|
NavigationTreeTable(TableModel dm,
TableColumnModel cm,
ListSelectionModel sm)
|
|
NavigationTreeTable(Vector<?> rowData,
Vector<?> columnNames)
|
|
| Method Summary | |
|---|---|
protected NavigationComponentHelper |
createNavigationHelper()
Creates the NavigationHelper which is a helper class that paints the rollover and the selection
effect. |
float |
getIconAlpha()
Gets the icon alpha value. |
int |
getNavigationRolloverRow()
Gets the rollover row that currently has rollover effect. |
boolean |
isIconFade()
Checks if the tree icons will fade when the mouse is not over the tree and the tree doesn't have keyboard focus. |
boolean |
isIconRollover(int x,
int y,
int width,
int height)
Checks if the mouse is over an icon. |
protected void |
paintComponent(Graphics g)
|
void |
setFadeIcon(boolean fadeIcon)
Sets the flag to fade the tree icons when the mouse is not over the tree and the tree doesn't have keyboard focus. |
void |
setIconAlpha(float iconAlpha)
|
void |
setNavigationRolloverRow(int navigationRolloverRow)
Sets the rollover row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jidesoft.grid.TableAdapter |
|---|
getCellSelectionEnabled, getColumnClass, getColumnCount, getColumnName, getColumnSelectionAllowed, getRowCount, getRowSelectionAllowed, isCellEditable, setCellSelectionEnabled, setValueAt |
| Field Detail |
|---|
public static final String PROPERTY_FADE_ICON
| Constructor Detail |
|---|
public NavigationTreeTable()
public NavigationTreeTable(int numRows,
int numColumns)
public NavigationTreeTable(TableModel dm)
public NavigationTreeTable(Object[][] rowData,
Object[] columnNames)
public NavigationTreeTable(Vector<?> rowData,
Vector<?> columnNames)
public NavigationTreeTable(TableModel dm,
TableColumnModel cm)
public NavigationTreeTable(TableModel dm,
TableColumnModel cm,
ListSelectionModel sm)
| Method Detail |
|---|
protected NavigationComponentHelper createNavigationHelper()
NavigationHelper which is a helper class that paints the rollover and the selection
effect.
By default, it creates a NavigationTreeTableHelper instance.
public boolean isIconRollover(int x,
int y,
int width,
int height)
RolloverIcon.IconRolloverSupport
isIconRollover in interface RolloverIcon.IconRolloverSupportx - x of the icony - y of the iconwidth - icon widthheight - icon height
protected void paintComponent(Graphics g)
paintComponent in class CellStyleTablepublic float getIconAlpha()
RolloverIcon.IconRolloverSupport
getIconAlpha in interface RolloverIcon.IconRolloverSupportpublic void setIconAlpha(float iconAlpha)
public boolean isIconFade()
isIconFade in interface RolloverIcon.IconRolloverSupportNavigationTree.public void setFadeIcon(boolean fadeIcon)
fadeIcon - true to fade the tree icons. False to always show the tree icons.public int getNavigationRolloverRow()
public void setNavigationRolloverRow(int navigationRolloverRow)
navigationRolloverRow - the row to show the rollover effect.
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||