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
-
chessGame
- The actual game stuff.
-
FONTSIZEARG
- Constant for name of fontsize commandline argument.
-
FONTSIZEPARAM
- Constant for name of FontSize parameter.
-
GIFDIRARG
- Constant for name of gifdir commandline argument.
-
GIFURLPARAM
- Constant for name of GifURL parameter.
-
MOVESINPERIODARG
- Number of moves that must be made in timeperiod.
-
MOVESINPERIODPARAM
- Number of moves that must be made in timeperiod.
-
QUICKCHESSARG
- Use applied Quickchess rules.
-
QUICKCHESSPARAM
- Use applied Quickchess rules.
-
TILESIZEARG
- Constant for name of TileSize commandline argument.
-
TILESIZEPARAM
- Constant for name of TileSize parameter.
-
TIMELIMITARG
- Length of the timeperiod.
-
TIMELIMITPARAM
- Length of the timeperiod.
-
Jchess()
-
-
init()
- Run at applet startup.
-
main(String[])
- Application takes one command line parameter: name of the game file to be
loaded.
-
readImages()
- Here we start reading the Images.
-
start()
- Unpauses the game when we come back to view.
-
stop()
- This stops the game when applet is taken of the screen.
chessGame
private ChessPlay chessGame
- The actual game stuff.
GIFURLPARAM
private static String GIFURLPARAM
- Constant for name of GifURL parameter.
TILESIZEPARAM
private static String TILESIZEPARAM
- Constant for name of TileSize parameter.
FONTSIZEPARAM
private static String FONTSIZEPARAM
- Constant for name of FontSize parameter.
QUICKCHESSPARAM
private static String QUICKCHESSPARAM
- Use applied Quickchess rules. All moves in 5 minutes.
MOVESINPERIODPARAM
private static String MOVESINPERIODPARAM
- Number of moves that must be made in timeperiod.
TIMELIMITPARAM
private static String TIMELIMITPARAM
- Length of the timeperiod.
FONTSIZEARG
private static String FONTSIZEARG
- Constant for name of fontsize commandline argument.
GIFDIRARG
private static String GIFDIRARG
- Constant for name of gifdir commandline argument.
TILESIZEARG
private static String TILESIZEARG
- Constant for name of TileSize commandline argument.
QUICKCHESSARG
private static String QUICKCHESSARG
- Use applied Quickchess rules. All moves in 5 minutes.
MOVESINPERIODARG
private static String MOVESINPERIODARG
- Number of moves that must be made in timeperiod.
TIMELIMITARG
private static String TIMELIMITARG
- Length of the timeperiod.
Jchess
public Jchess()
main
public static void main(String args[])
- Application takes one command line parameter: name of the game file to be
loaded.
stop
public void stop()
- This stops the game when applet is taken of the screen.
- Overrides:
- stop in class Applet
start
public void start()
- Unpauses the game when we come back to view.
- Overrides:
- start in class Applet
init
public void init()
- Run at applet startup.
- Overrides:
- init in class Applet
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