Class VerticalLabelUI

java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
mgui.interfaces.util.VerticalLabelUI
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener

public class VerticalLabelUI
extends javax.swing.plaf.basic.BasicLabelUI
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • 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

    Modifier and Type Method Description
    java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)  
    void paint​(java.awt.Graphics g, javax.swing.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • clockwise

      protected boolean clockwise
  • Constructor Details

    • VerticalLabelUI

      public VerticalLabelUI​(boolean clockwise)
  • Method Details

    • getPreferredSize

      public java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
      Overrides:
      getPreferredSize in class javax.swing.plaf.basic.BasicLabelUI
    • paint

      public void paint​(java.awt.Graphics g, javax.swing.JComponent c)
      Overrides:
      paint in class javax.swing.plaf.basic.BasicLabelUI