FileDocCategorySizeDatePackage
SynthDefaultLookup.javaAPI DocJava SE 5 API916Fri Aug 26 14:58:12 BST 2005javax.swing.plaf.synth

SynthDefaultLookup

public class SynthDefaultLookup extends DefaultLookup
SynthDefaultLookup redirects all lookup calls to the SynthContext.
version
1.4 12/19/03
author
Scott Violet

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetDefault(javax.swing.JComponent c, javax.swing.plaf.ComponentUI ui, java.lang.String key)

        if (!(ui instanceof SynthUI)) {
            Object value = super.getDefault(c, ui, key);
            return value;
        }
        SynthContext context = ((SynthUI)ui).getContext(c);
        Object value = context.getStyle().get(context, key);
        context.dispose();
        return value;