| java.lang.Object org.acm.seguin.uml.UMLIcon
All known Subclasses: org.acm.seguin.uml.ClassIcon, org.acm.seguin.uml.ProtectionIcon, org.acm.seguin.uml.InterfaceIcon,
UMLIcon | abstract public class UMLIcon implements Icon(Code) | | Base class for drawing icons on a UML diagram
author: Chris Seguin |
Constructor Summary | |
public | UMLIcon(int wide, int high) |
iconHeight | protected int iconHeight(Code) | | Description of the Field
|
iconWidth | protected int iconWidth(Code) | | Description of the Field
|
scale | protected double scale(Code) | | Description of the Field
|
UMLIcon | public UMLIcon(int wide, int high)(Code) | | Constructor for the UMLIcon object
Parameters: wide - the size of the icon Parameters: high - the size of the icon |
getIconHeight | public int getIconHeight()(Code) | | Gets the IconHeight attribute of the UMLIcon object
The IconHeight value |
getIconWidth | public int getIconWidth()(Code) | | Gets the IconWidth attribute of the UMLIcon object
The IconWidth value |
paintIcon | abstract public void paintIcon(Component c, Graphics g, int x, int y)(Code) | | Draws the icon
Parameters: c - The component on which we are drawing Parameters: g - The graphics object Parameters: x - the x location Parameters: y - the y location |
setScale | public void setScale(double value)(Code) | | Sets the Scale attribute of the UMLIcon object
Parameters: value - The new Scale value |
|
|