de.javasoft.plaf.synthetica
Class StyleFactory

java.lang.Object
  extended by javax.swing.plaf.synth.SynthStyleFactory
      extended by de.javasoft.plaf.synthetica.StyleFactory

public class StyleFactory
extends javax.swing.plaf.synth.SynthStyleFactory

Synthetica's StyleFactory.

Version:
3.26, 22.11.2013

Nested Class Summary
 class StyleFactory.ComponentPropertyStore
           
 
Constructor Summary
StyleFactory(javax.swing.plaf.synth.SynthStyleFactory synthStyleFactory)
          Constructor
 
Method Summary
 StyleFactory.ComponentPropertyStore getComponentPropertyStore()
           
 javax.swing.plaf.synth.SynthStyle getStyle(javax.swing.JComponent c, javax.swing.plaf.synth.Region region)
          Returns style specified by component and region.
 void prepareMetalLAFSwitch()
          Switching LAF to Metal at runtime is not supported very well by Metal, because components opaque values won't get initialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleFactory

public StyleFactory(javax.swing.plaf.synth.SynthStyleFactory synthStyleFactory)
Constructor

Method Detail

getComponentPropertyStore

public StyleFactory.ComponentPropertyStore getComponentPropertyStore()

getStyle

public javax.swing.plaf.synth.SynthStyle getStyle(javax.swing.JComponent c,
                                                  javax.swing.plaf.synth.Region region)
Returns style specified by component and region.

Specified by:
getStyle in class javax.swing.plaf.synth.SynthStyleFactory
Parameters:
c - component
region - region
Returns:
style for the specified component/region

prepareMetalLAFSwitch

public void prepareMetalLAFSwitch()
Switching LAF to Metal at runtime is not supported very well by Metal, because components opaque values won't get initialized. To support LAF switching at runtime call this method before setting LAF to Metal.



Copyright © 2004-2011 Jyloo Software. All Rights Reserved.