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.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
-
Constructor Summary
Constructors Constructor Description BarcodeShape()
-
Method Summary
All 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.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
-
-
-
-
Method Detail
-
paintShape
public void paintShape(RMShapePainter aPainter, java.awt.Graphics2D g)
- Specified by:
paintShapein interfaceRMShapePainter.Paint
-
basePaint
public void basePaint(java.awt.Graphics2D g, java.awt.geom.Rectangle2D rect)Called from PDF painting - fillwith white first- Specified by:
basePaintin interfaceJava2DShapePainter
-
toXML
public RXElement toXML(RXArchiver anArchiver)
XML archival.
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.
-
rpgClone
public RMShape rpgClone(ReportMill aReportMill)
Description copied from class:RMShapeA clone implementation that copies this shape and its children, performing data substituion as well.
-
equals
public boolean equals(java.lang.Object anObj)
Standard equals implementation.
-
copy
public void copy(java.lang.Object anObj)
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
public RMXString getString()
-
setString
public void setString(RMXString string)
-
getToolClassName
public java.lang.String getToolClassName()
Description copied from class:RMShapeEditor method - returns the tool class name for this shape.- Overrides:
getToolClassNamein classRMShape
-
setShowText
public void setShowText(boolean showText)
-
isShowText
public boolean isShowText()
-
getBarcodeType
public int getBarcodeType()
-
setBarcodeType
public void setBarcodeType(int barcodeType)
-
-