public class JRTemplateLine extends JRTemplateGraphicElement
JRTemplatePrintLine,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected LineDirectionEnum |
directionValue |
linePendefaultStyleProvider, 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(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, setGraphicElementaddTemplateHash, getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getStyleResolver, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setStyle, templateIdenticalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferenceprotected 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()
DeduplicableDeduplicable.isIdentical(Object),
i.e. if two objects are identical they should have the same hash code.public boolean isIdentical(Object object)
Deduplicableobject - the object to compare with this instancetrue if the two objects are identical and can be deduplicatedCopyright © 2017. All rights reserved.