Enum Class BassStyle
- All Implemented Interfaces:
Serializable,Comparable<BassStyle>,Constable
The possible bass styles of a WbpSource.
X_CUSTOM styles are used for dynamically created WbpSources when database could not provide the relevant WbpSource.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.jjazz.jjswing.bass.PhraseBuilderGet the factory associated to this style.booleanis2feel()booleanisCustom()booleanstatic BassStyleReturns the enum constant of this class with the specified name.static BassStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INTRO
-
ENDING
-
TWO_FEEL
-
TWO_FEEL_CUSTOM
-
WALKING
-
WALKING_CUSTOM
-
WALKING_DOUBLE_NOTE
-
WALKING_DOUBLE_NOTE_CUSTOM
-
WALKING_DOUBLE_TIME
-
WALKING_DOUBLE_TIME_CUSTOM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getBassPhraseBuilder
public org.jjazz.jjswing.bass.PhraseBuilder getBassPhraseBuilder()Get the factory associated to this style.- Returns:
-
is2feel
public boolean is2feel() -
isWalking
public boolean isWalking() -
isCustom
public boolean isCustom() -
getNonCustomStyles
-
getCustomStyle
-
getNonCustomStyle
-