|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
net.sourceforge.scuba.smartcards.CardEvent
public class CardEvent
Event for card insertion and removal.
| Field Summary | |
|---|---|
static int |
INSERTED
Event type constant. |
static int |
REMOVED
Event type constant. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CardEvent(int type,
CardService service)
Creates an event. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Whether this event is equal to the event in other. |
CardService |
getService()
Gets the event source. |
int |
getType()
Gets the event type. |
int |
hashCode()
Gets a hash code for this event. |
String |
toString()
Gets a textual representation of this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int REMOVED
public static final int INSERTED
| Constructor Detail |
|---|
public CardEvent(int type,
CardService service)
type - event typeservice - event source| Method Detail |
|---|
public int getType()
public CardService getService()
public String toString()
toString in class EventObjectpublic boolean equals(Object other)
other.
equals in class Objectpublic int hashCode()
hashCode in class Object
|
JMRTD 0.4.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||