java.lang.Object
java.lang.Thread
cxtable.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 classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| 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 |
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
xChessGamex
public xChessGamex()
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