pl.webnet.JaTrac
Class Screen

java.lang.Object
  |
  +--pl.webnet.JaTrac.Screen
All Implemented Interfaces:
XmlSettable

class Screen
extends java.lang.Object
implements XmlSettable


Field Summary
(package private)  double AAThreshold
           
(package private)  boolean antialias
           
protected  int height
           
(package private)  pl.webnet.JaTrac.Pixel[][] pixels
           
(package private)  boolean shadows
           
(package private)  java.lang.String tBufferFilename
           
protected  int width
           
 
Constructor Summary
Screen()
           
Screen(int width, int height)
           
 
Method Summary
 java.lang.String[] getAttachArray()
          Get object's attach array.
 int getHeight()
           
 java.lang.String[] getParamArray()
          Get object's parameter array.
 int getWidth()
           
 void init()
           
 java.lang.Object initialize()
          Initialize object's internal state after setting all params from XML file.
 java.awt.image.BufferedImage toImage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pixels

pl.webnet.JaTrac.Pixel[][] pixels

width

protected int width

height

protected int height

AAThreshold

double AAThreshold

antialias

boolean antialias

shadows

boolean shadows

tBufferFilename

java.lang.String tBufferFilename
Constructor Detail

Screen

public Screen()

Screen

public Screen(int width,
              int height)
Method Detail

init

public void init()

getParamArray

public java.lang.String[] getParamArray()
Description copied from interface: XmlSettable
Get object's parameter array. The array maps XML element names to variable names and, if setting one variable is not enough, lists names of functions to call.

Specified by:
getParamArray in interface XmlSettable
Returns:
object's parameter array.

getAttachArray

public java.lang.String[] getAttachArray()
Description copied from interface: XmlSettable
Get object's attach array. The array specifies what functions to call to attach children nodes to this object.

Specified by:
getAttachArray in interface XmlSettable
Returns:
object's attach array.

initialize

public java.lang.Object initialize()
Description copied from interface: XmlSettable
Initialize object's internal state after setting all params from XML file. Called after element's end tag is encountered in XML file.

Specified by:
initialize in interface XmlSettable

getWidth

public int getWidth()

getHeight

public int getHeight()

toImage

public java.awt.image.BufferedImage toImage()