public class CardEvent
extends java.util.EventObject
| Modifier and Type | Field and Description |
|---|---|
static int |
INSERTED
Event type constant.
|
static int |
REMOVED
Event type constant.
|
| Constructor and Description |
|---|
CardEvent(int type,
CardService service)
Creates an event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.lang.String |
toString()
Gets a textual representation of this event.
|
public 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 java.lang.String toString()
toString in class java.util.EventObjectpublic boolean equals(java.lang.Object other)
other.equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2023. All rights reserved.