public class VerticalLabelUI extends BasicLabelUI
Modifier and Type | Field and Description |
---|---|
protected boolean |
clockwise |
labelUI
Constructor and Description |
---|
VerticalLabelUI(boolean clockwise) |
Modifier and Type | Method and Description |
---|---|
Dimension |
getPreferredSize(JComponent c) |
boolean |
isRotateIcon()
Gets the flag indicating if the icon should be rotated.
|
void |
paint(Graphics i_oGraphics,
JComponent i_oComponent) |
void |
setRotateIcon(boolean rotateIcon)
Sets the flag indicating if the icon should be rotated.
|
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class BasicLabelUI
public void paint(Graphics i_oGraphics, JComponent i_oComponent)
paint
in class BasicLabelUI
public boolean isRotateIcon()
public void setRotateIcon(boolean rotateIcon)
rotateIcon
- the flag