Package org.jungrapht.samples.util
Class VerticalLabelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.LabelUI
-
- javax.swing.plaf.basic.BasicLabelUI
-
- org.jungrapht.samples.util.VerticalLabelUI
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
public class VerticalLabelUI extends BasicLabelUI
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
clockwise
-
Fields inherited from class javax.swing.plaf.basic.BasicLabelUI
labelUI
-
-
Constructor Summary
Constructors Constructor Description VerticalLabelUI(boolean clockwise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension
getPreferredSize(JComponent c)
void
paint(Graphics g, JComponent c)
-
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 javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
-
-
-
Method Detail
-
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSize
in classBasicLabelUI
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paint
in classBasicLabelUI
-
-