com.sas.awt
Class AppletStateChangedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.sas.awt.AppletStateChangedEvent
All Implemented Interfaces:

public class AppletStateChangedEvent
extends java.util.EventObject

AppletStateChangedEvent is a specialization of java.util.EventObject which is exclusively for state change events from the applet. The AppletStateChangedEvent contains information about the specific state change that caused the event to occur.

See Also:
Serialized Form

Field Summary
static int APPLET_DESTROY
          Type value for the AppletStateChangedEvent from the applet destroy method.
static int APPLET_INIT
          Type value for the AppletStateChangedEvent from the applet init method.
static int APPLET_START
          Type value for the AppletStateChangedEvent from the applet start method.
static int APPLET_STOP
          Type value for the AppletStateChangedEvent from the applet stop method.
protected  int type
          The event type: one of APPLET_START, APPLET_STOP, APPLET_INIT, or APPLET_DESTROY
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AppletStateChangedEvent(AppletStateChangedSource source, int type)
          Constructs an AppletStateChangedEvent
 
Method Summary
 int getType()
          Returns the specific type of applet event that prompted this event.
 
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

APPLET_START

public static final int APPLET_START
Type value for the AppletStateChangedEvent from the applet start method.
See Also:
APPLET_STOP, APPLET_INIT, APPLET_DESTROY

APPLET_STOP

public static final int APPLET_STOP
Type value for the AppletStateChangedEvent from the applet stop method.
See Also:
APPLET_START, APPLET_INIT, APPLET_DESTROY

APPLET_INIT

public static final int APPLET_INIT
Type value for the AppletStateChangedEvent from the applet init method.
See Also:
APPLET_START, APPLET_STOP, APPLET_DESTROY

APPLET_DESTROY

public static final int APPLET_DESTROY
Type value for the AppletStateChangedEvent from the applet destroy method.
See Also:
APPLET_START, APPLET_STOP, APPLET_INIT

type

protected int type
The event type: one of APPLET_START, APPLET_STOP, APPLET_INIT, or APPLET_DESTROY
Constructor Detail

AppletStateChangedEvent

public AppletStateChangedEvent(AppletStateChangedSource source,
                               int type)
Constructs an AppletStateChangedEvent
Parameters:
source - The object sending the event
type - The specific state change type. Possible values are: APPLET_START, APPLET_STOP, APPLET_INIT, and APPLET_DESTROY.
Method Detail

getType

public int getType()
Returns the specific type of applet event that prompted this event.
Returns:
The applet event type. Possible values are: APPLET_START, APPLET_STOP, APPLET_INIT, and APPLET_DESTROY.




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 01:44:46