de.javasoft.plaf.synthetica.styles
Class ViewportStyle

java.lang.Object
  extended by javax.swing.plaf.synth.SynthStyle
      extended by de.javasoft.plaf.synthetica.styles.StyleWrapper
          extended by de.javasoft.plaf.synthetica.styles.ViewportStyle

public class ViewportStyle
extends StyleWrapper

Style wrapper for viewports. Used for dynamic background color of viewport which means that the background color of the view will be used as viewport background color.

Version:
1.03, 24.07.2013

Field Summary
 
Fields inherited from class de.javasoft.plaf.synthetica.styles.StyleWrapper
synthStyle
 
Method Summary
 java.awt.Color getColor(javax.swing.plaf.synth.SynthContext sc, javax.swing.plaf.synth.ColorType type)
           
static javax.swing.plaf.synth.SynthStyle getStyle(javax.swing.plaf.synth.SynthStyle style, javax.swing.JComponent c, javax.swing.plaf.synth.Region region)
           
 
Methods inherited from class de.javasoft.plaf.synthetica.styles.StyleWrapper
get, getBoolean, getColorForState, getFont, getFontForState, getGraphicsUtils, getIcon, getInsets, getInt, getPainter, getString, installDefaults, isOpaque, uninstallDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStyle

public static javax.swing.plaf.synth.SynthStyle getStyle(javax.swing.plaf.synth.SynthStyle style,
                                                         javax.swing.JComponent c,
                                                         javax.swing.plaf.synth.Region region)

getColor

public java.awt.Color getColor(javax.swing.plaf.synth.SynthContext sc,
                               javax.swing.plaf.synth.ColorType type)
Overrides:
getColor in class StyleWrapper


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