|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
opencard.core.event.OpenCardEvent
opencard.core.event.CardTerminalEvent
public class CardTerminalEvent
A CardTerminalEvent signals the insertion or removal of a smart card.
Field Summary | |
---|---|
static int |
CARD_INSERTED
a card was inserted |
static int |
CARD_REMOVED
a card was removed |
Fields inherited from class opencard.core.event.OpenCardEvent |
---|
id |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CardTerminalEvent(CardTerminal terminal,
int id,
int slot)
Constructs an object of this class. |
Method Summary | |
---|---|
CardTerminal |
getCardTerminal()
Gets the CardTerminal associated with the event. |
Slot |
getSlot()
Deprecated. use getSlotID() instead |
int |
getSlotID()
|
java.lang.String |
toString()
Gets a printable representation of this object. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CARD_INSERTED
public static final int CARD_REMOVED
Constructor Detail |
---|
public CardTerminalEvent(CardTerminal terminal, int id, int slot)
terminal
- the object that created this eventid
- one of [CARD_INSERTED/CARD_REMOVED]slot
- the slot where a card was inserted or removedMethod Detail |
---|
public CardTerminal getCardTerminal()
public Slot getSlot()
public int getSlotID()
public java.lang.String toString()
OpenCardEvent
toString
in class OpenCardEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |