| Modifier and Type | Field and Description |
|---|---|
static int |
ROTATE_DEFAULT |
static int |
ROTATE_LEFT |
static int |
ROTATE_NONE |
static int |
ROTATE_RIGHT |
| Constructor and Description |
|---|
VerticalTextIcon(FontMetrics fontMetrics,
String text,
int rotation) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setLabel(String text) |
public static final int ROTATE_DEFAULT
public static final int ROTATE_NONE
public static final int ROTATE_LEFT
public static final int ROTATE_RIGHT
public VerticalTextIcon(FontMetrics fontMetrics, String text, int rotation)
public void setLabel(String text)
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2017. All rights reserved.