public class RootRowVisibilityChangedEvent extends PropertyChangeEvent
RootRowVisibilityChangedEvent
is fired by a Gantt configuration
to notify interested VerticalExpansionListener2
s when the
root row has been shown or hidden. You can register a VerticalExpansionListener2
by calling the addVerticalExpansionListener
method in IlvHierarchyChart
or IlvGanttConfiguration
.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name of "rootRowVisibility" that is used for events of this class.
|
source
Constructor and Description |
---|
RootRowVisibilityChangedEvent(IlvGanttConfiguration ganttConfig,
boolean rootVisible)
Creates a new
RootRowVisibilityChangedEvent generated by the specified
Gantt configuration that can be used to notify its registered vertical expansion
listeners when the root row has been shown or hidden. |
Modifier and Type | Method and Description |
---|---|
IlvGanttConfiguration |
getGanttConfiguration()
Returns the Gantt configuration where the event originated.
|
boolean |
getNewRootVisible()
Returns the new visibility of the root row.
|
boolean |
getOldRootVisible()
Returns the old visibility of the root row.
|
IlvHierarchyNode |
getRootRow()
Returns the root row.
|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
getSource
public static final String PROPERTY_NAME
public RootRowVisibilityChangedEvent(IlvGanttConfiguration ganttConfig, boolean rootVisible)
RootRowVisibilityChangedEvent
generated by the specified
Gantt configuration that can be used to notify its registered vertical expansion
listeners
when the root row has been shown or hidden.ganttConfig
- The Gantt configuration where the event originated.rootVisible
- The new visibility of the root row, true
indicates
that it became shown and false
indicates that it
became hidden.public IlvGanttConfiguration getGanttConfiguration()
IlvGanttConfiguration
where the event originated.public boolean getOldRootVisible()
true
indicates that it was
previously shown and false
indicates that it was previously
hidden.public boolean getNewRootVisible()
true
indicates that it has
become shown and false
indicates that it has become hidden.public IlvHierarchyNode getRootRow()
null
if the data model associated with the Gantt
configuration is empty.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.