SubstanceTraitInfo
SkinInfo
public class TraitInfoImpl extends java.lang.Object implements SubstanceTraitInfo
Constructor | Description |
---|---|
TraitInfoImpl(java.lang.String displayName,
java.lang.String className) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public TraitInfoImpl(java.lang.String displayName, java.lang.String className)
displayName
- Display name of the associated trait.className
- Class name of the associated trait.public java.lang.String getClassName()
SubstanceTraitInfo
getClassName
in interface SubstanceTraitInfo
public java.lang.String getDisplayName()
SubstanceTraitInfo
getDisplayName
in interface SubstanceTraitInfo
public boolean isDefault()
SubstanceTraitInfo
isDefault
in interface SubstanceTraitInfo
true
if the associated trait is default,
false
otherwise.public void setDefault(boolean isDefault)
SubstanceTraitInfo
setDefault
in interface SubstanceTraitInfo
isDefault
- New indication whether the associated trait is default.