Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.api.trait
Interface SubstanceTraitInfo

All Known Implementing Classes:
  SkinInfo, TraitInfoImpl

    public interface SubstanceTraitInfo

Base interface for Substance traits info, like `ThemeInfo`, `WatermarkInfo` etc.

Author:
  Kirill Grouchnikov

Method Summary
`java.lang.String` | `getClassName()` Returns the class name of the associated trait.
`java.lang.String` | `getDisplayName()` Returns the display name of the associated trait.
`boolean` | `isDefault()` Returns indication whether the associated trait is default.
`void` | `setDefault(boolean isDefault)` Sets indication whether the associated trait is default.

Method Detail

### getDisplayName

    java.lang.String getDisplayName()

  Returns the display name of the associated trait. This method is part of officially supported API.

  Returns:
    The display name of the associated trait.

### getClassName

    java.lang.String getClassName()

  Returns the class name of the associated trait.

  Returns:
    The class name of the associated trait. This method is part of officially supported API.

### isDefault

    boolean isDefault()

  Returns indication whether the associated trait is default.

  Returns:
    `true` if the associated trait is default, `false` otherwise.

### setDefault

    void setDefault(boolean isDefault)

  Sets indication whether the associated trait is default.

  Parameters:
    `isDefault` - New indication whether the associated trait is default.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD