Record Class Preset
java.lang.Object
java.lang.Record
org.jjazz.cl_editor.spi.Preset
- Record Components:
type-item- can be null only when type=BarEdit or AnnotationEditkey- if != 0, indicates the edit action was triggered by this key press
How a CL_BarEditorDialog can be preset.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPreset(Preset.Type type, ChordLeadSheetItem<?> item, char key) Creates an instance of aPresetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.item()Returns the value of theitemrecord component.charkey()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
type
-
item
-
key
-