com.keyoti.creditCard.logic.event
Class CreditCardEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.keyoti.creditCard.logic.event.CreditCardEvent
- public class CreditCardEvent
- extends EventObject
Event signifying change of state in CreditCard
- Author:
- Keyoti
- See Also:
- Serialized Form
|
Field Summary |
protected int |
cardField
The card field that changed, causing the event. |
|
Constructor Summary |
CreditCardEvent(int cardField,
CreditCard sourceCard)
Creates a new CreditCardEvent with information about which CreditCard field changed. |
|
Method Summary |
int |
getCardField()
Gets the field that changed and caused this event |
cardField
protected int cardField
- The card field that changed, causing the event.
An int CreditCard identifier field, such as CreditCard.CARD_NUMBER
- See Also:
CreditCard.CARD_NUMBER
CreditCardEvent
public CreditCardEvent(int cardField,
CreditCard sourceCard)
- Creates a new CreditCardEvent with information about which CreditCard field changed.
- Parameters:
cardField - an int CreditCard identifier field, such as CreditCard.CARD_NUMBER.sourceCard - the CreditCard that fired this event.- See Also:
CreditCard.CARD_NUMBER
getCardField
public int getCardField()
- Gets the field that changed and caused this event
Copyright © 2002 Keyoti All Rights Reserved.