org.sape.carbon.services.swing.ui
Class VerticalLabelUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.LabelUI
              |
              +--javax.swing.plaf.basic.BasicLabelUI
                    |
                    +--org.sape.carbon.services.swing.ui.VerticalLabelUI
All Implemented Interfaces:
EventListener, PropertyChangeListener

public class VerticalLabelUI
extends BasicLabelUI

This is the template for Classes.

Since:
carbon 1.0
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/05/05 21:21:27 $)
Author:
Greg Hinkle, January 2002

Field Summary
protected  boolean clockwise
           
private static Rectangle paintIconR
           
private static Rectangle paintTextR
           
private static Insets paintViewInsets
           
private static Rectangle paintViewR
           
 
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
 
Constructor Summary
VerticalLabelUI(boolean clockwise)
           
 
Method Summary
 Dimension getPreferredSize(JComponent c)
           
 void paint(Graphics g, JComponent c)
           
 
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

paintIconR

private static Rectangle paintIconR

paintTextR

private static Rectangle paintTextR

paintViewR

private static Rectangle paintViewR

paintViewInsets

private static Insets paintViewInsets
Constructor Detail

VerticalLabelUI

public VerticalLabelUI(boolean clockwise)
Method Detail

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class BasicLabelUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class BasicLabelUI


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.