Ontimize 5.2072EN

com.ontimize.printing
Class Layer

java.lang.Object
  extended bycom.ontimize.printing.Layer

public class Layer
extends java.lang.Object

Represents an HTML layer. It is used to provide an identifier and a size to the element inside


Field Summary
protected  java.lang.String endTag
           
protected  java.lang.String startTag
           
 
Constructor Summary
Layer(java.lang.String id, int width, int height, boolean pixels, java.lang.String align)
          Creates a new layer with the specified identifier, width and height.
Layer(java.lang.String id, int width, int height, boolean pixels, java.lang.String align, int leftMargin)
          Creates a new layer using the specified identifier and size.
 
Method Summary
 java.lang.String getEndTag()
           
 java.lang.String getStartTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startTag

protected java.lang.String startTag

endTag

protected java.lang.String endTag
Constructor Detail

Layer

public Layer(java.lang.String id,
             int width,
             int height,
             boolean pixels,
             java.lang.String align)
Creates a new layer with the specified identifier, width and height.

Parameters:
id -
width -
height -
pixels - If this is true then width and height are values in pixels in other case they are a percentage
align -

Layer

public Layer(java.lang.String id,
             int width,
             int height,
             boolean pixels,
             java.lang.String align,
             int leftMargin)
Creates a new layer using the specified identifier and size.

Parameters:
id -
width -
height -
pixels - If this is true then width and height are values in pixels in other case they are a percentage
align -
leftMargin - Used to locate the layer at the left side of the page
Method Detail

getStartTag

public java.lang.String getStartTag()

getEndTag

public java.lang.String getEndTag()

Ontimize