|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNoteIcon
This class represents the icon for the notes of a sequence diagram.
Constructor Summary | |
NoteIcon()
|
Method Summary | |
int |
getIconHeight()
This method returns the height for the icon. |
int |
getIconWidth()
This method returns the width for the icon. |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
This method is called to draw the icon on a given point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoteIcon()
Method Detail |
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
c
- The component where the icon should be drawn.g
- The graphics used to draw the icon.x
- The x-value where the icon should be drawn.y
- The y-value where the icon should be drawn.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |