com.sun.media.jsdt.event
Class TokenAdaptor

java.lang.Object
  |
  +--com.sun.media.jsdt.event.TokenAdaptor

public abstract class TokenAdaptor
extends java.lang.Object
implements TokenListener

The adaptor which receives Token events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

Since:
JSDT 1.0
Version:
1.5 - 7th January 1999
Author:
Rich Burridge
See Also:
Serialized Form

Constructor Summary
TokenAdaptor()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenAdaptor

public TokenAdaptor()
Method Detail

tokenJoined

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

tokenLeft

public void tokenLeft(TokenEvent event)
invoked when a Client has left a Token.
Specified by:
tokenLeft in interface TokenListener
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.
Specified by:
tokenGiven in interface TokenListener
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.
Specified by:
tokenRequested in interface TokenListener
Parameters:
event - the Token event containing more information.

tokenGrabbed

public void tokenGrabbed(TokenEvent event)
invoked when a Client has grabbed/inhibited a Token.
Specified by:
tokenGrabbed in interface TokenListener
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.
Specified by:
tokenReleased in interface TokenListener
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.
Specified by:
tokenInvited in interface TokenListener
Parameters:
event - the Token event containing more information.

tokenExpelled

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