Release Notes |
This document describes the main changes that have been made to the JViews Gantt module since version 5.5.
Incompatibilities
General Changes
Library Changes
New Packages
ilog.views.gantt.IlvBasicTimeScrollController
ilog.views.gantt.IlvBasicTimeScrollSupport
ilog.views.gantt.IlvGanttProduct
ilog.views.gantt.IlvTimeScrollSupport
ilog.views.gantt.event.HeaderHeightChangedEvent
ilog.views.gantt.event.HeaderListener
ilog.views.gantt.graphic.IlvActivityLayout
ilog.views.gantt.graphic.IlvActivityLogisticLayout
ilog.views.gantt.graphic.IlvActivitySimpleLayout
ilog.views.gantt.graphic.grid.IlvWeekendGrid
ilog.views.gantt.model.IlvNullActivity
ilog.views.gantt.model.IlvNullResource
ilog.views.gantt.property.IlvPropertyComparator
ilog.views.gantt.property.IlvPropertyDescriptor
ilog.views.gantt.property.IlvUserPropertyHolder
ilog.views.gantt.scale.IlvBasicTimeScaleVisibilityPolicy
ilog.views.gantt.scale.IlvGanttTimeScaleVisibilityPolicy
ilog.views.gantt.scale.IlvTimeScaleVisibilityPolicy
ilog.views.gantt.scale.IlvTimeWidthVisibilityPredicate
ilog.views.gantt.scale.IlvVisibilityPredicate
ilog.views.gantt.scale.IlvVisibleTimeScaleRows
ilog.views.gantt.swing.IlvJTable.DefaultToolTipPolicy
ilog.views.gantt.swing.IlvJTable.ToolTipPolicy
Sample Changes
ilog.views.gantt.IlvDuration
ilog.views.gantt.IlvGanttConfiguration
ilog.views.gantt.IlvGanttModelUtil
ilog.views.gantt.IlvHierarchyChart
ilog.views.gantt.IlvScheduleChart
ilog.views.gantt.IlvTimeScrollUtil
ilog.views.gantt.IlvVerticalDisplayController
ilog.views.gantt.event.GanttModelChangedEvent
ilog.views.gantt.event.RowHeightChangedEvent
ilog.views.gantt.event.VisibleDurationChangedEvent
ilog.views.gantt.graphic.IlvActivityGraphic
ilog.views.gantt.graphic.IlvConstraintGraphic
ilog.views.gantt.graphic.IlvGanttRow
ilog.views.gantt.graphic.IlvGanttSheet
ilog.views.gantt.graphic.grid.IlvGanttGridRenderer
ilog.views.gantt.graphic.grid.IlvHorizontalGanttGrid
ilog.views.gantt.graphic.grid.IlvVerticalGanttGrid
ilog.views.gantt.graphic.interactor.IlvActivityGraphicMoveInteractor
ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
ilog.views.gantt.model.IlvAbstractGanttModel
ilog.views.gantt.model.IlvSimpleActivityFactory
ilog.views.gantt.model.IlvSimpleResourceFactory
ilog.views.gantt.model.general.IlvGeneralActivity
ilog.views.gantt.model.general.IlvGeneralActivity.Factory
ilog.views.gantt.model.general.IlvGeneralConstraint
ilog.views.gantt.model.general.IlvGeneralReservation
ilog.views.gantt.model.general.IlvGeneralResource
ilog.views.gantt.model.general.IlvGeneralResource.Factory
ilog.views.gantt.scale.IlvBasicTimeScaleRow
ilog.views.gantt.scale.IlvTimeScale
ilog.views.gantt.scale.IlvTimeScale.PaintContext
ilog.views.gantt.scale.IlvYearTimeScaleRow
ilog.views.gantt.swing.IlvAbstractJTableColumn
ilog.views.gantt.swing.IlvJTable
ilog.views.gantt.swing.IlvJTableColumn
ilog.views.gantt.swing.IlvJTableHeader
ilog.views.gantt.swing.IlvJTree
ilog.views.gantt.swing.IlvJTreeRenderPolicy
ilog.views.gantt.swing.IlvJTreeStringRenderPolicy
ilog.views.gantt.swing.IlvTreeColumn
ilog.views.gantt.xml.IlvGanttDocumentReader
ilog.views.gantt.xml.IlvGanttDocumentWriter
ilog.views.gantt.xml.IlvGanttReaderException
IlvGeneralActivity.Factory
,
IlvGeneralResource.Factory
,
IlvGeneralConstraint.Factory
,
and IlvGeneralReservation.Factory
.
Therefore, the default data objects created by the Gantt library are
now
instances of IlvGeneralActivity
,
IlvGeneralResource
,
IlvGeneralConstraint
,
and IlvGeneralReservation
.
In JViews
5.5 and earlier, the default data factories were instances of IlvSimpleActivityFactory
,
IlvSimpleResourceFactory
, IlvSimpleConstraintFactory
,
and IlvSimpleReservationFactory
and the default data
objects were instances of IlvSimpleActivity
, IlvSimpleResource
,
IlvSimpleConstraint
,
and IlvSimpleReservation
. For
compatibility with this change: IlvGanttDocumentReader's
default
readers are now
instances of IlvGeneralActivityReader
, IlvGeneralResourceReader
,
IlvGeneralConstraintReader,
and IlvGeneralReservationReader
.
IlvGanttDocumentWriter's
default
writers are now
instances of IlvGeneralActivityWriter
, IlvGeneralResourceWriter
,
IlvGeneralConstraintWriter
,
and IlvGeneralReservationWriter
. IlvGanttSheet's
manager. In JViews 5.5 and earlier, the numbering of the
predefined layers was:
0 : grids (horizontal and vertical)The new numbering of the predefined layers is:
1 : activity graphics
2 : constraint graphics
0 : horizontal gridCode that previously used hardcoded numbers to access specific layers of the
1 : vertical grid
2 : activity graphics
3 : constraint graphics
IlvGanttSheet's
manager should
be changed to use the new getActivityGraphicLayerIndex()
,
getConstraintGraphicLayerIndex()
,
getHorizontalGridLayerIndex()
,
and getVerticalGridLayerIndex()
methods. You can
use the new swapLayers(int,
int)
method to change the
z-order of the Gantt sheet's layers. removeLayer()
method of the IlvGanttSheet's
manager now throws an
exception if the user attempts to remove one of the four predefined
layers. getActivityLayout
methods of IlvScheduleChart
and IlvGanttSheet
now return an IlvActivityLayout
instead of an int
.getGridShapes
method has been added to the IlvGanttGridRenderer
interface, to help drawing or selecting a
grid. getValueAsText
method has been added to the IlvJTableColumn
interface. getValueAsText
method has been added to the IlvJTreeRenderPolicy
interface.IlvJTable's
default cell renderer is now an instance of IlvDefaultTableCellRenderer
.IlvResourceDataChart
.setRowHeight
method.TableModels
and JDBC databases. See the
ilog.views.gantt.model.table
and
ilog.views.gantt.model.jdbc
packages, respectively.IlvNullActivity
and IlvNullResource
are automatically substituted as the root
activity and the root
resource of the data model. Upon writing the data model, instances
of IlvNullActivity
and IlvNullResource
are automatically omitted.IlvUserPropertyHolder
interface has been introduced to identify data model objects that
support user-defined properties. This allows the CSS styling engine to
customize the properties of custom data objects that implement this
interface. The general data model implementations, IlvGeneralActivity
,
IlvGeneralResource
,
IlvGeneralConstraint
,
and IlvGeneralReservation
,
now implement this interface.readGanttModel(Element,
IlvGanttModel)
and writeGanttModel(Element,
IlvGanttModel)
methods. registerFunction
method.IlvTimeScaleVisibilityPolicy
.
The basic visibility policy implementation, IlvBasicTimeScaleVisibilityPolicy
,
is configured with sets of rows, IlvVisibleTimeScaleRows
,
and predicates that determine when each row set is visible, IlvVisibilityPredicate
.setActivityLayout
method with an implementation of the IlvActivityLayout
interface.getBounds
method no longer requires that you handle the special case of
computing the "uncompressible" size of the graphic. This simplification
to the computation of the renderer's bounding box is backwards
compatible. There is no need to remove existing code that computes the
uncompressible size, except for performance reasons.
setMultipleRowActivityGraphicsEnabled
method of the Gantt and Schedule charts. Multi-row rendering can be
implemented by customizing the row
layout algorithm or by customizing the getBounds
method of the renderer. Multi-row activity rendering is disabled by
default. Enabling this feature extracts a slight performance penalty.setToolTipPolicy
method to set a ToolTipPolicy
on the table.IlvActivityGraphicMoveInteractor
is in ghost mode,
vertical snap to rows can be optionally disabled for use in the
Schedule chart. ilog.views.gantt.graphic.renderer.composite
This package provides classes to render an activity using composite graphics in the Gantt sheet.
This package contains a Gantt data model implementation that connects to a JDBC database.
This package contains a Gantt data model implementation that connects to Swing
TableModel
instances.
This package provides classes that are used to apply project files created by the Gantt Designer to an
IlvGanttChart
or anIlvScheduleChart
.
This package contains the main Schedule Data chart classes that display numerical information derived from Gantt data models.
This package contains data set implementations that derive numerical information from Gantt data models.
ilog.views.schedule.interactor
This package contains interactors for the Schedule Data charts.
This package provides utility classes for formatting and parsing data values as text.
ilog.views.gantt.IlvBasicTimeScrollController
An
IlvBasicTimeScrollController
coordinates the time scrolling of 1 or moreIlvTimeScrollable
objects.
ilog.views.gantt.IlvBasicTimeScrollSupport
IlvBasicTimeScrollSupport
provides basic support forIlvTimeScrollable
implementations.
ilog.views.gantt.IlvGanttProduct
This class contains several utility methods dealing with product packaging of the JViews Gantt product.
ilog.views.gantt.IlvTimeScrollSupport
IlvTimeScrollableSupport
provides calculation support forIlvTimeScrollable
implementations.
ilog.views.gantt.event.HeaderHeightChangedEvent
A
HeaderHeightChangedEvent
is fired by aHierarchy chart
to notify interested objects when the height of a specific header has been modified.
ilog.views.gantt.event.HeaderListener
The
HeaderListener
interface should be implemented by an object that needs to be notified about header changes.
ilog.views.gantt.graphic.IlvActivityLayout
An
IlvActivityLayout
defines a strategy for how activity graphics are arranged within anIlvGanttRow
.
ilog.views.gantt.graphic.IlvActivityLogisticLayout
An
IlvActivityLogisticLayout
is designed to arrange concurrent activities in a Gantt row.
ilog.views.gantt.graphic.IlvActivitySimpleLayout
IlvSimpleActivityLayout
is a basic implementation ofIlvActivityLayout
that arranges all activity graphics in a row to the full height of the row, minus some vertical margins.
ilog.views.gantt.graphic.grid.IlvWeekendGrid
IlvWeekendGrid
extendsIlvVerticalGanttGrid
to highlight the weekend days of the calendar.
ilog.views.gantt.model.IlvNullActivity
IlvNullActivity
is a special implementation of theIlvActivity
interface that is used as theroot activity
of aGantt data model
when a root has not been explicitly specified.
ilog.views.gantt.model.IlvNullResource
IlvNullResource
is a special implementation of theIlvResource
interface that is used as theroot resource
of aGantt data model
when a root has not been explicitly specified.
ilog.views.gantt.property.IlvPropertyComparator
IlvPropertyComparator
compares the value of a bean or user-defined property on two data model objects.
ilog.views.gantt.property.IlvPropertyDescriptor
IlvPropertyDescriptor
extends the capabilities of the standardjava.lang.reflect.PropertyDescriptor
to describe a user-defined property of anIlvUserPropertyHolder
or a standard Java Bean property.
ilog.views.gantt.property.IlvUserPropertyHolder
IlvUserPropertyHolder
defines the behavior of a data model entity that supports user-defined properties.
ilog.views.gantt.scale.IlvBasicTimeScaleVisibilityPolicy
Implements a default visibility policy for the
IlvTimeScale
.
ilog.views.gantt.scale.IlvGanttTimeScaleVisibilityPolicy
Implements a visibility policy for the
IlvGanttTimeScale
.
ilog.views.gantt.scale.IlvTimeScaleVisibilityPolicy
Specifies a visibility policy for the
IlvTimeScale
.
ilog.views.gantt.scale.IlvTimeWidthVisibilityPredicate
The
IlvTimeWidthVisibilityPredicate
class provide a way to specify a condition based on the size of some unit of time.
ilog.views.gantt.scale.IlvVisibilityPredicate
The
IlvVisibilityPredicate
interface provides a way to specify a predicate, which should be evaluated.
ilog.views.gantt.scale.IlvVisibleTimeScaleRows
The
IlvVisibleTimeScaleRows
class provides a way to specify a predicate associated to a list of rows.
ilog.views.gantt.swing.IlvJTable.DefaultToolTipPolicy
DefaultToolTipPolicy
implements a default tool tip strategy for aJTable
.
ilog.views.gantt.swing.IlvJTable.ToolTipPolicy
ToolTipPolicy
defines the strategy that aJTable
will use to compute the text and positioning of its tool tips.
IlvDuration
now implements the Comparable
interface.
compareTo(Object)
: Returns the result of
comparing this duration to another object. ilog.views.gantt.IlvGanttConfiguration
getRowHeight(IlvHierarchyNode)
: Returns
the height of the specified row. setRowHeight(IlvHierarchyNode, int)
:
Sets the height of the specified row. isFixedRowHeight()
: Returns whether all
rows are set to have the same fixed height. ilog.views.gantt.IlvGanttModelUtil
activityPreorderIterator(IlvGanttModel)
:
Returns an iterator that will traverse all of the activities of a data
model in preorder. resourcePreorderIterator(IlvGanttModel)
:
Returns an iterator that will traverse all of the resources of a data
model in preorder. ilog.views.gantt.IlvHierarchyChart
Implements the IlvAcceptFunctions
interface, so that custom CSS functions can be registered by calling
the registerFunction
method.
addHeaderListener(HeaderListener)
: Adds
the specified listener to receive header change events from this chart.
getHeaderHeight()
: Returns the header
height of the time scale for synchronization. getInsideBorder()
: Returns the inside
border of the chart. setInsideBorder(Border)
: Sets the inside
border of the chart. getProject()
: Returns the project file
url loaded by this chart. setProject(URL)
: Sets the project file
url of this chart. getRowHeight(IlvHierarchyNode)
: Returns
the height of the specified row. setRowHeight(IlvHierarchyNode, int)
:
Sets the height of the specified row. getStylingManager()
: Returns the styling
manager for this chart. isConstantZoomFactorOnWidthChange()
:
Returns whether the chart's visible duration will be modified when its
width changes in order to maintain a constant zoom factor. setConstantZoomFactorOnWidthChange(boolean)
:
Sets whether the chart's visible duration will be modified when its
width changes in order to maintain a constant zoom factor. isFixedRowHeight()
: Returns whether all
rows in the chart are set to have the same fixed height. isMultipleRowActivityGraphicsEnabled()
:
Returns whether activity graphics
are allowed to be drawn
over multiple rows. setMultipleRowActivityGraphicsEnabled(boolean)
:
Enables or disables the capability of activity graphics
drawing over multiple
rows. registerFunction(IlvCSSFunction)
:
Registers another function into the Cascading Style Sheets engine. removeHeaderListener(HeaderListener)
:
Removes the specified listener so that it will no longer receive header
change events from this chart. ilog.views.gantt.IlvScheduleChart
getActivityLayout
method now returns an IlvActivityLayout
instead of an int
.
setActivityLayout(IlvActivityLayout)
:
Sets the activity layout used in the Gantt sheet of the Schedule chart.
ilog.views.gantt.IlvTimeScrollUtil
getPosition(Date, IlvTimeConverter, double, double)
:
Returns the x position, in pixels, that corresponds to the specified
time. getPosition(Date, IlvTimeConverter, IlvTransformer)
:
Returns the x position, in pixels, that corresponds to the specified
time. getTime(int, IlvTimeConverter, double, double)
:
Returns the time that corresponds to the specified x position. getTime(int, IlvTimeConverter, IlvTransformer)
:
Returns the time that corresponds to the specified x position. getX0(IlvTimeConverter, Date, int, double)
:
Computes the offset used to transform an x position in world
coordinates to its corresponding position in pixel display coordinates.
getX11(IlvTimeConverter, Date, IlvDuration, int)
:
Computes the scaling factor used to transform an x position in world
coordinates to its corresponding position in pixel display coordinates.
trimInterval(IlvTimeInterval, Date, Date)
:
Constrains the specified time interval to fit within the
specified min/max range. trimInterval(Date, IlvDuration, Date, Date)
:
Constrains the specified time interval to fit within the
specified min/max range. ilog.views.gantt.IlvVerticalDisplayController
getRowHeight(IlvHierarchyNode)
: Returns
the height of the specified row. setRowHeight(IlvHierarchyNode, int)
:
Sets the height of the specified row. isFixedRowHeight()
: Returns whether all
rows are set to have the same fixed height. ilog.views.gantt.event.GanttModelChangedEvent
GanttModelChanged
has been generalized so
that it can be fired by other types of objects, not just the Gantt
configuration.ilog.views.gantt.event.RowHeightChangedEvent
RowHeightChangedEvent(IlvGanttConfiguration,
IlvHierarchyNode, int, int)
: Creates a new RowHeightChangedEvent
generated by the specified
Gantt configuration that can be used to notify its registered vertical expansion listeners
when
a row height has been modified. getRow()
: Returns the row whose height
has changed, or null
if the height has
globally changed for all rows. ilog.views.gantt.event.VisibleDurationChangedEvent
VisibleDurationChangedEvent(IlvTimeScrollable,
IlvDuration, boolean)
: Creates a new VisibleDurationChangedEvent
generated by the
specified scrollable object. isViewResized()
: Returns whether the
duration change is the result of a gui component that has resized and
has changed its duration to maintain a constant zoom factor. ilog.views.gantt.graphic.IlvActivityGraphic
setDefinitionRect(IlvRect)
: Sets the
definition rectangle of the activity graphic. ilog.views.gantt.graphic.IlvConstraintGraphic
Added the new arrowSize bean
property, which can be set via CSS.
getArrowSize(float, IlvTransformer)
:
Returns the size of the arrow for the corresponding IlvTransformer
and lineWidth
.
setArrowSize(float)
: Sets the size of
the arrow in view coordinates. ilog.views.gantt.graphic.IlvGanttRow
getActivityGraphics()
: Returns an array
of the activity graphics in the row. getActivityLayout()
: Returns the
activity layout of the row. setActivityLayout(IlvActivityLayout)
:
Sets the activity layout of the row. ilog.views.gantt.graphic.IlvGanttSheet
removeLayer()
method of the Gantt sheet's
manager
now throws an
exception if the user attempts to remove one of the four predefined
layers. See Incompatibilities for
more details.getActivityLayout
method now returns an IlvActivityLayout
instead of an int
.
activityGraphicsIterator(IlvActivity)
:
Returns an iterator over the activity graphics
representing the specified
activity in the Gantt sheet. getActivityGraphicLayerIndex()
:
Returns
the index of the layer that contains the activity graphics
. getConstraintGraphicLayerIndex()
:
Returns the index of the layer that contains the constraint graphics
. getHorizontalGridLayerIndex()
:
Returns
the index of the layer that contains the horizontal grid
. getPosition(Date)
: Returns the x
position, in pixels, that corresponds to the specified time. getTime(int)
: Returns the time that
corresponds to the specified x position. getVerticalGridLayerIndex()
: Returns the
index of the layer that contains the vertical grid
. isConstantZoomFactorOnWidthChange()
:
Returns whether the Gantt sheet's visible duration will be modified
when its width changes in order to maintain a constant zoom factor. setConstantZoomFactorOnWidthChange(boolean)
:
Sets whether the Gantt sheet's visible duration will be modified when
its width changes in order to maintain a constant zoom factor. isMultipleRowActivityGraphicsEnabled()
:
Returns whether activity graphics
are allowed to be drawn
over multiple rows. setMultipleRowActivityGraphicsEnabled(boolean)
:
Enables or disables the capability of activity graphics
drawing over multiple
rows. setActivityLayout(IlvActivityLayout)
:
Sets the activity layout used for activity rows in the sheet. swapLayers(int, int)
: Swaps two layers
and changes their indices. ilog.views.gantt.graphic.grid.IlvGanttGridRenderer
getGridShapes(Graphics, boolean, IlvGanttGridContext)
:
Returns the grid shapes used to draw the grid in the specified context
as an array of Shape
. ilog.views.gantt.graphic.grid.IlvHorizontalGanttGrid
getGridShapes(Graphics, boolean, IlvGanttGridContext)
:
Returns the grid shapes used to draw the grid in the specified context
as an array of Shape
. ilog.views.gantt.graphic.grid.IlvVerticalGanttGrid
getGridShapes(Graphics, boolean, IlvGanttGridContext)
:
Returns the grid shapes used to draw the grid in the specified context
as an array of Shape
. ilog.views.gantt.graphic.interactor.IlvActivityGraphicMoveInteractor
isSnapGhostToRowsEnabled()
: Returns
whether ghost graphics are snapped to the nearest row when the mouse is
dragged vertically and the IlvGanttSelectInteractor
that created this
interactor is in Ghost Move mode. setSnapGhostToRowsEnabled(boolean)
: Sets
whether ghost graphics are snapped to the nearest row when the mouse is
dragged vertically and the IlvGanttSelectInteractor
that created this
interactor is in Ghost Move mode. ilog.views.gantt.graphic.renderer.IlvActivityCompositeRenderer
getRendererContaining(IlvActivityGraphic, IlvPoint,
IlvPoint, IlvTransformer)
: Returns which of the
composite renderer's children contains the specified point. ilog.views.gantt.graphic.renderer.IlvActivityRenderer
getBounds
method of an activity renderer no longer requires that you handle the
special case of
computing the "uncompressible" size of the graphic. This simplification
to the computation of the renderer's bounding box is backwards
compatible. There is no need to remove existing code that computes the
uncompressible size, except for performance reasons.
setMultipleRowActivityGraphicsEnabled
method of the Gantt and Schedule charts. Multi-row rendering can be
implemented by customizing the row
layout algorithm or by customizing the getBounds
method of the renderer. Multi-row activity rendering is disabled by
default. Enabling this feature extracts a slight performance penalty.ilog.views.gantt.model.IlvAbstractGanttModel
activityPreorderIterator()
: Returns an
iterator that will traverse all activities in preorder. resourcePreorderIterator()
: Returns an
iterator that will traverse all resources in preorder. ilog.views.gantt.model.IlvSimpleActivityFactory
ilog.views.gantt.model.messages
resource file. ilog.views.gantt.model.IlvSimpleResourceFactory
ilog.views.gantt.model.messages
resource file.ilog.views.gantt.model.general.IlvGeneralActivity
IlvUserPropertyHolder
interface, which identifies data model objects that support
user-defined properties.
propertyNameIterator()
: Returns an
iterator over all the property names of this activity. ilog.views.gantt.model.general.IlvGeneralActivity.Factory
ilog.views.gantt.model.messages
resource file.ilog.views.gantt.model.general.IlvGeneralConstraint
IlvUserPropertyHolder
interface, which identifies data model objects that support
user-defined properties.
propertyNameIterator()
: Returns an
iterator over all the property names of this constraint. ilog.views.gantt.model.general.IlvGeneralReservation
IlvUserPropertyHolder
interface, which identifies data model objects that support
user-defined properties.
propertyNameIterator()
: Returns an
iterator over all the property names of this reservation. ilog.views.gantt.model.general.IlvGeneralResource
IlvUserPropertyHolder
interface, which identifies data model objects that support
user-defined properties.
propertyNameIterator()
: Returns an
iterator over all the property names of this resource. ilog.views.gantt.model.general.IlvGeneralResource.Factory
ilog.views.gantt.model.messages
resource file.ilog.views.gantt.scale.IlvBasicTimeScaleRow
getHeight()
: This methods returns the
height that was set for this row. setHeight(int)
: This method sets the
height of the row. ilog.views.gantt.scale.IlvTimeScale
IlvTimeScaleVisibilityPolicy
.
The basic visibility policy implementation, IlvBasicTimeScaleVisibilityPolicy
,
is configured with sets of rows, IlvVisibleTimeScaleRows
,
and the predicate that determines when the row set is visible, IlvVisibilityPredicate
.
IlvTimeScale(IlvTimeScaleVisibilityPolicy)
:
Creates a new instance of an IlvTimeScale
with the specified visibility policy. adjustRowsVisibility(Graphics,
IlvTimeScale.PaintContext)
: Adjusts when needed which
rows are visible, based on the visibility policy
. getTotalRowSize()
: This method returns
the size of the entire array of IlvTimeScaleRow
objects. getVisibilityPolicy()
: Returns the
visibility policy of the time scale. setVisibilityPolicy(IlvTimeScaleVisibilityPolicy)
:
Sets the visibility policy of the time scale, and adjusts the rows if
needed. isConstantZoomFactorOnWidthChange()
:
Returns whether the scale's visible duration will be modified when its
width changes in order to maintain a constant zoom factor. setConstantZoomFactorOnWidthChange(boolean)
:
Sets whether the scale's visible duration will be modified when its
width changes in order to maintain a constant zoom factor. isVisibilityAdjusted()
: Gets the time
scale visibity adjusted status. setVisibilityAdjusted(boolean)
: Sets
whether the rows visibility should be adjusted or not.It has only a
meaning when there is a visibility policy associated to the time scale.
ilog.views.gantt.scale.IlvTimeScale.PaintContext
IlvTimeScale.PaintContext(IlvTimeScale, Date,
IlvDuration, int, int, Font)
: Creates a PaintContext
that will paint a time inverval of
the time scale within a viewport. getLocation(Date)
: Returns the x
position in screen coordinates that corresponds to the specified time. getTime(int)
: Returns the time that
corresponds to the specified x position in screen coordinates. getTimeScale()
: Gets the time scale from
the paint context ilog.views.gantt.scale.IlvYearTimeScaleRow
computeDateText(Date)
: Computes and
returns the text that should be drawn for the interval beginning at the
specified time
. getYearStep()
: Gets the number of years
in an interval. setYearStep(int)
: Sets the number of
years for an interval. ilog.views.gantt.swing.IlvAbstractJTableColumn
getValueAsText(IlvHierarchyNode)
:
Returns the text value that is displayed at the cell intersection of
this column and the specified row. ilog.views.gantt.swing.IlvJTable
The
table's default cell renderer is now an instance of IlvDefaultTableCellRenderer
.setToolTipPolicy
method to set a ToolTipPolicy
on the table.
editCellAt(int, int)
: Starts editing the
cell at row
and column
,
if the cell is editable. getToolTipPolicy()
: Returns the table's
tool tip policy. setToolTipPolicy(IlvJTable.ToolTipPolicy)
:
Sets the table's tool tip policy. processKeyBinding(KeyStroke, KeyEvent, int, boolean)
:
This method is invoked to process the key bindings for ks
as the resultof the KeyEvent
e
. ilog.views.gantt.swing.IlvJTableColumn
getValueAsText(IlvHierarchyNode)
:
Returns the text value that is displayed at the cell intersection of
this column and the specified row. ilog.views.gantt.swing.IlvJTableHeader
computePreferredHeight(IlvHierarchyChart)
:
Computes the preferred height of the table header so that it will
visually match the specified chart's header height
. ilog.views.gantt.swing.IlvJTree
convertValueToText(Object, boolean, boolean, boolean,
int, boolean)
: Returns the text that will be rendered
for the specified row. getBasicUI()
: Returns the basic L&F
object that renders this tree. getRowHeight(IlvHierarchyNode)
: Returns
the height of the specified row in the tree. ilog.views.gantt.swing.IlvJTreeRenderPolicy
getValueAsText(IlvHierarchyNode)
:
Returns the text value of the specified row. ilog.views.gantt.swing.IlvJTreeStringRenderPolicy
getValueAsText(IlvHierarchyNode)
:
Returns the text value of the specified row. ilog.views.gantt.swing.IlvTreeColumn
IlvTreeColumn
now translates tool tip mouse
events before delegating them to the internal JTree
getValueAsText(IlvHierarchyNode)
:
Returns the text value that is displayed at the cell intersection of
this column and the specified row. ilog.views.gantt.xml.IlvGanttDocumentReader
IlvNullActivity
and IlvNullResource
are automatically substituted as the root
activity and the root
resource of the data model. Upon writing the data model, instances
of IlvNullActivity
and IlvNullResource
are automatically omitted.
readGanttModel(Element, IlvGanttModel)
:
Reads an IlvGanttModel
from a given Element
. ilog.views.gantt.xml.IlvGanttDocumentWriter
IlvNullActivity
and IlvNullResource
are automatically substituted as the root
activity and the root
resource of the data model. Upon writing the data model, instances
of IlvNullActivity
and IlvNullResource
are automatically omitted.
writeGanttModel(Element, IlvGanttModel)
:
Writes the content of an IlvGanttModel
to the given Element
. ilog.views.gantt.xml.IlvGanttReaderException
getMessage()
: Returns the detailed
description of this exception. IlvResourceDataChart
component.IlvGeneralActivity
class, instead of using a custom subclass of IlvSimpleActivity
.IlvTimeScale
.