org.pentaho.reporting.engine.classic.core.layout.model.context
Class NodeLayoutProperties

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.model.context.NodeLayoutProperties
All Implemented Interfaces:
Serializable, Cloneable

public final class NodeLayoutProperties
extends Object
implements Serializable, Cloneable

A static properties collection. That one is static; once computed it does not change anymore. It does not (under no thinkable circumstances) depend on the given content. It may depend on static content of the parent.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
static NodeLayoutProperties GENERIC_PROPERTIES
           
static InstanceID SIMPLE_NODE_ID
           
 
Constructor Summary
NodeLayoutProperties(int majorAxis, int minorAxis, StyleSheet styleSheet, InstanceID instanceID)
           
NodeLayoutProperties(StyleSheet styleSheet)
           
NodeLayoutProperties(StyleSheet styleSheet, InstanceID instanceID)
           
 
Method Summary
 Object clone()
           
 InstanceID getInstanceId()
           
 int getMajorAxis()
           
 int getMinorAxis()
           
 double getPosX()
           
 double getPosY()
           
 StyleSheet getStyleSheet()
           
 ElementAlignment getVerticalAlignment()
           
 VerticalTextAlign getVerticalTextAlign()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SIMPLE_NODE_ID

public static final InstanceID SIMPLE_NODE_ID

GENERIC_PROPERTIES

public static final NodeLayoutProperties GENERIC_PROPERTIES
Constructor Detail

NodeLayoutProperties

public NodeLayoutProperties(StyleSheet styleSheet)

NodeLayoutProperties

public NodeLayoutProperties(StyleSheet styleSheet,
                            InstanceID instanceID)

NodeLayoutProperties

public NodeLayoutProperties(int majorAxis,
                            int minorAxis,
                            StyleSheet styleSheet,
                            InstanceID instanceID)
Method Detail

getVerticalTextAlign

public VerticalTextAlign getVerticalTextAlign()

getStyleSheet

public StyleSheet getStyleSheet()

getInstanceId

public InstanceID getInstanceId()

getMajorAxis

public int getMajorAxis()

getMinorAxis

public int getMinorAxis()

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getVerticalAlignment

public ElementAlignment getVerticalAlignment()

getPosY

public double getPosY()

getPosX

public double getPosX()

toString

public String toString()
Overrides:
toString in class Object