com.jidesoft.plaf.xerto
Class VerticalLabelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
com.jidesoft.plaf.xerto.VerticalLabelUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class VerticalLabelUI
- extends BasicLabelUI
VerticalLabelUI - used to replace the UI on a JLabel to make it vertical
- Version:
- 1.0
- Author:
- Created by Jasper Potts (10-Jun-2004)
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clockwise
protected boolean clockwise
VerticalLabelUI
public VerticalLabelUI(boolean clockwise)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSize
in class BasicLabelUI
paint
public void paint(Graphics i_oGraphics,
JComponent i_oComponent)
- Overrides:
paint
in class BasicLabelUI
isRotateIcon
public boolean isRotateIcon()
- Gets the flag indicating if the icon should be rotated.
- Returns:
- true if the icon should be rotated with the text. Otherwise false.
- Since:
- 3.5.5
setRotateIcon
public void setRotateIcon(boolean rotateIcon)
- Sets the flag indicating if the icon should be rotated.
By default the value is true.
- Parameters:
rotateIcon
- the flag- Since:
- 3.5.5