public class LabelRendererPropertyEvent extends PropertyChangeEvent
IlvLabelRenderer
.Modifier and Type | Field and Description |
---|---|
static int |
AFFECTS_BOUNDS
Bit mask denoting the effect that the size or position of the labels have
changed, that is, a recomputation of the geometry is needed.
|
static int |
AFFECTS_DRAWING
Bit mask denoting the effect that the rendering has changed, that is,
a repaint is needed.
|
source
Constructor and Description |
---|
LabelRendererPropertyEvent(IlvLabelRenderer source,
String propertyName,
Object oldValue,
Object newValue,
int effects)
Creates a property change event for a label renderer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
affectsDrawing()
Returns
true if this event affects the rendering of the
labels. |
boolean |
affectsSizes()
Returns
true if this event affects the sizes of the labels. |
int |
getEffects()
Returns the bit mask of the effects of this event.
|
IlvLabelRenderer |
getLabelRenderer()
Returns the label renderer which has changed.
|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
getSource
public static final int AFFECTS_DRAWING
public static final int AFFECTS_BOUNDS
public LabelRendererPropertyEvent(IlvLabelRenderer source, String propertyName, Object oldValue, Object newValue, int effects)
source
- The label renderer which has changed.propertyName
- The name of the bean property whose value has changed.oldValue
- The previous value of the bean property.newValue
- The new value of the bean property.effects
- A bit mask consisting possibly of AFFECTS_DRAWING
and AFFECTS_BOUNDS
.public IlvLabelRenderer getLabelRenderer()
public int getEffects()
affectsDrawing()
,
affectsSizes()
public boolean affectsDrawing()
true
if this event affects the rendering of the
labels.getEffects()
public boolean affectsSizes()
true
if this event affects the sizes of the labels.getEffects()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.