All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class kpalin.alabra.Jchess

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----kpalin.alabra.Jchess

public class Jchess
extends Applet

Variable Index

 o chessGame
The actual game stuff.
 o FONTSIZEARG
Constant for name of fontsize commandline argument.
 o FONTSIZEPARAM
Constant for name of FontSize parameter.
 o GIFDIRARG
Constant for name of gifdir commandline argument.
 o GIFURLPARAM
Constant for name of GifURL parameter.
 o MOVESINPERIODARG
Number of moves that must be made in timeperiod.
 o MOVESINPERIODPARAM
Number of moves that must be made in timeperiod.
 o QUICKCHESSARG
Use applied Quickchess rules.
 o QUICKCHESSPARAM
Use applied Quickchess rules.
 o TILESIZEARG
Constant for name of TileSize commandline argument.
 o TILESIZEPARAM
Constant for name of TileSize parameter.
 o TIMELIMITARG
Length of the timeperiod.
 o TIMELIMITPARAM
Length of the timeperiod.

Constructor Index

 o Jchess()

Method Index

 o init()
Run at applet startup.
 o main(String[])
Application takes one command line parameter: name of the game file to be loaded.
 o readImages()
Here we start reading the Images.
 o start()
Unpauses the game when we come back to view.
 o stop()
This stops the game when applet is taken of the screen.

Variables

 o chessGame
 private ChessPlay chessGame
The actual game stuff.

 o GIFURLPARAM
 private static String GIFURLPARAM
Constant for name of GifURL parameter.

 o TILESIZEPARAM
 private static String TILESIZEPARAM
Constant for name of TileSize parameter.

 o FONTSIZEPARAM
 private static String FONTSIZEPARAM
Constant for name of FontSize parameter.

 o QUICKCHESSPARAM
 private static String QUICKCHESSPARAM
Use applied Quickchess rules. All moves in 5 minutes.

 o MOVESINPERIODPARAM
 private static String MOVESINPERIODPARAM
Number of moves that must be made in timeperiod.

 o TIMELIMITPARAM
 private static String TIMELIMITPARAM
Length of the timeperiod.

 o FONTSIZEARG
 private static String FONTSIZEARG
Constant for name of fontsize commandline argument.

 o GIFDIRARG
 private static String GIFDIRARG
Constant for name of gifdir commandline argument.

 o TILESIZEARG
 private static String TILESIZEARG
Constant for name of TileSize commandline argument.

 o QUICKCHESSARG
 private static String QUICKCHESSARG
Use applied Quickchess rules. All moves in 5 minutes.

 o MOVESINPERIODARG
 private static String MOVESINPERIODARG
Number of moves that must be made in timeperiod.

 o TIMELIMITARG
 private static String TIMELIMITARG
Length of the timeperiod.

Constructors

 o Jchess
 public Jchess()

Methods

 o main
 public static void main(String args[])
Application takes one command line parameter: name of the game file to be loaded.

 o stop
 public void stop()
This stops the game when applet is taken of the screen.

Overrides:
stop in class Applet
 o start
 public void start()
Unpauses the game when we come back to view.

Overrides:
start in class Applet
 o init
 public void init()
Run at applet startup.

Overrides:
init in class Applet
 o readImages
 void readImages()
Here we start reading the Images. This code is specific to applet and can't be shared with application.


All Packages  Class Hierarchy  This Package  Previous  Next  Index