public class LineDecorationIcon
extends java.lang.Object
implements javax.swing.Icon
Constructor and Description |
---|
LineDecorationIcon(LineDecoration decoration,
boolean isStartDecoration)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics gr,
int x,
int y) |
public LineDecorationIcon(LineDecoration decoration, boolean isStartDecoration)
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 gr, int x, int y)
paintIcon
in interface javax.swing.Icon