|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.design.JRDesignElement
net.sf.jasperreports.engine.design.JRDesignGraphicElement
net.sf.jasperreports.engine.design.JRDesignLine
public class JRDesignLine
The actual implementation of a graphic element representing a straight line, used at design time.
Field Summary | |
---|---|
protected byte |
direction
|
Fields inherited from class net.sf.jasperreports.engine.design.JRDesignGraphicElement |
---|
fill, linePen |
Fields inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
---|
PROPERTY_ELEMENT_GROUP, PROPERTY_HEIGHT, PROPERTY_KEY, PROPERTY_PARENT_STYLE, PROPERTY_PARENT_STYLE_NAME_REFERENCE, PROPERTY_PRINT_WHEN_EXPRESSION, PROPERTY_PRINT_WHEN_GROUP_CHANGES, PROPERTY_PROPERTY_EXPRESSIONS, PROPERTY_Y |
Fields inherited from interface net.sf.jasperreports.engine.JRLine |
---|
DIRECTION_BOTTOM_UP, DIRECTION_TOP_DOWN |
Fields inherited from interface net.sf.jasperreports.engine.JRGraphicElement |
---|
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN |
Fields inherited from interface net.sf.jasperreports.engine.JRElement |
---|
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT |
Constructor Summary | |
---|---|
JRDesignLine()
|
|
JRDesignLine(JRDefaultStyleProvider defaultStyleProvider)
|
Method Summary | |
---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
byte |
getDirection()
Gets the line direction. |
void |
setDirection(byte direction)
Sets the line direction. |
void |
setHeight(int height)
|
void |
setWidth(int width)
|
void |
visit(JRVisitor visitor)
|
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignGraphicElement |
---|
clone, getDefaultLineColor, getDefaultLineWidth, getFill, getLinePen, getOwnFill, getOwnPen, getPen, setFill, setFill, setPen, setPen |
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
---|
addPropertyExpression, getPropertyExpressions, getPropertyExpressionsList, removePropertyExpression, removePropertyExpression, setElementGroup, setKey, setPrintWhenExpression, setPrintWhenGroupChanges, setStyle, setStyleNameReference, setY |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRGraphicElement |
---|
getOwnPen, getPen, setFill, setFill, setPen, setPen |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
---|
getElementGroup, getHeight, getKey, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement |
---|
getFill, getLinePen, getOwnFill |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode |
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer |
---|
getDefaultLineColor, getDefaultLineWidth |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Field Detail |
---|
protected byte direction
Constructor Detail |
---|
public JRDesignLine()
public JRDesignLine(JRDefaultStyleProvider defaultStyleProvider)
Method Detail |
---|
public void setWidth(int width)
setWidth
in interface JRElement
setWidth
in class JRBaseElement
public void setHeight(int height)
setHeight
in class JRDesignElement
public byte getDirection()
JRLine
getDirection
in interface JRLine
public void setDirection(byte direction)
JRLine
setDirection
in interface JRLine
direction
- one of the direction constantspublic void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |