PropertyChangeListener
, EventListener
public class VerticalLabelUI extends BasicLabelUI
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
clockwise |
labelUI
Constructor | Description |
---|---|
VerticalLabelUI(boolean clockwise) |
Modifier and Type | Method | 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