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,- java.lang.Cloneable
 
 public class BarcodeShape extends RMShape implements RMShapePainter.Paint, Java2DShapePainter 
- 
- 
Field Summary- 
Fields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
- 
 - 
Constructor SummaryConstructors Constructor Description BarcodeShape()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbasePaint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D rect)Called from PDF painting - fillwith white firstvoidcopy(java.lang.Object anObj)Copies the attributes from the given object.booleanequals(java.lang.Object anObj)Standard equals implementation.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.intgetBarcodeHeight()intgetBarcodeType()intgetBarcodeWidth()RMXStringgetString()java.lang.StringgetToolClassName()Editor method - returns the tool class name for this shape.booleanisShowText()voidpaintShape(RMShapePainter aPainter, java.awt.Graphics2D g)RMShaperpgClone(ReportMill aReportMill)A clone implementation that copies this shape and its children, performing data substituion as well.voidsetBarcodeHeight(int barcodeHeight)voidsetBarcodeType(int barcodeType)voidsetBarcodeWidth(int barcodeWidth)voidsetShowText(boolean showText)voidsetString(RMXString string)RXElementtoXML(RXArchiver anArchiver)XML archival.- 
Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, 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.RMObjectdidUndo, getAnimAttribute, getClassNameShort
 
- 
 
- 
- 
- 
Method Detail- 
paintShapepublic void paintShape(RMShapePainter aPainter, java.awt.Graphics2D g) - Specified by:
- paintShapein interface- RMShapePainter.Paint
 
 - 
basePaintpublic void basePaint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D rect)Called from PDF painting - fillwith white first- Specified by:
- basePaintin interface- Java2DShapePainter
 
 - 
toXMLpublic RXElement toXML(RXArchiver anArchiver) XML archival.
 - 
fromXMLpublic java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.
 - 
rpgClonepublic RMShape rpgClone(ReportMill aReportMill) Description copied from class:RMShapeA clone implementation that copies this shape and its children, performing data substituion as well.
 - 
equalspublic boolean equals(java.lang.Object anObj) Standard equals implementation.
 - 
copypublic void copy(java.lang.Object anObj) Copies the attributes from the given object.
 - 
getBarcodeHeightpublic int getBarcodeHeight() 
 - 
setBarcodeHeightpublic void setBarcodeHeight(int barcodeHeight) 
 - 
getBarcodeWidthpublic int getBarcodeWidth() 
 - 
setBarcodeWidthpublic void setBarcodeWidth(int barcodeWidth) 
 - 
getStringpublic RMXString getString() 
 - 
setStringpublic void setString(RMXString string) 
 - 
getToolClassNamepublic java.lang.String getToolClassName() Description copied from class:RMShapeEditor method - returns the tool class name for this shape.- Overrides:
- getToolClassNamein class- RMShape
 
 - 
setShowTextpublic void setShowText(boolean showText) 
 - 
isShowTextpublic boolean isShowText() 
 - 
getBarcodeTypepublic int getBarcodeType() 
 - 
setBarcodeTypepublic void setBarcodeType(int barcodeType) 
 
- 
 
-