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 Summary
ConstructorsConstructorDescriptionRMShapeIcon(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
- 
RMShapeIcon
Creates a new ShapeIcon. - 
RMShapeIcon
Creates a new ShapeIcon. - 
RMShapeIcon
Creates a shape painter from any objects (assumed to be a document source). 
 - 
 - 
Method Details
- 
getShape
Returns the shape. - 
setShape
Sets the shape. - 
getIconWidth
public int getIconWidth()Returns width.- Specified by:
 getIconWidthin interfaceIcon
 - 
getIconHeight
public int getIconHeight()Returns height.- Specified by:
 getIconHeightin interfaceIcon
 - 
setSize
public void setSize(double aWidth, double aHeight) Sets the size. - 
paintIcon
Paints the icon. 
 -