Class SlateUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--SlateUI

public class SlateUI
extends javax.swing.plaf.ComponentUI

UI delegate for Slate component.

Author:
Ramnivas Laddad

Constructor Summary
SlateUI()
           
 
Method Summary
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          Override paint in ComponentUI.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, installUI, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlateUI

public SlateUI()
Method Detail

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Override paint in ComponentUI. Draw all the shapes in model associated with delegating view on graphics object supplied
Parameters:
g - graphics object to draw shapes on.
c - delegeting component.
Overrides:
paint in class javax.swing.plaf.ComponentUI

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Overrides:
getPreferredSize in class javax.swing.plaf.ComponentUI