|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.yaac.gui.drawlayer.StrokeIcon
public class StrokeIcon
Constructor Summary | |
---|---|
StrokeIcon(java.awt.BasicStroke stroke,
java.lang.String strokeType)
Create a StrokeIcon object. |
Method Summary | |
---|---|
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
java.awt.BasicStroke |
getStroke()
Get the stroke associated with this icon. |
java.lang.String |
getStrokeType()
Get the name of this generic stroke type. |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Draw the icon at the specified location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrokeIcon(java.awt.BasicStroke stroke, java.lang.String strokeType)
stroke
- the BasicStroke to draw for this iconstrokeType
- the String name of the stroke typeMethod Detail |
---|
public int getIconHeight()
getIconHeight
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
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public java.awt.BasicStroke getStroke()
public java.lang.String getStrokeType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |