ucar.unidata.util
Class GuiUtils.VerticalLabelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
ucar.unidata.util.GuiUtils.VerticalLabelUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
- Enclosing class:
- GuiUtils
public static class GuiUtils.VerticalLabelUI
- extends BasicLabelUI
Class for a vertical label
- Version:
- $Revision: 1.317 $
- Author:
- IDV Development Team
|
Field Summary |
protected boolean |
clockwise
rotation |
| Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
createUI, 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
- rotation
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Get the preferred size
- Overrides:
getPreferredSize in class BasicLabelUI
- Parameters:
c - the component
- Returns:
- the dimension
paint
public void paint(Graphics g,
JComponent c)
- Paint
- Overrides:
paint in class BasicLabelUI
- Parameters:
g - graphics contextc - the component