public interface IlvVerticalExpandable extends VerticalExpansionListener2
IlvVerticalExpandable
interface defines the behavior of all
the ui components that can have their row expand/collapse and visibility
behavior coordinated by an IlvGanttConfiguration
. Typically, a user
interface component does not implement this interface directly. Instead, an
adapter class is created. This class implements this interface and mediates
between the component and the Gantt
configuration
. An IlvVerticalExpandable
is added to a Gantt
configuration by calling the
IlvGanttConfiguration.addVerticalExpandable(ilog.views.gantt.IlvVerticalExpandable)
method.Modifier and Type | Method and Description |
---|---|
void |
ganttModelChanged(GanttModelChangedEvent event)
This method is invoked by the
Gantt
configuration when the data model has been replaced. |
void |
setExpandableGanttConfigurationImpl(IlvGanttConfiguration ganttConfig)
Sets the Gantt configuration that this ui component is coordinating
with.
|
void |
validateRowHeights()
Ensures that the heights of all rows are up-to-date.
|
rootRowVisibilityChanged
rowCollapsed, rowExpanded, rowHeightChanged, rowMoved, rowsInserted, rowsRemoved
void setExpandableGanttConfigurationImpl(IlvGanttConfiguration ganttConfig)
IlvGanttConfiguration.addVerticalExpandable(ilog.views.gantt.IlvVerticalExpandable)
method. The expandable component should initially synchronize its display
with the Gantt configuration at this point. Note however, that the Gantt
configuration may or may not have a valid data model at this time and this
must be taken into account. The expandable will be subsequently informed
when a data model is set or replaced via the ganttModelChanged(ilog.views.gantt.event.GanttModelChangedEvent)
event.
Warning: This method is considered to be part of an
IlvVerticalExpandable
's internal implementation and is not a
public API. Only the Gantt configuration should invoke this method.
ganttConfig
- The Gantt configuration that this component
is being added to, or null
if this component is being removed
from its Gantt configuration.void ganttModelChanged(GanttModelChangedEvent event)
Gantt
configuration
when the data model has been replaced. Logically, the root
row has also changed as a result (unless both the old and new gantt data
models have a null
root node). However, separate
VerticalExpansionListener.rowsInserted(ilog.views.gantt.event.RowsInsertedEvent)
or VerticalExpansionListener.rowsRemoved(ilog.views.gantt.event.RowsRemovedEvent)
events will not be
invoked by the Gantt configuration as a result of the data model change
being reported.event
- The event.void validateRowHeights()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.