Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.ui.ghost
Class ComponentConverter

java.lang.Object
  extended by oracle.javatools.ui.ghost.ComponentConverter


public final class ComponentConverter
extends java.lang.Object

A class to visit every component in a component hierarchy. Each component will have it's ui properties changed according to the bean properties given in a map. Certain specific components will have their UI delegates replaced with a specially designed ui. Components can veto changes to thier look with the client property UIConstants.VETO_CONVERSION


Constructor Summary
ComponentConverter()
           

 

Method Summary
static void convertToGhost(javax.swing.JComponent component, UIConstants.Look look)
          Convert the given component and all of its children to the ghost look.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ComponentConverter

public ComponentConverter()

Method Detail

convertToGhost

public static void convertToGhost(javax.swing.JComponent component,
                                  UIConstants.Look look)
Convert the given component and all of its children to the ghost look. Components with the client property VETO_CONVERSION set will not be converted but their children might. There are different types of ghost look, see Look.
Parameters:
component - the parent component to start the conversion.
look - the type of ghost look to convert to.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.