public class CardEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static int |
INSERTED
Event type constant.
|
static int |
REMOVED
Event type constant.
|
source| Constructor and Description |
|---|
CardEvent(int type,
CardService service)
Creates an event.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getSourcepublic static final int REMOVED
public static final int INSERTED
public CardEvent(int type,
CardService service)
type - event typeservice - event sourcepublic int getType()
public CardService getService()
public String toString()
toString in class EventObjectpublic boolean equals(Object other)
other.Copyright © 2020. All rights reserved.