public class DesignCell extends JRDesignElementGroup implements Cell, DesignStyleContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_DEFAULT_STYLE_PROVIDER |
static String |
PROPERTY_HEIGHT |
static String |
PROPERTY_ROW_SPAN |
static String |
PROPERTY_STYLE |
static String |
PROPERTY_STYLE_NAME_REFERENCE |
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUPchildren, elementGroup| Constructor and Description |
|---|
DesignCell() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Color |
getDefaultLineColor() |
JRDefaultStyleProvider |
getDefaultStyleProvider() |
Integer |
getHeight() |
JRLineBox |
getLineBox() |
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults
for this object.
|
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map.
|
Integer |
getRowSpan() |
JRStyle |
getStyle()
Returns this object's style.
|
String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
void |
setDefaultStyleProvider(JRDefaultStyleProvider defaultStyleProvider) |
void |
setHeight(Integer height) |
void |
setRowSpan(Integer rowSpan) |
void |
setStyle(JRStyle style) |
void |
setStyleNameReference(String styleName) |
addElement, addElement, addElement, addElementGroup, addElementGroup, getEventSupport, removeElement, removeElementGroup, setElementGroupclone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visitequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getElementByKey, getElementGroup, getElementsvisitpublic static final String PROPERTY_DEFAULT_STYLE_PROVIDER
public static final String PROPERTY_STYLE
public static final String PROPERTY_STYLE_NAME_REFERENCE
public static final String PROPERTY_ROW_SPAN
public static final String PROPERTY_HEIGHT
public Color getDefaultLineColor()
getDefaultLineColor in interface JRBoxContainerpublic JRLineBox getLineBox()
getLineBox in interface JRBoxContainerpublic JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerpublic JRStyle getStyle()
JRStyleContainergetStyle in interface JRStyleContainerpublic String getStyleNameReference()
JRStyleContainertemplates and are resolved
at fill time.
This attribute is only effective if no direct style (as returned by getStyle()
is specified for this object.getStyleNameReference in interface JRStyleContainerpublic void setDefaultStyleProvider(JRDefaultStyleProvider defaultStyleProvider)
setDefaultStyleProvider in interface DesignStyleContainerpublic void setStyle(JRStyle style)
setStyle in interface DesignStyleContainerpublic void setStyleNameReference(String styleName)
setStyleNameReference in interface DesignStyleContainerpublic void setHeight(Integer height)
public Integer getRowSpan()
getRowSpan in interface Cellpublic void setRowSpan(Integer rowSpan)
public boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parentpublic Object clone()
clone in interface JRCloneableclone in class JRDesignElementGroupCopyright © 2017. All rights reserved.