Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cxtable.xtable_chess
Class xChessGamex  view xChessGamex download xChessGamex.java

java.lang.Object
  extended byjava.lang.Thread
      extended bycxtable.xtable_chess.xChessGamex
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.lang.Runnable, xChessMoveListener, cxtable.core_comm.xListener, cxtable.plugin.xPluginable, cxtable.core_comm.xReadDeposit

public class xChessGamex
extends java.lang.Thread
implements java.awt.event.ActionListener, cxtable.plugin.xPluginable, xChessMoveListener


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  java.lang.String against
           
private  boolean controlbool
           
static boolean debug
           
private  java.lang.String ekey
           
private  java.awt.Panel entry
           
private  java.awt.TextField from
           
private  java.awt.Label[] horizontal
           
private  java.lang.String key
           
private  java.awt.Panel main
           
private  java.awt.Button move
           
private  boolean networked
           
private  boolean odd
           
private  boolean player
           
private  java.lang.String skey
           
private  java.awt.TextField to
           
private  java.awt.Label whatever
           
private  xChessBox[][] xcb
           
private  xChessManager xchessman
           
private  xChessMove xcm
           
private  xChessValidator xcv
           
private  cxtable.xLineSplit xls
           
private  cxtable.plugin.xOutListen xol
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
xChessGamex()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          This method is invoked when an action occurs.
 void append(java.lang.String[] s)
           
 java.awt.Frame as_frame()
           
 java.awt.Panel as_panel()
           
 java.lang.String getKey()
           
 void launch(cxtable.peer.xPlugDataListener x)
           
static void main(java.lang.String[] args)
           
 void processMove(java.lang.String fm, java.lang.String t, boolean who, boolean local)
           
 void read(java.lang.String s)
           
 boolean readAll()
           
 java.lang.String[] readKeys()
           
 boolean requireName()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void select_piece(int x, int y)
           
 void setKey(java.lang.String s)
           
 void setNam(java.lang.String s)
           
 void setNetworked(boolean b)
           
 void setOut(cxtable.plugin.xOutListen x)
           
 boolean setVars(java.lang.String s)
           
 java.lang.String who()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

horizontal

private java.awt.Label[] horizontal

debug

public static boolean debug

whatever

private java.awt.Label whatever

key

private java.lang.String key

skey

private java.lang.String skey

ekey

private java.lang.String ekey

xcm

private xChessMove xcm

xchessman

private xChessManager xchessman

entry

private java.awt.Panel entry

main

private java.awt.Panel main

from

private java.awt.TextField from

to

private java.awt.TextField to

xls

private cxtable.xLineSplit xls

move

private java.awt.Button move

odd

private boolean odd

xcb

private xChessBox[][] xcb

controlbool

private boolean controlbool

player

private boolean player

xcv

private xChessValidator xcv

against

private java.lang.String against

xol

private cxtable.plugin.xOutListen xol

networked

private boolean networked
Constructor Detail

xChessGamex

public xChessGamex()
Method Detail

getKey

public java.lang.String getKey()
Specified by:
getKey in interface cxtable.core_comm.xReadDeposit

requireName

public boolean requireName()
Specified by:
requireName in interface cxtable.plugin.xPluginable

setNam

public void setNam(java.lang.String s)
Specified by:
setNam in interface cxtable.plugin.xPluginable

setKey

public void setKey(java.lang.String s)
Specified by:
setKey in interface cxtable.core_comm.xReadDeposit

who

public java.lang.String who()
Specified by:
who in interface cxtable.core_comm.xListener

append

public void append(java.lang.String[] s)
Specified by:
append in interface cxtable.core_comm.xReadDeposit

setVars

public boolean setVars(java.lang.String s)
Specified by:
setVars in interface cxtable.plugin.xPluginable

setOut

public void setOut(cxtable.plugin.xOutListen x)
Specified by:
setOut in interface cxtable.plugin.xPluginable

setNetworked

public void setNetworked(boolean b)

as_panel

public java.awt.Panel as_panel()
Specified by:
as_panel in interface cxtable.plugin.xPluginable

as_frame

public java.awt.Frame as_frame()
Specified by:
as_frame in interface cxtable.plugin.xPluginable

read

public void read(java.lang.String s)
Specified by:
read in interface cxtable.core_comm.xListener

launch

public void launch(cxtable.peer.xPlugDataListener x)
Specified by:
launch in interface cxtable.plugin.xPluginable

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

processMove

public void processMove(java.lang.String fm,
                        java.lang.String t,
                        boolean who,
                        boolean local)

select_piece

public void select_piece(int x,
                         int y)
Specified by:
select_piece in interface xChessMoveListener

main

public static void main(java.lang.String[] args)

readAll

public boolean readAll()
Specified by:
readAll in interface cxtable.core_comm.xListener

readKeys

public java.lang.String[] readKeys()
Specified by:
readKeys in interface cxtable.core_comm.xListener