|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.uml.UMLIcon
org.acm.seguin.uml.InterfaceIcon
public class InterfaceIcon
Icon that draws the interface symbol
Field Summary |
---|
Fields inherited from class org.acm.seguin.uml.UMLIcon |
---|
iconHeight, iconWidth, scale |
Constructor Summary | |
---|---|
InterfaceIcon(int wide,
int high)
Constructor for the InterfaceIcon object |
Method Summary | |
---|---|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Draws the icon |
Methods inherited from class org.acm.seguin.uml.UMLIcon |
---|
getIconHeight, getIconWidth, setScale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterfaceIcon(int wide, int high)
wide
- the size of the iconhigh
- the size of the iconMethod Detail |
---|
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
paintIcon
in class UMLIcon
c
- The component on which we are drawingg
- The graphics objectx
- the x locationy
- the y location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |