Package | Description |
---|---|
com.dlsc.flexgantt.model.gantt |
A model definition and default implementation for a Gantt chart model, which
is basically an extension of a tree table model, which itself is an extension
of a tree model.
|
com.dlsc.flexgantt.model.treetable |
A tree table model, which is an extension of the standard Swing tree model.
|
com.dlsc.flexgantt.policy.layer |
Policies that will be used in the context of layers.
|
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.mac | |
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 | Interface and Description |
---|---|
interface |
IGanttChartModel<T,S>
A Gantt chart model provides various kinds of information in order to
populate a Gantt chart with data.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultGanttChartModel<T extends IGanttChartNode<S>,S extends ITimelineObject>
The default implementation of a Gantt chart model.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeTableModel<T extends ITreeTableNode>
The framework's default implementation of
ITreeTableModel . |
Modifier and Type | Method and Description |
---|---|
ITreeTableModel |
TreeTableModelEvent.getModel()
Returns the tree table model from which the event originated.
|
Constructor and Description |
---|
TreeTableModelEvent(ITreeTableModel model,
Object[] path,
Object oldValue,
Object newValue,
int modelIndex)
Constructs a new model event.
|
TreeTableModelEvent(ITreeTableModel model,
TreePath path,
Object oldValue,
Object newValue,
int modelIndex)
Constructs a new model event.
|
Modifier and Type | Method and Description |
---|---|
int |
DefaultLinePolicy.getLineCount(Object node,
ITreeTableModel model) |
int |
ILinePolicy.getLineCount(Object node,
ITreeTableModel model)
Returns the number of (inner) lines shown in the row of a hierarchy node.
|
int |
DefaultLinePolicy.getLineHeight(Object node,
ITreeTableModel model,
int lineIndex,
int rowHeight) |
int |
ILinePolicy.getLineHeight(Object node,
ITreeTableModel model,
int lineIndex,
int rowHeight)
Returns the height of a specific (inner) line.
|
int |
DefaultLinePolicy.getLineIndex(Object node,
ITreeTableModel model,
Object timelineObject) |
int |
ILinePolicy.getLineIndex(Object node,
ITreeTableModel model,
Object timelineObject)
Returns the index of the line on which the given timeline object shall be
placed (the indices start with 0).
|
int |
DefaultLinePolicy.getLineLocation(Object node,
ITreeTableModel model,
int lineIndex,
int rowHeight) |
int |
ILinePolicy.getLineLocation(Object node,
ITreeTableModel model,
int lineIndex,
int rowHeight)
Returns the y-coordinate of a specific (inner) line.
|
boolean |
DefaultLinePolicy.isLineVisible(Object node,
ITreeTableModel model,
int lineIndex) |
boolean |
ILinePolicy.isLineVisible(Object node,
ITreeTableModel model,
int lineIndex)
Determines whether a specific (inner) line is currently visible or not.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
INodeEditPolicy.getChangeKeyCommand(Object node,
ITreeTableModel model,
Object key)
Returns a command object that will perform the modification of the key
value of the given node.
|
ICommand |
DefaultNodeEditPolicy.getChangeKeyCommand(Object node,
ITreeTableModel model,
Object key) |
ICommand |
INodeEditPolicy.getChangeValueCommand(Object node,
ITreeTableModel model,
Object value,
int index)
Returns a command object that will perform the modification of the key
value of the given node.
|
ICommand |
DefaultNodeEditPolicy.getChangeValueCommand(Object node,
ITreeTableModel model,
Object value,
int index) |
ICommand |
INodeEditPolicy.getCreateNodeCommand(Object parentNode,
ITreeTableModel model,
Object key,
Object[] values)
Returns a command object that will perform the creation of a new tree /
hierarchy node in the given tree table model.
|
ICommand |
DefaultNodeEditPolicy.getCreateNodeCommand(Object node,
ITreeTableModel model,
Object key,
Object[] values) |
ICommand |
INodeEditPolicy.getDeleteNodesCommand(List<Object> node,
ITreeTableModel model)
Returns a command object that will perform the actual deletion of the
given nodes.
|
ICommand |
DefaultNodeEditPolicy.getDeleteNodesCommand(List<Object> nodes,
ITreeTableModel model) |
int |
DefaultNodeDragAndDropPolicy.getDragActions(Object node,
ITreeTableModel model) |
int |
INodeDragAndDropPolicy.getDragActions(Object node,
ITreeTableModel model)
Determines how the given node can be dragged (copy, move, copy or move,
none).
|
ICommand |
DefaultNodeDragAndDropPolicy.getDragAndDropCommand(Object droppedNode,
Object oldParent,
ITreeTableModel oldModel,
int oldChildIndex,
Object newParent,
ITreeTableModel newModel,
int newChildIndex,
int dropAction) |
ICommand |
DefaultNodeDragAndDropPolicy.getDragAndDropCommand(Object droppedNode,
Object oldParent,
ITreeTableModel oldModel,
int oldChildIndex,
Object newParent,
ITreeTableModel newModel,
int newChildIndex,
int dropAction) |
ICommand |
INodeDragAndDropPolicy.getDragAndDropCommand(Object droppedNode,
Object oldParent,
ITreeTableModel oldModel,
int oldChildIndex,
Object newParent,
ITreeTableModel newModel,
int newChildIndex,
int dropAction)
Returns the command object that will perform the actual changes required
in order to detach the node from its current parent and attach it to its
new parent.
|
ICommand |
INodeDragAndDropPolicy.getDragAndDropCommand(Object droppedNode,
Object oldParent,
ITreeTableModel oldModel,
int oldChildIndex,
Object newParent,
ITreeTableModel newModel,
int newChildIndex,
int dropAction)
Returns the command object that will perform the actual changes required
in order to detach the node from its current parent and attach it to its
new parent.
|
int |
DefaultNodeDragAndDropPolicy.getDropActions(Object draggedNode,
Object draggedNodeParent,
ITreeTableModel draggedNodeModel,
Object newParentNode,
ITreeTableModel newModel) |
int |
DefaultNodeDragAndDropPolicy.getDropActions(Object draggedNode,
Object draggedNodeParent,
ITreeTableModel draggedNodeModel,
Object newParentNode,
ITreeTableModel newModel) |
int |
INodeDragAndDropPolicy.getDropActions(Object draggedNode,
Object draggedNodeParent,
ITreeTableModel draggedNodeModel,
Object newParentNode,
ITreeTableModel newModel)
Determines how the given dragged node can be dropped onto the given new
parent node (copy, move, copy or move, none).
|
int |
INodeDragAndDropPolicy.getDropActions(Object draggedNode,
Object draggedNodeParent,
ITreeTableModel draggedNodeModel,
Object newParentNode,
ITreeTableModel newModel)
Determines how the given dragged node can be dropped onto the given new
parent node (copy, move, copy or move, none).
|
ICommand |
INodeEditPolicy.getInsertNodeCommand(Object parentNode,
int childIndex,
ITreeTableModel model)
Returns a command object that will perform the insertion of a new tree /
hierarchy node in the given tree table model.
|
ICommand |
DefaultNodeEditPolicy.getInsertNodeCommand(Object node,
int childIndex,
ITreeTableModel model) |
ICommand |
INodeEditPolicy.getReassignmentCommand(Object[] nodes,
Object oldParent,
int[] oldChildIndices,
Object newParent,
int[] newChildIndices,
ITreeTableModel model)
Returns the command that will be used to perform the reassingment of a
set of given nodes from one parent node to a new one.
|
ICommand |
DefaultNodeEditPolicy.getReassignmentCommand(Object[] nodes,
Object oldParent,
int[] oldChildIndices,
Object newParent,
int[] newChildIndices,
ITreeTableModel model) |
int |
DefaultRowPolicy.getRowHeight(Object node,
ITreeTableModel model) |
int |
IRowPolicy.getRowHeight(Object node,
ITreeTableModel model)
Returns the current height of the row in which the given tree
node gets displayed.
|
int |
DefaultRowPolicy.getRowHeightMaximum(Object node,
ITreeTableModel model) |
int |
IRowPolicy.getRowHeightMaximum(Object node,
ITreeTableModel model)
Returns the maximum height of the row in which the given tree
node gets displayed.
|
int |
DefaultRowPolicy.getRowHeightMinimum(Object node,
ITreeTableModel model) |
int |
IRowPolicy.getRowHeightMinimum(Object node,
ITreeTableModel model)
Returns the minimum height of the row in which the given tree
node gets displayed.
|
ICommand |
DefaultRowPolicy.getRowResizeCommand(Object node,
ITreeTableModel model,
int rowHeight) |
ICommand |
IRowPolicy.getRowResizeCommand(Object node,
ITreeTableModel model,
int rowHeight)
Returns a command object that will peform the actual resizing of the row /
node.
|
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.
|
boolean |
INodeEditPolicy.isCreateEnabled(ITreeTableModel model)
Determines if the tree table supports the creation of new tree nodes by
the user.
|
boolean |
DefaultNodeEditPolicy.isCreateEnabled(ITreeTableModel model) |
boolean |
INodeEditPolicy.isDeletable(Object node,
ITreeTableModel model)
Determines if the node can be deleted by the user.
|
boolean |
DefaultNodeEditPolicy.isDeletable(Object node,
ITreeTableModel model) |
boolean |
INodeEditPolicy.isKeyEditable(Object node,
ITreeTableModel model)
Determines if the key value of the given tree / hierarchy node can be
edited by the user.
|
boolean |
DefaultNodeEditPolicy.isKeyEditable(Object node,
ITreeTableModel model) |
boolean |
INodeEditPolicy.isReassignable(Object node,
Object newParentNode,
ITreeTableModel model)
Determines whether the first given tree table node can be reassigned to
the second tree table node by the user or not.
|
boolean |
DefaultNodeEditPolicy.isReassignable(Object node,
Object newParentNode,
ITreeTableModel model) |
boolean |
DefaultRowPolicy.isRowLineVisible(Object node,
boolean expanded,
ITreeTableModel model) |
boolean |
IRowPolicy.isRowLineVisible(Object node,
boolean expanded,
ITreeTableModel model)
Determines whether or not the horizontal grid line for the row will be
visible or not.
|
boolean |
DefaultRowPolicy.isRowResizable(Object node,
ITreeTableModel model) |
boolean |
IRowPolicy.isRowResizable(Object node,
ITreeTableModel model)
Determines whether or not the row in which the given tree node gets
displayed is resizable at all by the user.
|
boolean |
INodeEditPolicy.isSelectable(Object node,
ITreeTableModel model)
Determines if the node can be selected by the user.
|
boolean |
DefaultNodeEditPolicy.isSelectable(Object node,
ITreeTableModel model) |
boolean |
INodeEditPolicy.isValueEditable(Object node,
ITreeTableModel model,
int modelIndex)
Determines if the column value with the given model index can be edited
by the user.
|
boolean |
DefaultNodeEditPolicy.isValueEditable(Object node,
ITreeTableModel model,
int modelIndex) |
Modifier and Type | Method and Description |
---|---|
TreeTable |
DefaultComponentFactory.createTreeTable(AbstractGanttChart gc,
ITreeTableModel model) |
TreeTable |
IComponentFactory.createTreeTable(AbstractGanttChart gc,
ITreeTableModel model)
Creates a
TreeTable for the given Gantt chart. |
Modifier and Type | Method and Description |
---|---|
TreeTable |
MacComponentFactory.createTreeTable(AbstractGanttChart gc,
ITreeTableModel model) |
Modifier and Type | Method and Description |
---|---|
ITreeTableModel |
TreeTableNode.getModel()
Returns the model to which the node (or the wrapped model node) belongs.
|
ITreeTableModel |
TreeTable.getModel()
Returns the model that is being used as a data source for the tree table.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ITreeTableRowHeaderRenderer.isDisplayedAsLeaf(ITreeTableModel model,
Object node)
Determines whether the given node will be displayed as a leaf or not.
|
boolean |
DefaultTreeTableRowHeaderRenderer.isDisplayedAsLeaf(ITreeTableModel model,
Object node) |
void |
TreeTable.setModel(ITreeTableModel model)
Sets a new tree table model.
|
Constructor and Description |
---|
TreeTable(AbstractGanttChart ganttChart,
ITreeTableModel model)
Constructs a new tree table.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.