public class BTextIcon extends Object implements Icon, PropertyChangeListener
| 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 |
|---|
BTextIcon(Component component,
String label,
int rotateHint) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
propertyChange(PropertyChangeEvent e) |
void |
setLabel(String label) |
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 void setLabel(String label)
public void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenerpublic int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2016 openBaraza. All Rights Reserved.