public interface VerticalExpansionListener extends EventListener
VerticalExpansionListener
interface should be implemented
by an object that needs to be notified about row expand, collapse, insert,
and delete behavior.
You can register a VerticalExpansionListener
by calling the addVerticalExpansionListener
method in
IlvHierarchyChart
or
IlvGanttConfiguration
.
Note, that beginning with Perforce JViews 8.5, the extended VerticalExpansionListener2
interface is provided. It is generally desirable to implement that more complete
interface instead of this one.
IlvVerticalExpandable
Modifier and Type | Method and Description |
---|---|
void |
rowCollapsed(RowCollapsedEvent event)
This method is invoked by the
Gantt configuration when a row has been collapsed in the data tree. |
void |
rowExpanded(RowExpandedEvent event)
This method is invoked by the
Gantt configuration when a row has been expanded in the data tree. |
void |
rowHeightChanged(RowHeightChangedEvent event)
This method is invoked by the
Gantt configuration when the row height has been changed. |
void |
rowMoved(RowMovedEvent event)
This method is invoked by the
Gantt configuration when a row has been moved within the data tree. |
void |
rowsInserted(RowsInsertedEvent event)
This method is invoked by the
Gantt configuration when children have been inserted into a common parent
row in the data tree. |
void |
rowsRemoved(RowsRemovedEvent event)
This method is invoked by the
Gantt configuration when children have been removed from a common parent
row in the data tree. |
void rowsInserted(RowsInsertedEvent event)
Gantt configuration
when children have been inserted into a common parent
row in the data tree.
This is the same as an ActivitiesInsertedEvent
or
ResourcesInsertedEvent
, but with additional visibility information
about the inserted rows. All, some, or none of the newly inserted rows
into the data model may actually be visible.event
- The event.void rowsRemoved(RowsRemovedEvent event)
Gantt configuration
when children have been removed from a common parent
row in the data tree.
This is the same as ActivitiesRemovedEvent
or
ResourcesRemovedEvent
, but with additional visibility information
about the deleted rows. All, some, or none of the rows removed from the
data model may have been visible.event
- The event.void rowMoved(RowMovedEvent event)
Gantt configuration
when a row has been moved within the data tree.
This is the same as ActivityMovedEvent
or
ResourceMovedEvent
, but with additional visibility information
about the row that was moved.event
- The event.void rowExpanded(RowExpandedEvent event)
Gantt configuration
when a row has been expanded in the data tree.event
- The event.void rowCollapsed(RowCollapsedEvent event)
Gantt configuration
when a row has been collapsed in the data tree.event
- The event.void rowHeightChanged(RowHeightChangedEvent event)
Gantt configuration
when the row height has been changed.event
- The event.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.