|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ilog.views.event.NamedPropertyEvent
public final class NamedPropertyEvent
An NamedPropertyEvent event is delivered to objects
that are listening to additions and removals of named properties of a
graphic object.
NamedPropertyListener,
IlvGraphic.setNamedProperty(ilog.views.IlvNamedProperty),
IlvGraphic.removeNamedProperty(java.lang.String),
Serialized Form| Field Summary | |
|---|---|
static int |
PROPERTY_REMOVED
The type of the event when a property is removed from the graphic object. |
static int |
PROPERTY_SET
The type of the event when a property is set at the graphic object. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
NamedPropertyEvent(IlvGraphic obj,
IlvNamedProperty oldValue,
IlvNamedProperty newValue)
Creates the event. |
|
| Method Summary | |
|---|---|
IlvGraphic |
getGraphicObject()
Returns the graphic object that caused the event. |
IlvNamedProperty |
getNewValue()
Returns the new named property. |
IlvNamedProperty |
getOldValue()
Returns the old named property. |
String |
getPropertyName()
Returns the name of the named property that caused the event. |
int |
getType()
Returns the type of the event. |
void |
setNewValue(IlvNamedProperty p)
Changes the new named property. |
void |
setOldValue(IlvNamedProperty p)
Changes the old named property. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PROPERTY_SET
public static final int PROPERTY_REMOVED
| Constructor Detail |
|---|
public NamedPropertyEvent(IlvGraphic obj,
IlvNamedProperty oldValue,
IlvNamedProperty newValue)
null.
obj - The source of the event.oldValue - The old named property.newValue - The new named property.| Method Detail |
|---|
public final IlvGraphic getGraphicObject()
public final int getType()
PROPERTY_SET,
PROPERTY_REMOVEDpublic final String getPropertyName()
public final IlvNamedProperty getOldValue()
null if the named property was previously not set.
When removing a named property, this is the old value that was previously
set.
IlvGraphic.setNamedProperty(ilog.views.IlvNamedProperty),
IlvGraphic.removeNamedProperty(java.lang.String)public final void setOldValue(IlvNamedProperty p)
public final IlvNamedProperty getNewValue()
null.
IlvGraphic.setNamedProperty(ilog.views.IlvNamedProperty),
IlvGraphic.removeNamedProperty(java.lang.String)public final void setNewValue(IlvNamedProperty p)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||