iCMS.applet
Class CustomLabelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.LabelUI
          extended by iCMS.applet.CustomLabelUI

public class CustomLabelUI
extends LabelUI

The CustomLabelUI is a class that paints a label in the substance style

Version:
2.0.0
Author:
Chris Lukassen
 

Constructor Summary
CustomLabelUI()
          constructor
 
Method Summary
static ComponentUI createUI(JComponent jcomponent)
          Returns an instance of the UI delegate for the specified component.
 void installUI(JComponent jcomponent)
          Configures the specified component appropriate for the look and feel.
 void paint(Graphics g, JComponent c)
          Paints the specified component appropriate for the look and feel.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomLabelUI

public CustomLabelUI()
constructor

Method Detail

createUI

public static ComponentUI createUI(JComponent jcomponent)
Returns an instance of the UI delegate for the specified component.


installUI

public void installUI(JComponent jcomponent)
Configures the specified component appropriate for the look and feel.

Overrides:
installUI in class ComponentUI

paint

public void paint(Graphics g,
                  JComponent c)
Paints the specified component appropriate for the look and feel.

Overrides:
paint in class ComponentUI