ucar.unidata.util
Class GuiUtils.VerticalLabelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.LabelUI
          extended by javax.swing.plaf.basic.BasicLabelUI
              extended by 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
 
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
 
Method Summary
 Dimension getPreferredSize(JComponent c)
          Get the preferred size
 void paint(Graphics g, JComponent c)
          Paint
 
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 javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clockwise

protected boolean clockwise
rotation

Method Detail

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 context
c - the component