org.jvnet.substance.skin
Interface SubstanceSkin

All Superinterfaces:
SubstanceTrait
All Known Implementing Classes:
AutumnSkin, BusinessBlackSteelSkin, BusinessBlueSteelSkin, BusinessSkin, ChallengerDeepSkin, CremeCoffeeSkin, CremeSkin, EbonyHighContrastSkin, EmeraldDuskSkin, FieldOfWheatSkin, FindingNemoSkin, GreenMagicSkin, MagmaSkin, MangoSkin, MistAquaSkin, MistSilverSkin, ModerateSkin, NebulaBrickWallSkin, NebulaSkin, OfficeBlue2007Skin, OfficeSilver2007Skin, RavenGraphiteGlassSkin, RavenGraphiteSkin, RavenSkin, SaharaSkin, SubstanceAbstractSkin

public interface SubstanceSkin
extends SubstanceTrait

Skin for Substance look and feel.

Since:
version 3.1
Author:
Kirill Grouchnikov

Method Summary
 java.lang.String getDisplayName()
          Returns the display name of this trait.
 SubstanceTheme getTheme()
          Returns the theme of this skin.
 SubstanceWatermark getWatermark()
          Returns the watermark of this skin.
 boolean set()
          Sets this skin.
 

Method Detail

getDisplayName

java.lang.String getDisplayName()
Description copied from interface: SubstanceTrait
Returns the display name of this trait. This method is part of officially supported API.

Specified by:
getDisplayName in interface SubstanceTrait
Returns:
The display name of this trait.

set

boolean set()
Sets this skin. Can call any public static method in SubstanceLookAndFeel class.

Returns:
true if skin has been set successfully, false otherwise.

getTheme

SubstanceTheme getTheme()
Returns the theme of this skin. The result may be null if this skin doesn't define a custom theme.

Returns:
The theme of this skin. The result may be null if this skin doesn't define a custom theme.

getWatermark

SubstanceWatermark getWatermark()
Returns the watermark of this skin. The result may be null if this skin doesn't define a custom watermark.

Returns:
The watermark of this skin. The result may be null if this skin doesn't define a custom watermark.