jm.gui.cpn

## Class TrebleStave.Style

- java.lang.Object
- - jm.gui.cpn.TrebleStave.Style

- Enclosing class:
    TrebleStave

      public abstract static class TrebleStave.Style
      extends java.lang.Object

  Defines a type representing the rules and logic of when accidentals should be dispalyed against notes on the stave. Note: In jMusic version 1.2 and earlier this inner class was previously called AccidentalDisplayStyle.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static TrebleStave.Style` | `JMUSIC` Defines a style unique to jMusic, which displays an accidental in all situations where the status (sharp/flat/natural) of a note may be unclear.
    `static TrebleStave.Style` | `TRADITIONAL` Defines the standard style of displaying accidentals in a Common Practice Notation stave.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### TRADITIONAL

          public static final TrebleStave.Style TRADITIONAL

      Defines the standard style of displaying accidentals in a Common Practice Notation stave.

    - #### JMUSIC

          public static final TrebleStave.Style JMUSIC

      Defines a style unique to jMusic, which displays an accidental in all situations where the status (sharp/flat/natural) of a note may be unclear. Note: In jMusic version 1.2 and earlier this field was previously called SUPERFLUOUS_SHARPS_AND_FLATS.

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`