org.cb.jset.client.model
Class CardEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.cb.jset.client.model.CardEvent
All Implemented Interfaces:
java.io.Serializable

public class CardEvent
extends java.util.EventObject

Event related to the change of state of a card.

Version:
$Id: CardEvent.java 123 2004-04-14 23:45:53Z jerome $
Author:
jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $
See Also:
Serialized Form

Field Summary
static int DESELECTED
          the type of a deselection event.
static int SELECTED
          the type of a selection event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CardEvent(Card source, int type)
          Constructs an instance of CardEvent, given the specified source and type.
 
Method Summary
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SELECTED

public static final int SELECTED
the type of a selection event.

See Also:
Constant Field Values

DESELECTED

public static final int DESELECTED
the type of a deselection event.

See Also:
Constant Field Values
Constructor Detail

CardEvent

public CardEvent(Card source,
                 int type)
Constructs an instance of CardEvent, given the specified source and type.

Parameters:
source -
type -
Method Detail

getType

public int getType()
Returns:
the type of the event


Copyright © 2004 CoffeeBreaks. All Rights Reserved.