com.sas.mdtable
Class AxisLabelChangedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--com.sas.collection.ContentsChangedEvent
|
+--com.sas.mdtable.AxisLabelChangedEvent
- All Implemented Interfaces:
- public class AxisLabelChangedEvent
- extends ContentsChangedEvent
Defines a way for a multidimensional table model,
StaticMultidimensionalTableInterface, to indicate that
one of its axis labels has changed. AxisChangedEvent is a subclass of
ContentsChangedEvent, so it can be sent to the standard list of
ContentsChangedEvent listeners. Multidimensional views, such as
MultidimensionalTableView, that are aware of AxisLabelChangedEvent will
be able to update themselves more efficiently by only updating the
portion of the view that is dependent on this label rather than the
complete update that is required with a generic ContentsChangedEvent.
- See Also:
StaticMultidimensionalTableInterface,
MultidimensionalTableView,
AxisChangedEvent, Serialized Form
|
Field Summary |
static int |
COLLAPSED
howChanged constant which indicates that the label
has been collapsed. |
static int |
EXPANDED
howChanged constant which indicates that the label
has been expanded. |
int |
howChanged
Indicates how the label has changed. |
AxisLabelInterface |
label
The label that has changed; will never be null. |
EXPANDED
public static final int EXPANDED
- howChanged constant which indicates that the label
has been expanded.
- See Also:
howChanged
COLLAPSED
public static final int COLLAPSED
- howChanged constant which indicates that the label
has been collapsed.
- See Also:
howChanged
label
public final AxisLabelInterface label
- The label that has changed; will never be null.
howChanged
public final int howChanged
- Indicates how the label has changed.
- See Also:
EXPANDED,
COLLAPSED
AxisLabelChangedEvent
public AxisLabelChangedEvent(Object source,
AxisLabelInterface label,
int howChanged)
- Constructor.
- Parameters:
source - The object, usually an instance of
com.sas.mdtable.StaticMultidimensionalTableInterface,
whose axis has changed.label - The label that has changed.howChanged - Indicates how the label has changed.
(Use one of the pre-defined static constants.)
Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 02:03:23