public class RowCollapsedEvent extends EventObject
RowCollapsedEvent
is fired on behalf of a Gantt configuration by
an IlvVerticalExpansionMaster
to notify all registered
expandable UI components when a node has been collapsed within the data tree.source
Constructor and Description |
---|
RowCollapsedEvent(IlvGanttConfiguration ganttConfig,
IlvHierarchyNode node,
IlvHierarchyNode[] hiddenNodes,
int firstHiddenRow)
Constructs a new
RowCollapsedEvent generated by the
specified Gantt configuration that can be used to notify its
registered IlvVerticalExpandable UI components when a node
has been collapsed within the tree hierarchy. |
Modifier and Type | Method and Description |
---|---|
IlvHierarchyNode |
getCollapsedNode()
Returns the node that was collapsed.
|
int |
getFirstHiddenRow()
Returns the first row that was hidden as a result of this collapse event.
|
IlvGanttConfiguration |
getGanttConfiguration()
Returns the Gantt configuration where the event originated.
|
IlvGanttModel |
getGanttModel()
Returns the data model currently being displayed by the
Gantt configuration . |
int |
getHiddenNodeCount()
Returns the number of previous visible nodes that were hidden as a result
of this expansion event.
|
IlvHierarchyNode[] |
getHiddenNodes()
Returns the array of nodes that were hidden as a result of this
expansion event.
|
int |
getHiddenRowCount()
Returns the number of previously visible rows that were hidden as a result
of this collapse event.
|
int |
getLastHiddenRow()
Returns the last row that was hidden as a result of this collapse event.
|
getSource, toString
public RowCollapsedEvent(IlvGanttConfiguration ganttConfig, IlvHierarchyNode node, IlvHierarchyNode[] hiddenNodes, int firstHiddenRow)
RowCollapsedEvent
generated by the
specified Gantt configuration that can be used to notify its
registered IlvVerticalExpandable
UI components when a node
has been collapsed within the tree hierarchy.ganttConfig
- The Gantt configuration where the event originates.node
- The node that has been collapsed.hiddenNodes
- The array of IlvHierarchyNode
's that were
hidden as a result of this collapse event, ordered by their previous row
number, from lowest to highest.firstHiddenRow
- The first row that was hidden as a result of this
collapse event.public IlvGanttConfiguration getGanttConfiguration()
IlvGanttConfiguration
where the event originated.public IlvGanttModel getGanttModel()
Gantt configuration
.IlvGanttModel
currently displayed by the Gantt
configuration.public IlvHierarchyNode getCollapsedNode()
IlvHierarchyNode
that was collapsed.public IlvHierarchyNode[] getHiddenNodes()
IlvHierarchyNode
.public int getHiddenNodeCount()
getHiddenNodes().length
.IlvHierarchyNode
.getHiddenNodes()
public int getFirstHiddenRow()
public int getLastHiddenRow()
public int getHiddenRowCount()
getHiddenNodeCount()
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.