swingwtx.swing.plaf.metal
Class GenericComponentUI
java.lang.Object
swingwtx.swing.plaf.ComponentUI
swingwtx.swing.plaf.metal.GenericComponentUI
- public class GenericComponentUI
- extends ComponentUI
This is a generic ComponentUI wrapper for use with SwingWT.
The createUI(Class) method creates a new ComponentUI instance intended for wrapping the SWT component
of the given type.
Why? This allows us to create SWT components that can be custom drawn with Swing code, a la L&F.
This part still has some work.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericComponentUI
public GenericComponentUI(java.lang.Class componentClass)
createUI
public static ComponentUI createUI(JComponent component)
- Description copied from class:
ComponentUI
- createUI - must be implemented by subclasses
Not sure why Sun didn't make this abstract.
createUI
public static ComponentUI createUI(java.lang.Class componentClass)