| java.lang.Object org.acm.seguin.uml.UMLIcon org.acm.seguin.uml.ProtectionIcon
ProtectionIcon | public class ProtectionIcon extends UMLIcon (Code) | | Icon that draws the protection symbol
author: Chris Seguin |
ProtectionIcon | public ProtectionIcon(int wide, int high)(Code) | | Constructor for the ProtectionIcon object
Parameters: wide - the size of the icon Parameters: high - the size of the icon |
paintIcon | 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 |
setProtection | public void setProtection(int value)(Code) | | Sets the Protection attribute of the ProtectionIcon object
Parameters: value - The new Protection value |
|
|