|
|||||||||
| Home >> All >> com >> virtuosotechnologies >> asaph >> [ notationmanager overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.virtuosotechnologies.asaph.notationmanager
Class StandardNote

java.lang.Objectcom.virtuosotechnologies.asaph.notationmanager.StandardNote
- All Implemented Interfaces:
- com.virtuosotechnologies.asaph.model.notation.Note
- class StandardNote
- extends java.lang.Object
- implements com.virtuosotechnologies.asaph.model.notation.Note
- extends java.lang.Object
Standard implementation of Note.
| Field Summary | |
private StandardNotationFactory |
factory_
|
private boolean |
isCaps_
|
private int |
letterValue_
|
private StandardNoteModifier |
modifier_
|
private int |
pitchValue_
|
| Constructor Summary | |
(package private) |
StandardNote(StandardNotationFactory factory,
int letterValue,
int pitchValue,
StandardNoteModifier modifier,
boolean isCaps)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
factory_
private StandardNotationFactory factory_
letterValue_
private int letterValue_
pitchValue_
private int pitchValue_
modifier_
private StandardNoteModifier modifier_
isCaps_
private boolean isCaps_
| Constructor Detail |
StandardNote
StandardNote(StandardNotationFactory factory, int letterValue, int pitchValue, StandardNoteModifier modifier, boolean isCaps)
| Method Detail |
getNotationFactory
public com.virtuosotechnologies.asaph.model.notation.NotationFactory getNotationFactory()
- Get the NotationFactory that created this object
- Specified by:
getNotationFactoryin interfacecom.virtuosotechnologies.asaph.model.notation.Note
getLetterValue
int getLetterValue()
getPitchValue
int getPitchValue()
isCaps
boolean isCaps()
generateString
public java.lang.String generateString()
- Generate the string representation
- Specified by:
generateStringin interfacecom.virtuosotechnologies.asaph.model.notation.Note
getBaseNote
public com.virtuosotechnologies.asaph.model.notation.Note getBaseNote()
- Get the base of this note (that is, the note with the default modifier).
- Specified by:
getBaseNotein interfacecom.virtuosotechnologies.asaph.model.notation.Note
getNoteModifier
public com.virtuosotechnologies.asaph.model.notation.NoteModifier getNoteModifier()
- Get the modifier of this note
- Specified by:
getNoteModifierin interfacecom.virtuosotechnologies.asaph.model.notation.Note
getNoteWithModifier
public com.virtuosotechnologies.asaph.model.notation.Note getNoteWithModifier(com.virtuosotechnologies.asaph.model.notation.NoteModifier modifier)
- Create a Note whose base is the same as this one, but with the given modifier.
- Specified by:
getNoteWithModifierin interfacecom.virtuosotechnologies.asaph.model.notation.Note
getRaised
public com.virtuosotechnologies.asaph.model.notation.Note getRaised(com.virtuosotechnologies.asaph.model.notation.Interval interval)
- Create a note raised by an interval
- Specified by:
getRaisedin interfacecom.virtuosotechnologies.asaph.model.notation.Note
getLowered
public com.virtuosotechnologies.asaph.model.notation.Note getLowered(com.virtuosotechnologies.asaph.model.notation.Interval interval)
- Create a note lowered by an interval
- Specified by:
getLoweredin interfacecom.virtuosotechnologies.asaph.model.notation.Note
getIntervalTo
public com.virtuosotechnologies.asaph.model.notation.Interval getIntervalTo(com.virtuosotechnologies.asaph.model.notation.Note note)
- Create an interval from this note to the given note
- Specified by:
getIntervalToin interfacecom.virtuosotechnologies.asaph.model.notation.Note
equals
public boolean equals(java.lang.Object obj)
- equals
hashCode
public int hashCode()
- hashCode
toString
public java.lang.String toString()
- toString
|
|||||||||
| Home >> All >> com >> virtuosotechnologies >> asaph >> [ notationmanager overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.virtuosotechnologies.asaph.notationmanager.StandardNote