tesuji.games.go
Class GameEventSupport

java.lang.Object
  |
  +--tesuji.games.go.GameEventSupport

public class GameEventSupport
extends java.lang.Object

Convenience class used to delegate calls to concerning GameEvents. Any class that sends GameEvents can use a member of this class to delegate to.

Creation date: (17-May-01 2:57:38 PM)

Product: Tesuji Software Go Library.

Copyright (c) 2001 Tesuji Software B.V.
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a Tesuji Software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of Tesuji Software.


Constructor Summary
GameEventSupport()
          GameEventSupport constructor comment.
 
Method Summary
 void addGameEventListener(GameEventListener l)
           
 boolean hasListeners()
           
 void removeGameEventListener(GameEventListener l)
           
 void sendBoardChange(int xy, byte value, byte oldValue)
           
 void sendBoardChange(int x, int y, byte value, byte oldValue)
           
 void sendTextEvent(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameEventSupport

public GameEventSupport()
GameEventSupport constructor comment.
Method Detail

addGameEventListener

public void addGameEventListener(GameEventListener l)

hasListeners

public boolean hasListeners()

removeGameEventListener

public void removeGameEventListener(GameEventListener l)

sendBoardChange

public void sendBoardChange(int xy,
                            byte value,
                            byte oldValue)

sendBoardChange

public void sendBoardChange(int x,
                            int y,
                            byte value,
                            byte oldValue)

sendTextEvent

public final void sendTextEvent(java.lang.String text)