| 
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.table.JTableHeader
com.jidesoft.grid.DraggingTableHeader
com.jidesoft.grid.CellStyleTableHeader
com.jidesoft.grid.SortableTableHeader
com.jidesoft.grid.EditableTableHeader
com.jidesoft.grid.AutoFilterTableHeader
com.jidesoft.grid.NestedTableHeader
com.jidesoft.grid.NestedSortableTableHeader
NestedTableHeader since 3.1.0
@Deprecated public class NestedSortableTableHeader
This is the table header for SortableTable and to support nested table header.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class javax.swing.table.JTableHeader | 
|---|
JTableHeader.AccessibleJTableHeader | 
| 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 int | 
ARROW_TEXT_GAP
Deprecated. The gap between the sort arrow and index text.  | 
static int | 
H_GAP
Deprecated. The distant from the right edge of the table header to left edge of sort arrow.  | 
static int | 
V_GAP
Deprecated. The distant from top edge of the table header to the top edge of the sort arrow.  | 
| Fields inherited from class com.jidesoft.grid.NestedTableHeader | 
|---|
_columnGroups, PROPERTY_ORIGINAL_TABLE_HEADER_VISIBLE | 
| Fields inherited from class com.jidesoft.grid.EditableTableHeader | 
|---|
_cellEditor, _defaultEditor, _editingColumn, _editorComp, HEADER_ROW | 
| Fields inherited from class com.jidesoft.grid.SortableTableHeader | 
|---|
PROPERTY_SHOW_SORT_ARROW | 
| Fields inherited from class com.jidesoft.grid.CellStyleTableHeader | 
|---|
_cellStyleList | 
| Fields inherited from class com.jidesoft.grid.DraggingTableHeader | 
|---|
PROPERTY_DRAGGED_COLUMN, PROPERTY_DRAGGED_DISTANCE, PROPERTY_RESIZING_COLUMN | 
| Fields inherited from class javax.swing.table.JTableHeader | 
|---|
columnModel, draggedColumn, draggedDistance, reorderingAllowed, resizingAllowed, resizingColumn, table, updateTableInRealTime | 
| 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 | |
|---|---|
NestedSortableTableHeader(TableColumnModel cm)
Deprecated.  | 
|
| Method Summary | |
|---|---|
protected  Icon | 
createSortIcon(SortableTable table,
               boolean ascending)
Deprecated. Create the sort arrow icon.  | 
protected  void | 
paintComponent(Graphics g)
Deprecated. Overrides to paint the sort arrows on table header.  | 
protected  void | 
paintSortArrow(JComponent c,
               SortableTable table,
               Graphics g,
               Rectangle rect,
               int index,
               boolean ascending)
Deprecated. Paints the sort arrow.  | 
protected  void | 
paintSortArrows(Graphics g)
Deprecated. Paints the sort arrows.  | 
| Methods inherited from class com.jidesoft.grid.EditableTableHeader | 
|---|
cancelEditing, customizeEditorComponent, editCellAt, editCellAt, editingCanceled, getCellEditor, getCellEditor, getDefaultEditor, getEditingColumn, getEditorComponent, isClickToStartEditing, isEditing, prepareEditor, removeEditor, removeNotify, resizeAndRepaint, setCellEditor, setClickToStartEditing, setDefaultEditor, setDraggedColumn, setEditingColumn, setRolloverEnabled, stopEditing | 
| Methods inherited from class com.jidesoft.grid.SortableTableHeader | 
|---|
createSortableTableHeaderCellDecorator, getSortableTableHeaderCellDecorator, isShowSortArrow | 
| Methods inherited from class com.jidesoft.grid.DraggingTableHeader | 
|---|
getPreferredSize, setDraggedDistance, setResizingColumn | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static int V_GAP
public static int H_GAP
public static int ARROW_TEXT_GAP
| Constructor Detail | 
|---|
public NestedSortableTableHeader(TableColumnModel cm)
| Method Detail | 
|---|
protected void paintComponent(Graphics g)
paintComponent in class SortableTableHeaderg - the Graphics objectprotected void paintSortArrows(Graphics g)
paintSortArrows in class SortableTableHeaderg - the Graphics object
protected void paintSortArrow(JComponent c,
                              SortableTable table,
                              Graphics g,
                              Rectangle rect,
                              int index,
                              boolean ascending)
paintSortArrow in class SortableTableHeaderc - table headertable - the sortable table.g - Graphicsrect - the bounds of the table column headerindex - the sorting indexascending - the sorting direction.
protected Icon createSortIcon(SortableTable table,
                              boolean ascending)
createSortIcon in class SortableTableHeadertable - the sortable table.ascending - true or false. True is ascending.
  | 
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||