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

Quick Search    Search Deep

cgsuite.plugin
Class TypeInfo  view TypeInfo download TypeInfo.java

java.lang.Object
  extended bycgsuite.plugin.TypeInfo

public class TypeInfo
extends java.lang.Object

Specifies a Combinatorial Game Suite type. Types in CGSuite correspond one-to-one with Java types, but may differ in how they are exposed to the user. An instance of this class declares a Java type for use within the Combinatorial Game Suite user interface.

Version:
0.1.1

Field Summary
 java.lang.String description
          A verbose description of this type (optional).
 java.lang.String name
          The name of this type (optional).
 java.lang.Class type
          The associated Java type.
 
Constructor Summary
TypeInfo()
          Constructs a new TypeInfo with none of its fields filled in.
TypeInfo(java.lang.Class type, java.lang.String name, java.lang.String description)
          Constructs a new TypeInfo with the specified type, name and description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.Class type
The associated Java type.


name

public java.lang.String name
The name of this type (optional). This is what the user will see when this type is referred to inside the user interface. For example, the type cgsuite.CanonicalGame has name "Canonical Game", which is considerably friendlier than the Java class name "cgsuite.CanonicalGame".


description

public java.lang.String description
A verbose description of this type (optional).

Constructor Detail

TypeInfo

public TypeInfo()
Constructs a new TypeInfo with none of its fields filled in.


TypeInfo

public TypeInfo(java.lang.Class type,
                java.lang.String name,
                java.lang.String description)
Constructs a new TypeInfo with the specified type, name and description.