public class DesignBaseCell extends JRDesignElementGroup implements BaseCell, DesignStyleContainer
| Modifier and Type | Field and Description |
|---|---|
protected JRLineBox |
box |
protected JRDefaultStyleProvider |
defaultStyleProvider |
protected Integer |
height |
protected JRPropertiesMap |
propertiesMap |
static String |
PROPERTY_DEFAULT_STYLE_PROVIDER |
static String |
PROPERTY_HEIGHT |
static String |
PROPERTY_STYLE |
static String |
PROPERTY_STYLE_NAME_REFERENCE |
protected JRStyle |
style |
protected String |
styleNameReference |
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUPchildren, elementGroup| Constructor and Description |
|---|
DesignBaseCell() |
| 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.
|
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 |
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_HEIGHT
protected JRDefaultStyleProvider defaultStyleProvider
protected JRStyle style
protected String styleNameReference
protected JRLineBox box
protected Integer height
protected JRPropertiesMap propertiesMap
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 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 © 2020 TIBCO Software Inc.. All rights reserved.