public class HeaderHeightChangedEvent extends EventObject
HeaderHeightChangedEvent
is fired by a
Hierarchy chart
to notify
interested objects when the height of a specific header has been modified.
Objects interested in receiving this event can register by adding a
HeaderListener
through the
IlvHierarchyChart.addHeaderListener(ilog.views.gantt.event.HeaderListener)
method.source
Constructor and Description |
---|
HeaderHeightChangedEvent(Component header,
int oldHeight,
int newHeight)
Creates a new
HeaderHeightChangedEvent that can be used to
notify registered HeaderListener
when the height of a specific component has been modified. |
Modifier and Type | Method and Description |
---|---|
Component |
getHeader()
Returns the
Component where the event originated. |
int |
getNewHeight()
Returns the new component height value.
|
int |
getOldHeight()
Returns the old component height value.
|
getSource, toString
public HeaderHeightChangedEvent(Component header, int oldHeight, int newHeight)
HeaderHeightChangedEvent
that can be used to
notify registered HeaderListener
when the height of a specific component has been modified.header
- The Component
where the event originated.oldHeight
- The old component height.newHeight
- The new component height.public Component getHeader()
Component
where the event originated.Component
where the event originated.public int getOldHeight()
public int getNewHeight()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.