package net.matrix_rad.skang; import java.lang.String; /** Skang extension base class. * * @author David Seikel * @.copyright 2002 David Seikel * @version 1.2 final 2002-12-29 12:36:00 */ public class SkangletBase extends Object { public SkangletBase(String author, String copyright, int aYear, String aVersion, double aVersionNumber, String usage[][], String skang[][], String defaultSkang[]) { AUTHOR = author; COPYRIGHT = copyright; year = aYear; VERSION = aVersion; version = (float) aVersionNumber; USAGE = usage; SKANG = skang; DEFAULT_SKANG = defaultSkang; } /** Module's author. */ public String AUTHOR; /** First year Class was copyright and name of copyright holder (format "YYYY name") - {@value}. */ public String COPYRIGHT; public int year; /** Version string (format N.N text YYYY-MM-DD hh:mm:ss) - {@value}. * The format of this version string is a floating point number * followed by one of the following - * * Unlike most other version numbering systems * We use a floating point number, rather than something that only looks like one. * That way mere mortals can compare version numbers without getting confused. * These version numbers WILL be compared as floats to determine which is * the most up to date version.
* The time is also provided, so that there is no doubt. * This is the time that the current version was started, in other words, * when you increase the version number, set this to the current time. */ public String VERSION; public float version; /** Usage Information. * An array of parameters, and their details, in the following format - *
* { "Name", "Field/Method()", "Required", "Shortcut", "Default", "Help text" }, * */ public String[][] USAGE; /** Skin language (Skang). * An array of Skang commands, and their details, in the following format - *
* { "Name", "Method", "Syntax", "Help text" }, * */ public String[][] SKANG; /** Default skin. */ public String[] DEFAULT_SKANG; /** List of source files that Zen developer can't guess. * Zen developer, when running as an applet, can't just * scan the web server looking for editable files. So * it tries to guess at the file names. This array * provides file names that Zen can't possibly guess. */ public final static String[] CLASS_SOURCE_FILES = { "MakeSkangletDoclet.java", }; }