Class BarcodeShape
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.inductiveautomation.factorypmi.plugins.reporting.shapes.BarcodeShape
- All Implemented Interfaces:
RMArchiver.Archiving
,Java2DShapePainter
,RMShapePainter.Paint
,Cloneable
-
Field Summary
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
basePaint
(Graphics2D g, Rectangle2D rect) Called from PDF painting - fillwith white firstvoid
Copies the attributes from the given object.boolean
Standard equals implementation.fromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.int
int
int
Editor method - returns the tool class name for this shape.boolean
void
paintShape
(RMShapePainter aPainter, Graphics2D g) rpgClone
(ReportMill aReportMill) A clone implementation that copies this shape and its children, performing data substituion as well.void
setBarcodeHeight
(int barcodeHeight) void
setBarcodeType
(int barcodeType) void
setBarcodeWidth
(int barcodeWidth) void
setShowText
(boolean showText) void
toXML
(RXArchiver anArchiver) XML archival.Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, superSelectable, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
-
Constructor Details
-
BarcodeShape
public BarcodeShape()
-
-
Method Details
-
paintShape
- Specified by:
paintShape
in interfaceRMShapePainter.Paint
-
basePaint
Called from PDF painting - fillwith white first- Specified by:
basePaint
in interfaceJava2DShapePainter
-
toXML
XML archival. -
fromXML
XML unarchival. -
rpgClone
Description copied from class:RMShape
A clone implementation that copies this shape and its children, performing data substituion as well. -
equals
Standard equals implementation. -
copy
Copies the attributes from the given object. -
getBarcodeHeight
public int getBarcodeHeight() -
setBarcodeHeight
public void setBarcodeHeight(int barcodeHeight) -
getBarcodeWidth
public int getBarcodeWidth() -
setBarcodeWidth
public void setBarcodeWidth(int barcodeWidth) -
getString
-
setString
-
getToolClassName
Description copied from class:RMShape
Editor method - returns the tool class name for this shape.- Overrides:
getToolClassName
in classRMShape
-
setShowText
public void setShowText(boolean showText) -
isShowText
public boolean isShowText() -
getBarcodeType
public int getBarcodeType() -
setBarcodeType
public void setBarcodeType(int barcodeType)
-