public class VerticalTextIcon extends Object implements Icon, SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
VerticalTextIcon(String text,
boolean clockwize)
Creates a new VerticalTextIcon object.
|
VerticalTextIcon(String text,
boolean clockwize,
Color color)
Creates a new VerticalTextIcon object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public VerticalTextIcon(String text, boolean clockwize)
text - DOCUMENT ME!clockwize - DOCUMENT ME!public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2012–2026 cismet GmbH. All rights reserved.