Class NodeLayoutProperties
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static NodeLayoutProperties
GENERIC_PROPERTIES
static InstanceID
SIMPLE_NODE_ID
-
Constructor Summary
Constructors Constructor Description NodeLayoutProperties(int majorAxis, int minorAxis, StyleSheet styleSheet, ReportAttributeMap<Object> attributes, InstanceID instanceID, ElementType elementType)
NodeLayoutProperties(StyleSheet styleSheet, ReportAttributeMap<Object> attributes, InstanceID instanceID, ElementType elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
ReportAttributeMap<Object>
getAttributes()
ElementType
getElementType()
InstanceID
getInstanceId()
int
getMajorAxis()
int
getMinorAxis()
double
getPosX()
double
getPosY()
StyleSheet
getStyleSheet()
ElementAlignment
getVerticalAlignment()
VerticalTextAlign
getVerticalTextAlign()
boolean
isVisible()
void
setVisible(boolean visible)
String
toString()
-
-
-
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, ReportAttributeMap<Object> attributes, InstanceID instanceID, ElementType elementType)
-
NodeLayoutProperties
public NodeLayoutProperties(int majorAxis, int minorAxis, StyleSheet styleSheet, ReportAttributeMap<Object> attributes, InstanceID instanceID, ElementType elementType)
-
-
Method Detail
-
setVisible
public void setVisible(boolean visible)
-
isVisible
public boolean isVisible()
-
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 classObject
- Throws:
CloneNotSupportedException
-
getVerticalAlignment
public ElementAlignment getVerticalAlignment()
-
getPosY
public double getPosY()
-
getPosX
public double getPosX()
-
getAttributes
public ReportAttributeMap<Object> getAttributes()
-
getElementType
public ElementType getElementType()
-
-