public class JRTemplateLine extends JRTemplateGraphicElement
JRTemplatePrintLine
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected LineDirectionEnum |
directionValue |
linePen
defaultStyleProvider, origin, parentStyle
Modifier | Constructor and Description |
---|---|
|
JRTemplateLine(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
Creates a template line.
|
protected |
JRTemplateLine(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRLine line) |
Modifier and Type | Method and Description |
---|---|
LineDirectionEnum |
getDirectionValue() |
int |
getHashCode()
Returns a hash code to be used for the deduplicate map.
|
boolean |
isIdentical(java.lang.Object object)
Determines if this instance is identical to another object.
|
void |
setDirection(LineDirectionEnum directionValue) |
protected void |
setLine(JRLine line) |
addGraphicHash, copyLinePen, getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, graphicIdentical, setFill, setGraphicElement
addTemplateHash, getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setStyle, templateIdentical
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
protected LineDirectionEnum directionValue
protected JRTemplateLine(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRLine line)
public JRTemplateLine(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
origin
- the origin of the elements that will use this templatedefaultStyleProvider
- the default style provider to use for
this templateprotected void setLine(JRLine line)
public LineDirectionEnum getDirectionValue()
public void setDirection(LineDirectionEnum directionValue)
public int getHashCode()
Deduplicable
Deduplicable.isIdentical(Object)
,
i.e. if two objects are identical they should have the same hash code.public boolean isIdentical(java.lang.Object object)
Deduplicable
object
- the object to compare with this instancetrue
if the two objects are identical and can be deduplicated© 2001-2010 Jaspersoft Corporation www.jaspersoft.com