exe
Class GAIGSRefStruct

java.lang.Object
  extended by exe.GAIGSbase
      extended by exe.GAIGSRefStruct
All Implemented Interfaces:
GAIGSdatastr

public class GAIGSRefStruct
extends GAIGSbase

Build a GAIGSRefStruct adhering to the following DTD


Field Summary
 
Fields inherited from interface exe.GAIGSdatastr
DEFAULT_COLOR, DEFAULT_FONT_SIZE, DEFAULT_NAME, DEFAULT_X1, DEFAULT_X2, DEFAULT_Y1, DEFAULT_Y2
 
Constructor Summary
GAIGSRefStruct(RefBox[] refboxes)
          Create a RefStruct containing the given RefBoxes with the default bounds and font size.
GAIGSRefStruct(RefBox[] refboxes, double x1, double y1, double x2, double y2, double fontSize)
          Create a RefStruct with the given Refboxes and he given bounds and font size.
 
Method Summary
 RefBox[] getRefBoxes()
          Returns the array of RefBoxes contained in this RefStruct.
 java.lang.String toXML()
          Creates and returns GAIGS XML code for the current state of the ref struct
 
Methods inherited from class exe.GAIGSbase
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GAIGSRefStruct

public GAIGSRefStruct(RefBox[] refboxes)
Create a RefStruct containing the given RefBoxes with the default bounds and font size.

Parameters:
refboxes - The array containing all of the RefBoxes that comprise this RefStruct.

GAIGSRefStruct

public GAIGSRefStruct(RefBox[] refboxes,
                      double x1,
                      double y1,
                      double x2,
                      double y2,
                      double fontSize)
Create a RefStruct with the given Refboxes and he given bounds and font size.

Parameters:
refboxes - The array containing all of the RefBoxes that comprise the RefStruct.
x1 - The lower x bound of the visualization.
y1 - The lower y bound of the visualization.
x2 - The upper x bound of the visualization.
y2 - The upper y bound of the visualization.
fontSize - The font size of the visualization title.
Method Detail

getRefBoxes

public RefBox[] getRefBoxes()
Returns the array of RefBoxes contained in this RefStruct.

Returns:
The array of RefBoxes contained in the RefStruct.

toXML

public java.lang.String toXML()
Creates and returns GAIGS XML code for the current state of the ref struct

Returns:
A String containing GAIGS XML code for the ref struct