com.ibm.retail.AEF.event
Class AEFPropertyChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.PropertyChangeEvent
|
+--com.ibm.retail.AEF.event.AEFPropertyChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AEFPropertyChangeEvent
- extends java.beans.PropertyChangeEvent
An AEFPropertyChangeEvent
is created when a property contained
in the AEF POSDataProvider
is modified. AEF properties are identified
by a property name and are classified into categories.
Categories allow a listener to monitor either a single property
(e.g, TransactionTotalsProperties.TOTAL_ITEMS
) or an entire category
of properties (e.g., TransactionTotalsProperties.CATEGORY
).
- See Also:
addAEFPropertyChangeListener
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
AEFPropertyChangeEvent(java.lang.Object source,
java.lang.String categoryName,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Construct an AEFPropertyChangeEvent |
Method Summary |
(package private) static java.lang.String |
copyright()
|
java.lang.String |
getCategoryName()
Get the category name of this AEFPropertyChangeEvent. |
void |
setCategoryName(java.lang.String categoryName)
Set the category name of this AEFPropertyChangeEvent. |
Methods inherited from class java.beans.PropertyChangeEvent |
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
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 |
categoryName
protected java.lang.String categoryName
AEFPropertyChangeEvent
public AEFPropertyChangeEvent(java.lang.Object source,
java.lang.String categoryName,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
- Construct an AEFPropertyChangeEvent
- Parameters:
source
- the object firing this eventcategoryName
- the category of the property changepropertyName
- the name of the propery changedoldValue
- the previous valuenewValue
- the new value
copyright
static java.lang.String copyright()
getCategoryName
public java.lang.String getCategoryName()
- Get the category name of this AEFPropertyChangeEvent.
- Returns:
- the category name for this event.
Among the possible values are:
CouponProperties.CATEGORY
CustomerProperties.CATEGORY
DiscountProperties.CATEGORY
ItemSalesProperties.CATEGORY
OptionsProperties.CATEGORY
POSDeviceProperties.CATEGORY
TenderProperties.CATEGORY
TransactionStatusProperties.CATEGORY
TransactionTotalsProperties.CATEGORY
setCategoryName
public void setCategoryName(java.lang.String categoryName)
- Set the category name of this AEFPropertyChangeEvent.
- Parameters:
categoryName
- the category name for this event
Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004