Uses of Class
org.jvnet.substance.painter.decoration.DecorationAreaType

Packages that use DecorationAreaType
org.jvnet.substance   
org.jvnet.substance.api   
org.jvnet.substance.api.painter.decoration   
org.jvnet.substance.api.painter.overlay   
org.jvnet.substance.painter.decoration   
org.jvnet.substance.painter.utils   
 

Uses of DecorationAreaType in org.jvnet.substance
 

Methods in org.jvnet.substance that return DecorationAreaType
static DecorationAreaType SubstanceLookAndFeel.getDecorationType(java.awt.Component comp)
          Returns the decoration area type of the specified component.
static DecorationAreaType SubstanceLookAndFeel.getImmediateDecorationType(java.awt.Component comp)
          Returns the immediate decoration area type of the specified component.
 

Methods in org.jvnet.substance with parameters of type DecorationAreaType
static void SubstanceLookAndFeel.setDecorationType(javax.swing.JComponent comp, DecorationAreaType type)
          Sets the decoration type of the specified component and all its children.
 

Uses of DecorationAreaType in org.jvnet.substance.api
 

Fields in org.jvnet.substance.api with type parameters of type DecorationAreaType
protected  java.util.Map<DecorationAreaType,SubstanceColorScheme> SubstanceSkin.backgroundColorSchemeMap
          Maps decoration area type to the background color schemes.
protected  java.util.Map<DecorationAreaType,SubstanceColorSchemeBundle> SubstanceSkin.colorSchemeBundleMap
          Maps decoration area type to the color scheme bundles.
protected  java.util.Set<DecorationAreaType> SubstanceSkin.decoratedAreaSet
          Set of all decoration area types that are not explicitly registered in SubstanceSkin.colorSchemeBundleMap but still are considered as decoration areas in this skin.
protected  java.util.Map<DecorationAreaType,java.util.List<SubstanceOverlayPainter>> SubstanceSkin.overlayPaintersMap
          Maps decoration area type to the registered overlay painters.
 

Methods in org.jvnet.substance.api with parameters of type DecorationAreaType
 void SubstanceSkin.addOverlayPainter(SubstanceOverlayPainter overlayPainter, DecorationAreaType... areaTypes)
          Adds the specified overlay painter to the end of the list of overlay painters associated with the specified decoration area types.
 SubstanceColorScheme SubstanceSkin.getBackgroundColorScheme(DecorationAreaType decorationAreaType)
          Returns the background color scheme for the specified decoration area type.
 SubstanceColorScheme SubstanceSkin.getColorScheme(DecorationAreaType decorationAreaType, ColorSchemeAssociationKind associationKind, ComponentState componentState)
          Returns the color scheme to be used for painting the specified visual area of components in the specified decoration area.
 SubstanceColorScheme SubstanceSkin.getMainActiveColorScheme(DecorationAreaType decorationAreaType)
          Returns the main active color scheme for the specific decoration area type.
 SubstanceColorScheme SubstanceSkin.getMainDefaultColorScheme(DecorationAreaType decorationAreaType)
          Returns the main default color scheme for the specific decoration area type.
 SubstanceColorScheme SubstanceSkin.getMainDisabledColorScheme(DecorationAreaType decorationAreaType)
          Returns the main disabled color scheme for the specific decoration area type.
 java.util.List<SubstanceOverlayPainter> SubstanceSkin.getOverlayPainters(DecorationAreaType decorationAreaType)
          Returns a non-null, non-modifiable list of overlay painters associated with the specified decoration area type.
 boolean SubstanceSkin.isPaintingDropShadows(DecorationAreaType decorationAreaType)
          Deprecated. Use SubstanceSkin.getOverlayPainters(DecorationAreaType) and test for presence of TopShadowOverlayPainter. This method will be removed in version 6.0.
 boolean SubstanceSkin.isRegisteredAsDecorationArea(DecorationAreaType decorationType)
          Returns indication whether the specified decoration area type should have their background painted by SubstanceDecorationPainter.paintDecorationArea(Graphics2D, Component, DecorationAreaType, int, int, SubstanceSkin) instead of a simple background fill.
 void SubstanceSkin.registerAsDecorationArea(SubstanceColorScheme backgroundColorScheme, DecorationAreaType... areaTypes)
          Registers the specified background color scheme to be used on controls in decoration areas.
 void SubstanceSkin.registerDecorationAreaSchemeBundle(SubstanceColorSchemeBundle bundle, DecorationAreaType... areaTypes)
          Registers the specified color scheme bundle to be used on controls in decoration areas.
 void SubstanceSkin.registerDecorationAreaSchemeBundle(SubstanceColorSchemeBundle bundle, SubstanceColorScheme backgroundColorScheme, DecorationAreaType... areaTypes)
          Registers the specified color scheme bundle and background color scheme to be used on controls in decoration areas.
 void SubstanceSkin.removeOverlayPainter(SubstanceOverlayPainter overlayPainter, DecorationAreaType... areaTypes)
          Removes the specified overlay painter from the list of overlay painters associated with the specified decoration area types.
 void SubstanceSkin.setPaintingDropShadows(DecorationAreaType decorationAreaType)
          Deprecated. Use SubstanceSkin.addOverlayPainter(SubstanceOverlayPainter, DecorationAreaType...) with an instance of TopShadowOverlayPainter. This method will be removed in version 6.0.
 void SubstanceSkin.unsetPaintingDropShadows(DecorationAreaType decorationAreaType)
          Deprecated. Use SubstanceSkin.removeOverlayPainter(SubstanceOverlayPainter, DecorationAreaType...) with an instance of TopShadowOverlayPainter. This method will be removed in version 6.0.
 

