gggt.eg.bui
Class Building

java.lang.Object
  extended by gggt.eg.bui.Building
Direct Known Subclasses:
Build

public abstract class Building
extends java.lang.Object

The building class is the support of build class.


Method Summary
 void add()
          To add the given symbol to document.
 void constrain()
          To constrain a symbol.
 void debug()
           
 void distort()
          To perform distort operation on given symbol.
 void factory()
          The factory method selects a model and build a corresponding symbol.
 java.lang.String getBuild()
          To get the building attribute.
 gom.OHL getDoc()
          Return the built document.
 double getQ()
          Return the building quality factor.
 void init(Setting set)
          To init from a given set.
 void loop()
          To start a building loop.
 void mark()
           
 void put()
          To put the given symbol in document.
 boolean run()
          To run the build process.
 boolean satisfy()
          Test if the given symbol satisfy the constraint.
 void scale()
          To scale the final document.
 void start()
          To start the build process.
 void stop()
          To stop the build process.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public void init(Setting set)
To init from a given set.


getBuild

public java.lang.String getBuild()
To get the building attribute.


start

public void start()
To start the build process.


loop

public void loop()
To start a building loop.


factory

public void factory()
The factory method selects a model and build a corresponding symbol.


distort

public void distort()
To perform distort operation on given symbol.


constrain

public void constrain()
To constrain a symbol.


satisfy

public boolean satisfy()
Test if the given symbol satisfy the constraint.


mark

public void mark()

debug

public void debug()

add

public void add()
To add the given symbol to document.


put

public void put()
To put the given symbol in document.


run

public boolean run()
To run the build process. This method increases the cycle member and return false when object number is equal to wished object number or when current cycle is upper than set cycle.


scale

public void scale()
To scale the final document.


stop

public void stop()
To stop the build process.


getDoc

public gom.OHL getDoc()
Return the built document.


getQ

public double getQ()
Return the building quality factor.