Package | Description |
---|---|
com.dlsc.flexgantt.model.treetable |
A tree table model, which is an extension of the standard Swing tree model.
|
com.dlsc.flexgantt.policy.treetable |
Policies that will be used in the context of a tree table
|
com.dlsc.flexgantt.swing |
Contains the Gantt chart components and various other user interface
elements that can be used together with the Gantt chart.
|
com.dlsc.flexgantt.swing.treetable |
A tree table implementation used solely for the purpose of drawing the
left-hand side of a Gantt chart.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyColumn<T>
The key column is a special type of tree table column and responsible for
showing the tree structure given by a tree table model.
|
Modifier and Type | Method and Description |
---|---|
TreeTableColumn |
ColumnModelEvent.getColumn()
Returns the column that was added/removed/inserted.
|
TreeTableColumn |
DefaultColumnModel.getColumn(int index) |
TreeTableColumn |
IColumnModel.getColumn(int index)
Returns the tree table column at the given index.
|
TreeTableColumn |
ColumnModelIterator.next()
Returns the next tree table column.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultColumnModel.addColumn(TreeTableColumn col)
Adds a column to the model.
|
void |
IColumnModel.addColumn(TreeTableColumn col)
Adds a column to the model.
|
int |
DefaultColumnModel.getColumnIndex(TreeTableColumn column) |
int |
IColumnModel.getColumnIndex(TreeTableColumn col)
Returns the index of the given column if it is a member of the model (
Integer.MAX_VALUE otherwise).
|
String |
DefaultMutableTreeTableNode.getToolTipText(TreeTableColumn modelIndex) |
String |
ITreeTableNode.getToolTipText(TreeTableColumn column)
Returns the appropriate tooltip text for the given column.
|
void |
DefaultColumnModel.insertColumn(TreeTableColumn col,
int index)
Inserts a new column at the given index.
|
void |
DefaultColumnModel.removeColumn(TreeTableColumn col)
Removes the given column from the model.
|
void |
IColumnModel.removeColumn(TreeTableColumn col)
Removes a column from the model.
|
void |
DefaultColumnModel.setColumns(TreeTableColumn[] cols)
Replaces the current list of tree table columns with the given array of
columns.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultColumnModel.setColumns(Collection<TreeTableColumn> cols)
Replaces the current list of tree table columns with the given collection
of columns.
|
Constructor and Description |
---|
ColumnModelEvent(IColumnModel model,
TreeTableColumn column,
ColumnModelEvent.ID id)
Constructs a new column model event for the given column model and
column.
|
DefaultColumnModel(TreeTableColumn[] cols)
Constructs a new column model, which consists of a key column and the
given list of standard tree table columns.
|
Constructor and Description |
---|
DefaultColumnModel(Collection<TreeTableColumn> cols)
Constructs a new column model, which consists of a key column and the
given list of standard tree table columns.
|
Modifier and Type | Method and Description |
---|---|
String |
DefaultRowPolicy.getRowToolTip(Object node,
ITreeTableModel model,
TreeTableColumn column) |
String |
IRowPolicy.getRowToolTip(Object node,
ITreeTableModel model,
TreeTableColumn column)
Returns a tooltip text for the given node and column.
|
Modifier and Type | Method and Description |
---|---|
TreeTableColumn |
AbstractGanttChart.getColumn(int index)
Returns the column at the given index.
|
Modifier and Type | Method and Description |
---|---|
List<TreeTableColumn> |
AbstractGanttChart.getAvailableColumns()
Returns the list of available columns.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractGanttChart.addAvailableColumn(TreeTableColumn column)
Adds a column to the Gantt chart that can be added to the column model
interactively by the user.
|
void |
AbstractGanttChart.optimizeColumnWidth(TreeTableColumn column)
Optimizes the column width of the given column without taking the cell
editors into account.
|
void |
AbstractGanttChart.optimizeColumnWidth(TreeTableColumn column,
boolean includeEditors)
Optimizes the column width of the given column with or without taking the
cell editors into account.
|
void |
AbstractGanttChart.removeAvailableColumn(TreeTableColumn column)
Removes a column from the list of available columns.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractGanttChart.setAvailableColumns(Collection<TreeTableColumn<?>> columns)
Sets serveral columns as "available" columns, which means that these
columns will not be initially shown by the tree table.
|
Modifier and Type | Method and Description |
---|---|
TreeTableColumn |
TreeTableHeader.getColumn(int index)
Returns the tree table column for the given index.
|
TreeTableColumn |
TreeTable.getColumn(int index)
Returns the column for the given index.
|
TreeTableColumn |
TreeTableHeader.getColumnAt(int x)
Returns the column located at the given location.
|
TreeTableColumn |
TreeTable.getColumnAt(int x)
Returns the column at the given x coordinate.
|
TreeTableColumn |
TreeTableHeader.getDraggedColumn()
Returns the tree table column on which drag operations are currently
performed (resize or move).
|
TreeTableColumn |
TreeTableHeader.getFillerColumn()
Returns the filler column that gets placed at the end of the column
header and that causes a column to be rendered when the left-hand side of
the Gantt chart gets resized so much that it is larger than the table
that it contains.
|
TreeTableColumn |
CellFocusManager.getFocusedColumn()
Returns the tree table column that contains the focused cell.
|
Modifier and Type | Method and Description |
---|---|
void |
CellFocusManager.focusOnCell(int row,
TreeTableColumn column)
Sets the cell focus on the specified cell.
|
Rectangle |
TreeTableHeader.getColumnBounds(TreeTableColumn c)
Returns the bounds of the given column.
|
Component |
DefaultColumnHeaderRenderer.getColumnHeaderRendererComponent(TreeTableHeader header,
TreeTableColumn column,
boolean selected,
boolean hasFocus,
SortDirection sortDirection,
int sortPosition) |
Component |
IColumnHeaderRenderer.getColumnHeaderRendererComponent(TreeTableHeader header,
TreeTableColumn column,
boolean selected,
boolean hasFocus,
SortDirection sortDirection,
int sortPosition)
Returns a component that gets used to render the header of a column in
the tree table header component.
|
int |
TreeTable.getColumnIndex(TreeTableColumn col)
Returns the index of the given column.
|
int |
TreeTableHeader.getColumnLocation(TreeTableColumn c)
Returns the x-coordinate of the given column.
|
JPopupMenu |
ITreeTableHeaderMenuProvider.getPopupMenu(TreeTableHeader header,
MouseEvent e,
TreeTableColumn column)
Returns a popup menu for the given tree table header.
|
JPopupMenu |
DefaultTreeTableHeaderMenuProvider.getPopupMenu(TreeTableHeader header,
MouseEvent e,
TreeTableColumn column) |
JPopupMenu |
DefaultTreeTableMenuProvider.getPopupMenu(TreeTable table,
MouseEvent e,
TreePath treePath,
TreeTableColumn column) |
JPopupMenu |
ITreeTableMenuProvider.getPopupMenu(TreeTable table,
MouseEvent e,
TreePath treePath,
TreeTableColumn column)
Returns a popup menu for the given tree table.
|
protected void |
TreeTable.paintCell(Graphics g,
TreeTableColumn column,
TreeTableNode node,
int x,
int y,
int width,
int height,
int row,
int columnIndex,
int modelIndex,
Class columnClass,
boolean fillerColumn)
Paints a single cell into the given graphics context for the given node
and the given column.
|
protected void |
TreeTable.paintColumn(Graphics g,
TreeTableColumn column,
int row,
int x,
Rectangle clip,
boolean dragged,
boolean filler)
Draws a column into the given graphics context.
|
protected void |
TreeTableHeader.paintColumnHeader(Graphics g,
TreeTableColumn column,
int x,
int y,
int width,
int height)
Paints the column header for the given column.
|
void |
CellFocusManager.setFocusedColumn(TreeTableColumn column)
Sets the tree table column that contains the focused cell and updates the
tree table.
|
void |
TreeTableHeader.sortColumn(TreeTableColumn col,
boolean keepSortedColumns)
Sorts the given column.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.