Uses of DecorationAreaType in org.jvnet.substance.api.painter.decoration
 

Methods in org.jvnet.substance.api.painter.decoration with parameters of type DecorationAreaType
 void FractionBasedDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 

Uses of DecorationAreaType in org.jvnet.substance.api.painter.overlay
 

Methods in org.jvnet.substance.api.painter.overlay with parameters of type DecorationAreaType
 void TopShadowOverlayPainter.paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void TopLineOverlayPainter.paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void TopBezelOverlayPainter.paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void SubstanceOverlayPainter.paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
          Paints the overlay.
 void BottomShadowOverlayPainter.paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void BottomLineOverlayPainter.paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 

Uses of DecorationAreaType in org.jvnet.substance.painter.decoration
 

Methods in org.jvnet.substance.painter.decoration that return DecorationAreaType
static DecorationAreaType DecorationAreaType.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DecorationAreaType[] DecorationAreaType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.jvnet.substance.painter.decoration with parameters of type DecorationAreaType
 void SubstanceDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
          Paints the decoration area.
 void MatteDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void ImageWrapperDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void Glass3DDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void FlatDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void ClassicDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 void ArcDecorationPainter.paintDecorationArea(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
           
 

Uses of DecorationAreaType in org.jvnet.substance.painter.utils
 

Methods in org.jvnet.substance.painter.utils that return DecorationAreaType
static DecorationAreaType DecorationPainterUtils.getDecorationType(java.awt.Component comp)
          Returns the decoration area type of the specified component.
static DecorationAreaType DecorationPainterUtils.getImmediateDecorationType(java.awt.Component comp)
          Returns the immediate decoration area type of the specified component.
 

Methods in org.jvnet.substance.painter.utils with parameters of type DecorationAreaType
static void OverlayPainterUtils.paintOverlays(java.awt.Graphics g, java.awt.Component c, SubstanceSkin skin, DecorationAreaType decorationAreaType)
          Paints all registered overlays on the specified component.
static void DecorationPainterUtils.setDecorationType(javax.swing.JComponent comp, DecorationAreaType type)
          Sets the decoration type of the specified component.