Package com.inductiveautomation.rm.swing
Class RMShapeIcon
java.lang.Object
com.inductiveautomation.rm.swing.RMShapeIcon
- All Implemented Interfaces:
- Icon
An icon to paint a shape.
- 
Constructor SummaryConstructorsConstructorDescriptionRMShapeIcon(RMShape aShape) Creates a new ShapeIcon.RMShapeIcon(RMShape aShape, double aWidth, double aHeight) Creates a new ShapeIcon.RMShapeIcon(Object aSource, double aWidth, double aHeight) Creates a shape painter from any objects (assumed to be a document source).
- 
Method Summary
- 
Constructor Details- 
RMShapeIconCreates a new ShapeIcon.
- 
RMShapeIconCreates a new ShapeIcon.
- 
RMShapeIconCreates a shape painter from any objects (assumed to be a document source).
 
- 
- 
Method Details- 
getShapeReturns the shape.
- 
setShapeSets the shape.
- 
getIconWidthpublic int getIconWidth()Returns width.- Specified by:
- getIconWidthin interface- Icon
 
- 
getIconHeightpublic int getIconHeight()Returns height.- Specified by:
- getIconHeightin interface- Icon
 
- 
setSizepublic void setSize(double aWidth, double aHeight) Sets the size.
- 
paintIconPaints the icon.
 
-