com.sun.media.jsdt.event
Interface TokenListener

All Known Implementing Classes:
TokenAdaptor

public abstract interface TokenListener
extends java.util.EventListener, java.io.Serializable

The listener interface for receiving Token events.

Since:
JSDT 1.0
Version:
1.5 - 7th January 1999
Author:
Rich Burridge

Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 void tokenExpelled(TokenEvent event)
           invoked when a Client has been expelled from a Token.
 void tokenGiven(TokenEvent event)
           invoked when a Token has been given by one Client to another.
 void tokenGrabbed(TokenEvent event)
           invoked when a Client has grabbed/inhibited a Token.
 void tokenInvited(TokenEvent event)
           invoked when a Client has been invited to join a Token.
 void tokenJoined(TokenEvent event)
           invoked when a Client has joined a Token.
 void tokenLeft(TokenEvent event)
           invoked when a Client has left a Token.
 void tokenReleased(TokenEvent event)
           invoked when a Client has released itself from a previously grabbed/inhibited Token.
 void tokenRequested(TokenEvent event)
           invoked when a Client has requested a Token from one or more Clients that currently have it grabbed/inhibited.
 

Method Detail

tokenJoined

public void tokenJoined(TokenEvent event)
invoked when a Client has joined a Token.
Parameters:
event - the Token event containing more information.

tokenLeft

public void tokenLeft(TokenEvent event)
invoked when a Client has left a Token.
Parameters:
event - the Token event containing more information.

tokenGiven

public void tokenGiven(TokenEvent event)
invoked when a Token has been given by one Client to another.
Parameters:
event - the Token event containing more information.

tokenRequested

public void tokenRequested(TokenEvent event)
invoked when a Client has requested a Token from one or more Clients that currently have it grabbed/inhibited.
Parameters:
event - the Token event containing more information.

tokenGrabbed

public void tokenGrabbed(TokenEvent event)
invoked when a Client has grabbed/inhibited a Token.
Parameters:
event - the Token event containing more information.

tokenReleased

public void tokenReleased(TokenEvent event)
invoked when a Client has released itself from a previously grabbed/inhibited Token.
Parameters:
event - the Token event containing more information.

tokenInvited

public void tokenInvited(TokenEvent event)
invoked when a Client has been invited to join a Token.
Parameters:
event - the Token event containing more information.

tokenExpelled

public void tokenExpelled(TokenEvent event)
invoked when a Client has been expelled from a Token.
Parameters:
event - the Token event containing more information.