com.objex.panywhere
Class LegendChangeEvent
java.lang.Object
java.util.EventObject
com.objex.panywhere.LegendChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class LegendChangeEvent
- extends java.util.EventObject
The event fired by the Progeny Anywhere control when LegendItems are added, removed and/or changed
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
LegendChangeEvent(LegendItem aItem,
java.lang.Object source)
Creates a new instance of LegendChangeEvent |
LegendChangeEvent(java.lang.Object source,
LegendItem aOldItem,
LegendItem aNewItem)
Creates a new instance of LegendChangeEvent |
LegendChangeEvent(java.lang.Object source,
LegendItem aChangingItem,
java.lang.String aChangingPropertyName,
java.lang.Object aOldValue,
java.lang.Object aNewValue)
Creates a new instance of LegendChangeEvent |
| 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 |
LegendChangeEvent
public LegendChangeEvent(LegendItem aItem,
java.lang.Object source)
- Creates a new instance of LegendChangeEvent
- Parameters:
aItem - The LegendItem for which the event is being firedsource - The source of the event object
LegendChangeEvent
public LegendChangeEvent(java.lang.Object source,
LegendItem aChangingItem,
java.lang.String aChangingPropertyName,
java.lang.Object aOldValue,
java.lang.Object aNewValue)
- Creates a new instance of LegendChangeEvent
- Parameters:
aChangingItem - The LegendItem for which the event is being firedsource - The source of the event objectaChangingPropertyName - The name of the LegendItem property that is in the process of changingaOldValue - The old value for the LegendItem property that is in the process of changingaNewValue - The new value for the LegendItem property that is in the process of changing
LegendChangeEvent
public LegendChangeEvent(java.lang.Object source,
LegendItem aOldItem,
LegendItem aNewItem)
- Creates a new instance of LegendChangeEvent
- Parameters:
aOldItem - The LegendItem with the properties of the item before the changesaNewItem - The LegendItem with the properties of the item after the changes were appliedsource - The source of the event object
getLegendItem
public LegendItem getLegendItem()
- Returns:
- The LegendItem for which the event was fired
getOldLegendItem
public LegendItem getOldLegendItem()
- Returns:
- The LegendItem with properties before the changes were applied
getNewLegendItem
public LegendItem getNewLegendItem()
- Returns:
- The LegendItem with properties before the changes were applied
getChangingProperty
public java.lang.String getChangingProperty()
- Returns:
- The name of the LegendItem property that is in the process of changing if indeed this event was fired to
for a change in the LegendItem. In all other cases, ther return value will be null.
getChangingPropertyNewValue
public java.lang.Object getChangingPropertyNewValue()
- Returns:
- The new value for the LegendItem property that is in the process of changing if indeed this event was fired to
for a change in the LegendItem. In all other cases, ther return value will be null.
getChangingPropertyOldValue
public java.lang.Object getChangingPropertyOldValue()
- Returns:
- The old value for the LegendItem property that is in the process of changing if indeed this event was fired to
for a change in the LegendItem. In all other cases, ther return value will be null.