|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel com.dlsc.flexgantt.swing.AbstractGanttChart com.dlsc.flexgantt.swing.DualGanttChart
public class DualGanttChart
A dual Gantt Chart is capable of displaying two charts at the same time while keeping the two left-hand sides and the two right-hand sides synchronized during horizontal scrolling operations. The two charts share the same column header for their tree tables and the same timeline for their layer containers. This class uses the notion of a primary and a secondary model / tree table / layer container. The primary model gets displayed on top of the secondary model. The secondary model can be shown or hidden programmatically or via user interaction.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_PRIMARY_PRINT_MANAGER
Constant used for the name of those property change events that get fired when the application changes the primary print manager property. |
static java.lang.String |
PROPERTY_SECONDARY_MODEL
Constant used for dealing with property change events that get triggered when the secondary Gantt chart model gets changed. |
static java.lang.String |
PROPERTY_SECONDARY_PRINT_MANAGER
Constant used for the name of those property change events that get fired when the application changes the secondary print manager property. |
static java.lang.String |
PROPERTY_SECONDARY_VISIBLE
Constant used for dealing with property change events. |
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 | |
---|---|
DualGanttChart()
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IColumnModel columnModel)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IComponentFactory compFactory)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IGanttChartModel model)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IGanttChartModel primaryModel,
IGanttChartModel secondaryModel)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IGanttChartModel primaryModel,
IGanttChartModel secondaryModel,
IColumnModel columnModel)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IGanttChartModel primaryModel,
IGanttChartModel secondaryModel,
IColumnModel columnModel,
IComponentFactory compFactory)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
|
DualGanttChart(IGanttChartModel primaryModel,
IGanttChartModel secondaryModel,
IComponentFactory compFactory)
Constructs a new Gantt chart that is capable of displaying two models at the same time (a primary and a secondary model). |
Method Summary | |
---|---|
protected LayerContainerScrollPane |
createLayerContainerScrollPane(boolean primary,
TreeTableScrollPane tableScrollPane,
LayerContainer lc)
Creates the right-hand side of a Gantt chart, a scrollpane that wraps a timeline (including dateline and eventline) and a layer container. |
protected TreeTableScrollPane |
createTreeTableScrollPane(boolean primary,
IGanttChartModel model,
TreeTable table)
Creates the left-hand side of a Gantt chart, a scrollpane that wraps a tree table, a column header and a row header. |
protected int |
getFixedHorizonalSplitterLocation(int location)
Returns a location for the horizontal splitter that obeys the following constraints: location is larger than the minimum height of the primary tree table scrollpane (equivalent to the height of the column header) location is smaller than the minimum height of the secondary layer container scrollpane (equivalent to height of horizontal scrollbar) Obeying these constraints ensures that the column header, the timeline and the horizontal scrollbars will always remain visible after the user performed a drag operation via the horizontal splitter. |
protected int |
getFixedVerticalSplitterLocation(int location)
Returns a location for the vertical splitter that obeys the following constraints: location is larger than the minimum width of the primary tree table scrollpane (equivalent to the width of the row header) location is smaller than the minimum width of the primary layer container scrollpane (equivalent to width of vertical scrollbar) Obeying these constraints ensures that the row header and the vertical scrollbars will always remain visible after the user performed a drag operation via the vertical splitter. |
IGridComponent[] |
getGridComponents()
Returns all grid components managed by the Gantt chart container. |
javax.swing.JComponent |
getHorizontalSplitter()
Returns the component used to realize the horizontal splitter. |
int |
getHorizontalSplitterLocation()
Returns the location of the horizontal splitter, which separates the primary / upper Gantt chart from the secondary / lower Gantt chart. |
LayerContainer[] |
getLayerContainers()
Returns all layer containers managed by the Gantt chart container. |
LayerContainerScrollPane[] |
getLayerContainerScrollPanes()
Returns all layer container scrollpanes managed by the Gantt chart container. |
LayerContainer |
getPrimaryLayerContainer()
Returns the primary layer container. |
LayerContainerRowHeader |
getPrimaryLayerContainerRowHeader()
Returns the row header that gets used in combination with the primary layer container. |
LayerContainerScrollPane |
getPrimaryLayerContainerScrollPane()
Returns the scrollpane for the primary layer container. |
IPrintManager |
getPrimaryPrintManager()
Returns the print manager used for printing the primary Gantt chart (the upper part). |
TreeTable |
getPrimaryTreeTable()
Returns the primary tree table. |
TreeTableRowHeader |
getPrimaryTreeTableRowHeader()
Returns the primary row header. |
TreeTableScrollPane |
getPrimaryTreeTableScrollPane()
Returns the scrollpane used for the primary tree table. |
PrintContext[] |
getPrintContexts()
Returns all print context supported by the Gantt chart. |
LayerContainer |
getSecondaryLayerContainer()
Returns the secondary layer container. |
LayerContainerRowHeader |
getSecondaryLayerContainerRowHeader()
Returns the row header that gets used in combination with the secondary layer container. |
LayerContainerScrollPane |
getSecondaryLayerContainerScrollPane()
Returns the secondary layer container scrollpane. |
IGanttChartModel |
getSecondaryModel()
Returns the secondary Gantt chart model. |
IPrintManager |
getSecondaryPrintManager()
Returns the print manager used for printing the secondary Gantt chart (the lower part). |
TreeTable |
getSecondaryTreeTable()
Returns the secondary tree table. |
TreeTableRowHeader |
getSecondaryTreeTableRowHeader()
Returns the secondary row header. |
TreeTableScrollPane |
getSecondaryTreeTableScrollPane()
Returns the secondary tree table scrollpane. |
double |
getSecondaryWeight()
Returns the weight that will be used to calculate the initial height of the secondary Gantt chart when it first becomes visible. |
int |
getSplitterSize()
Returns the width of the vertical splitter and the height of the horizontal splitter. |
TreeTable[] |
getTreeTables()
Returns all tree tables managed by the Gantt chart container. |
TreeTableScrollPane[] |
getTreeTableScrollPanes()
Returns all tree table scrollpanes managed by the Gantt chart container. |
javax.swing.JComponent |
getVerticalSplitter()
Returns the component used to realize the vertical splitter. |
int |
getVerticalSplitterLocation()
Returns the location of the vertical splitter, which separates the left-hand side from the right-hand side of the Gantt chart. |
protected void |
initializeKeyStrokes()
Registers several actions with the Gantt chart component. |
boolean |
isSecondaryVisible()
Returns TRUE if the secondary Gantt chart is visible. |
void |
print(boolean preview)
Prints the Gantt chart. |
void |
print(boolean preview,
ITimeSpan span)
Prints the Gantt chart. |
void |
printSecondaryModel(boolean preview)
Prints a Gantt chart based on the secondary model. |
void |
printSecondaryModel(boolean preview,
ITimeSpan span)
Prints a Gantt chart based on the secondary model. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
resetToPreferredSizes()
Causes the Gantt chart to lay out its left- and right-hand side in such a way that the tree table on the left becomes fully visible. |
void |
setHorizontalSplitterLocation(int location)
Specifies the location of the horizontal splitter, which separates the primary / upper Gantt chart from the secondary / lower Gantt chart. |
void |
setPrimaryPrintManager(IPrintManager manager)
Sets the print manager to be used for the upper Gantt chart when the application invokes printing. |
void |
setSecondaryModel(IGanttChartModel model)
Specifies a new secondary Gantt chart model. |
void |
setSecondaryPrintManager(IPrintManager manager)
Sets the print manager to be used for the lower Gantt chart when the application invokes printing. |
void |
setSecondaryVisible(boolean visible)
Determines whether the secondary Gantt chart is visible or not. |
void |
setSecondaryWeight(double weight)
Sets the weight used to calculate the initial height of the secondary chart. |
void |
setSplitterSize(int size)
Sets the width of the vertical splitter and the height of the horizontal splitter. |
void |
setVerticalSplitterLocation(int location)
Specifies the location of the vertical splitter, which separates the left-hand side from the right-hand side of the Gantt chart. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_SECONDARY_MODEL
setSecondaryModel(IGanttChartModel)
,
PropertyChangeEvent.getPropertyName()
,
Container.addPropertyChangeListener(java.beans.PropertyChangeListener)
,
Constant Field Valuespublic static final java.lang.String PROPERTY_SECONDARY_VISIBLE
PropertyChangeEvent.getPropertyName()
,
Container.addPropertyChangeListener(java.beans.PropertyChangeListener)
,
Constant Field Valuespublic static final java.lang.String PROPERTY_PRIMARY_PRINT_MANAGER
public static final java.lang.String PROPERTY_SECONDARY_PRINT_MANAGER
Constructor Detail |
---|
public DualGanttChart(IGanttChartModel primaryModel, IGanttChartModel secondaryModel, IColumnModel columnModel, IComponentFactory compFactory)
primaryModel
- the first model that will be displayed in the upper user
interface components (primary tree table, layer container)secondaryModel
- the second model that will be displayed in the lower user
interface components (secondary tree table, layer container)columnModel
- the model used for the column headercompFactory
- a factory for creating the various user interface components
that constitute a Gantt chart (table, layer container, column
header, ...)public DualGanttChart(IGanttChartModel primaryModel, IGanttChartModel secondaryModel, IColumnModel columnModel)
DefaultComponentFactory
.
primaryModel
- the first model that will be displayed in the upper user
interface components (primary tree table, layer container)secondaryModel
- the second model that will be displayed in the lower user
interface components (secondary tree table, layer container)columnModel
- the model used for the column headerpublic DualGanttChart(IGanttChartModel primaryModel, IGanttChartModel secondaryModel, IComponentFactory compFactory)
DefaultColumnModel
.
primaryModel
- the first model that will be displayed in the upper user
interface components (primary tree table, layer container)secondaryModel
- the second model that will be displayed in the lower user
interface components (secondary tree table, layer container)compFactory
- a factory for creating the various user interface components
that constitute a Gantt chart (table, layer container, column
header, ...)public DualGanttChart(IGanttChartModel primaryModel, IGanttChartModel secondaryModel)
DefaultComponentFactory
. The column
model is an instance of DefaultColumnModel
.
primaryModel
- the first model that will be displayed in the upper user
interface components (primary tree table, layer container)secondaryModel
- the second model that will be displayed in the lower user
interface components (secondary tree table, layer container)public DualGanttChart(IGanttChartModel model)
DefaultComponentFactory
.
model
- the model that will be displayed in the upper and the lower
user interface componentspublic DualGanttChart(IColumnModel columnModel)
DefaultGanttChartModel
instances will be
created instead. The component factory used by the Gantt chart is a
DefaultComponentFactory
.
columnModel
- the model used for the column headerpublic DualGanttChart(IComponentFactory compFactory)
DefaultGanttChartModel
instances will be
created instead. The Gantt chart's column model is an instance of
DefaultColumnModel
.
compFactory
- a factory for creating the various user interface components
that constitute a Gantt chart (table, layer container, column
header, ...)public DualGanttChart()
DefaultGanttChartModel
instances will be
created instead. The component factory used by the Gantt chart is a
DefaultComponentFactory
and the column model is an instance of
DefaultColumnModel
.
Method Detail |
---|
protected void initializeKeyStrokes()
AbstractGanttChart
initializeKeyStrokes
in class AbstractGanttChart
StatusBarField.KEY_STROKES
public IGanttChartModel getSecondaryModel()
setSecondaryModel(IGanttChartModel)
public void setSecondaryModel(IGanttChartModel model)
PROPERTY_SECONDARY_MODEL
.
model
- the new secondary modelgetSecondaryModel()
public boolean isSecondaryVisible()
setSecondaryVisible(boolean)
public void setSecondaryVisible(boolean visible)
PROPERTY_SECONDARY_VISIBLE
.
visible
- determines visibility of the secondary Gantt chartisSecondaryVisible()
public double getSecondaryWeight()
setSecondaryWeight(double)
public void setSecondaryWeight(double weight)
weight * height
where
height
is the height of the Dual Gantt chart container.
weight
- the weight variable (must be within [0,1])getSecondaryWeight()
public TreeTable[] getTreeTables()
AbstractGanttChart
getTreeTables
in class AbstractGanttChart
public LayerContainer[] getLayerContainers()
AbstractGanttChart
getLayerContainers
in class AbstractGanttChart
public LayerContainer getPrimaryLayerContainer()
getPrimaryLayerContainerScrollPane()
,
getSecondaryLayerContainer()
public LayerContainerRowHeader getPrimaryLayerContainerRowHeader()
public LayerContainerScrollPane getPrimaryLayerContainerScrollPane()
getPrimaryLayerContainer()
,
getSecondaryLayerContainerScrollPane()
public TreeTable getPrimaryTreeTable()
getPrimaryTreeTableScrollPane()
,
getSecondaryTreeTable()
public TreeTableScrollPane getPrimaryTreeTableScrollPane()
getPrimaryTreeTable()
,
getSecondaryTreeTableScrollPane()
public TreeTableRowHeader getPrimaryTreeTableRowHeader()
getSecondaryTreeTableRowHeader()
public LayerContainer getSecondaryLayerContainer()
getSecondaryLayerContainerScrollPane()
,
getPrimaryLayerContainer()
public LayerContainerRowHeader getSecondaryLayerContainerRowHeader()
public LayerContainerScrollPane getSecondaryLayerContainerScrollPane()
getSecondaryLayerContainer()
,
getPrimaryLayerContainerScrollPane()
public TreeTable getSecondaryTreeTable()
getSecondaryTreeTableScrollPane()
,
getPrimaryTreeTable()
public TreeTableScrollPane getSecondaryTreeTableScrollPane()
getSecondaryTreeTable()
,
getPrimaryTreeTableScrollPane()
public TreeTableRowHeader getSecondaryTreeTableRowHeader()
getPrimaryTreeTableRowHeader()
protected TreeTableScrollPane createTreeTableScrollPane(boolean primary, IGanttChartModel model, TreeTable table)
IComponentFactory
).
primary
- specifies whether the tree table scrollpane will be used for
the primary Gantt chartmodel
- the data sourcetable
- the table for which to create a scrollpane
createLayerContainerScrollPane(boolean, TreeTableScrollPane,
LayerContainer)
protected LayerContainerScrollPane createLayerContainerScrollPane(boolean primary, TreeTableScrollPane tableScrollPane, LayerContainer lc)
primary
- specifies whether the layer container scrollpane will be used
for the primary Gantt charttableScrollPane
- the scrollpane of the tree table to the left of the layer
container scrollpanelc
- the layer container for which to create a scrollpane
public int getVerticalSplitterLocation()
setVerticalSplitterLocation(int)
public void setVerticalSplitterLocation(int location)
location
- the splitter locationgetVerticalSplitterLocation()
,
AbstractGanttChart.getRowHeaderWidth()
public int getHorizontalSplitterLocation()
setHorizontalSplitterLocation(int)
public void setHorizontalSplitterLocation(int location)
location
- getHorizontalSplitterLocation()
public void resetToPreferredSizes()
AbstractGanttChart
resetToPreferredSizes
in class AbstractGanttChart
public int getSplitterSize()
setSplitterSize(int)
public void setSplitterSize(int size)
size
- the size used for the width / height of the dividersgetSplitterSize()
public javax.swing.JComponent getVerticalSplitter()
getHorizontalSplitter()
public javax.swing.JComponent getHorizontalSplitter()
getVerticalSplitter()
public PrintContext[] getPrintContexts()
AbstractGanttChart
getPrintContexts
in class AbstractGanttChart
public void print(boolean preview)
AbstractGanttChart
print
in class AbstractGanttChart
preview
- if TRUE a preview dialog will be shown first before printingAbstractGanttChart.print(boolean, ITimeSpan)
public void print(boolean preview, ITimeSpan span)
AbstractGanttChart
print
in class AbstractGanttChart
preview
- if TRUE a preview dialog will be shown first before printingspan
- the time span that needs to be printedpublic void printSecondaryModel(boolean preview)
preview
- if TRUE a preview dialog will be shown first before printingpublic void printSecondaryModel(boolean preview, ITimeSpan span)
preview
- if TRUE a preview dialog will be shown first before printingspan
- the time span to printprotected int getFixedHorizonalSplitterLocation(int location)
location
- the raw location usually based on some mouse motion event
getFixedVerticalSplitterLocation(int)
,
setVerticalSplitterLocation(int)
protected int getFixedVerticalSplitterLocation(int location)
location
- the raw location usually based on some mouse motion event
getFixedHorizonalSplitterLocation(int)
,
setHorizontalSplitterLocation(int)
,
AbstractGanttChart.getRowHeaderWidth()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class AbstractGanttChart
public IPrintManager getPrimaryPrintManager()
public void setPrimaryPrintManager(IPrintManager manager)
manager
- the print manager to use for printing the Gantt chartTimeGranularityPrintManager
,
SimpleGranularityPrintManager
public IPrintManager getSecondaryPrintManager()
public void setSecondaryPrintManager(IPrintManager manager)
manager
- the print manager to use for printing the Gantt chartTimeGranularityPrintManager
,
SimpleGranularityPrintManager
public LayerContainerScrollPane[] getLayerContainerScrollPanes()
AbstractGanttChart
getLayerContainerScrollPanes
in class AbstractGanttChart
public IGridComponent[] getGridComponents()
AbstractGanttChart
GridControl
instances.
getGridComponents
in class AbstractGanttChart
public TreeTableScrollPane[] getTreeTableScrollPanes()
AbstractGanttChart
getTreeTableScrollPanes
in class AbstractGanttChart
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |