|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBasePrintElement
public class JRBasePrintElement
| Field Summary | |
|---|---|
protected java.awt.Color |
backcolor
|
protected JRDefaultStyleProvider |
defaultStyleProvider
|
protected java.awt.Color |
forecolor
|
protected int |
height
|
protected java.lang.String |
key
|
protected java.lang.Byte |
mode
|
protected JROrigin |
origin
|
protected JRStyle |
style
|
protected int |
width
|
protected int |
x
|
protected int |
y
|
| Constructor Summary | |
|---|---|
JRBasePrintElement(JRDefaultStyleProvider defaultStyleProvider)
|
|
| Method Summary | |
|---|---|
java.awt.Color |
getBackcolor()
|
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
java.awt.Color |
getForecolor()
|
int |
getHeight()
|
java.lang.String |
getKey()
Returns a string key that can be used to identify the element. |
byte |
getMode()
Returns the element transparency mode. |
JROrigin |
getOrigin()
|
java.awt.Color |
getOwnBackcolor()
|
java.awt.Color |
getOwnForecolor()
|
java.lang.Byte |
getOwnMode()
|
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. |
java.lang.String |
getStyleNameReference()
Returns null as external style references are not allowed for print objects. |
int |
getWidth()
|
int |
getX()
|
int |
getY()
|
boolean |
hasProperties()
Checks whether the object has any properties. |
void |
setBackcolor(java.awt.Color backcolor)
|
void |
setForecolor(java.awt.Color forecolor)
|
void |
setHeight(int height)
|
void |
setKey(java.lang.String key)
Sets the print element key. |
void |
setMode(byte mode)
|
void |
setMode(java.lang.Byte mode)
|
void |
setOrigin(JROrigin origin)
|
void |
setStyle(JRStyle style)
|
void |
setWidth(int width)
|
void |
setX(int x)
|
void |
setY(int y)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JROrigin origin
protected java.lang.String key
protected java.lang.Byte mode
protected int x
protected int y
protected int width
protected int height
protected java.awt.Color forecolor
protected java.awt.Color backcolor
protected JRDefaultStyleProvider defaultStyleProvider
protected JRStyle style
| Constructor Detail |
|---|
public JRBasePrintElement(JRDefaultStyleProvider defaultStyleProvider)
| Method Detail |
|---|
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider in interface JRStyleContainerpublic JROrigin getOrigin()
getOrigin in interface JRPrintElementpublic void setOrigin(JROrigin origin)
public JRStyle getStyle()
JRStyleContainer
getStyle in interface JRStyleContainerpublic void setStyle(JRStyle style)
setStyle in interface JRPrintElementpublic byte getMode()
JRCommonElement
getMode in interface JRCommonElementpublic java.lang.Byte getOwnMode()
getOwnMode in interface JRCommonElementpublic void setMode(byte mode)
setMode in interface JRPrintElementpublic void setMode(java.lang.Byte mode)
setMode in interface JRPrintElementpublic int getX()
getX in interface JRPrintElementpublic void setX(int x)
setX in interface JRPrintElementpublic int getY()
getY in interface JRPrintElementpublic void setY(int y)
setY in interface JRPrintElementpublic int getWidth()
getWidth in interface JRPrintElementpublic void setWidth(int width)
setWidth in interface JRPrintElementpublic int getHeight()
getHeight in interface JRPrintElementpublic void setHeight(int height)
setHeight in interface JRPrintElementpublic java.awt.Color getForecolor()
getForecolor in interface JRCommonElementpublic java.awt.Color getOwnForecolor()
getOwnForecolor in interface JRCommonElementpublic void setForecolor(java.awt.Color forecolor)
setForecolor in interface JRPrintElementpublic java.awt.Color getBackcolor()
getBackcolor in interface JRCommonElementpublic java.awt.Color getOwnBackcolor()
getOwnBackcolor in interface JRCommonElementpublic void setBackcolor(java.awt.Color backcolor)
setBackcolor in interface JRPrintElementpublic java.lang.String getKey()
JRPrintElement
When filling a report, the report element key
is copied to all print elements generated by a report element.
Note that this means that multiple elements having the same key can
appear on the same page/filled report.
getKey in interface JRCommonElementgetKey in interface JRPrintElementpublic void setKey(java.lang.String key)
key - the element keygetKey()public java.lang.String getStyleNameReference()
getStyleNameReference in interface JRStyleContainerpublic boolean hasProperties()
JRPropertiesHolder
hasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties in interface JRPropertiesHoldernull if no parent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||