-
Method Summary
Gets the trait display name as defined in the locale's messages file.
boolean
Gets whether the trait is enabled.
Gets a fully uppercase String of the trait name without the namespace
-
Method Details
-
isEnabled
boolean isEnabled()
Gets whether the trait is enabled. Disabled traits will have no effect
and will be hidden from menus.
- Returns:
- whether the trait is enabled
-
getDisplayName
Gets the trait display name as defined in the locale's messages file.
- Parameters:
locale
- the locale to get the display name
- Returns:
- the display name in the specified locale or a fallback language
-
name
Gets a fully uppercase String of the trait name without the namespace
- Returns:
- the trait name in all upper case