A B C D E F G H I K L M N O P Q R S T V W X Y _

A

ABOVE - Static variable in class org.niffty.LogicalPlacement
 
ABOVE_15 - Static variable in class org.niffty.Clef.OctaveNumber
A little "15" above.
ABOVE_8 - Static variable in class org.niffty.Clef.OctaveNumber
A little "8" above.
absolutePlacement() - Method in class org.niffty.Tags
Returns the absolute placement tag as a Placement, or null if the tag is not present.
Accidental - class org.niffty.Accidental.
An Accidental has a shape and optional tags: small size, parenthesis
Accidental.Shape - class org.niffty.Accidental.Shape.
An Accidental.Shape has constants for the legal shapes.
Accidental(Accidental.Shape, Tags) - Constructor for class org.niffty.Accidental
Creates a new Accidental with the given parameters.
add(IntRatio) - Method in class org.niffty.IntRatio
Set this ratio to this + r
add(Rational) - Method in class org.niffty.IntRatio
Set this ratio to this + r
add(Rational, int) - Method in class org.niffty.SymbolPositioner
Add a new entry to the positions list for the given startTime, with the given symbolsToLeft.
addChild(HeirarchyNode) - Method in class org.niffty.HeirarchyNode
Add the child to the end of the child node list and set its parent to this node.
addMeasureStart(MeasureStartTimeSlice) - Method in class org.niffty.Staff
Add the given measure start timeslice to the MeasureStartTimeSlice list.
addMusicSymbol(MusicSymbol) - Method in class org.niffty.TimeSlice
Add the given mysicSymbol to the MusicSymbol list.
addMusicSymbols(RIFF, TimeSlice) - Static method in class org.niffty.RiffTimeSlice
This reads chunks from parentInput's input stream until the next NIFF time slice or no more bytesRemaining in the input, adding the chunks to the timeSlice's music symbol list.
addPage(Page) - Method in class org.niffty.ScoreData
Add the given Page to the page list.
addStaff(Staff) - Method in class org.niffty.StaffSystem
Add the given staff to the Staff list.
addSystem(StaffSystem) - Method in class org.niffty.Page
Add the given staffSystem to the StaffSystem list.
addTimeSlice(TimeSlice) - Method in class org.niffty.MeasureStartTimeSlice
Add the given timeslice to the TimeSlice list.
addTimeSlices(RIFF, MeasureStartTimeSlice) - Static method in class org.niffty.RiffMeasureStartTimeSlice
This reads event TimeSlice chunks from parentInput's input stream until the next measure start time slice or no more bytesRemaining in the parentInput, adding the TimeSlice objects to the measureStart's time slice list.
alternateEnding() - Method in class org.niffty.Tags
Returns the alternate ending tag as an Integer whose value() has the value, or null if the tag is not present.
Anchored - interface org.niffty.Anchored.
The Anchored interface is for music elements such as Staff, Notehead, etc.
anchorOverride() - Method in class org.niffty.Tags
Returns the anchorOverride tag, or null if the tag is not present.
append(String) - Method in class org.niffty.TextAreaViewer
Append the given string to the text area.
ArticulationDirection - class org.niffty.ArticulationDirection.
An ArticulationDirection has constants for the legal types of articulation direction used in Tags.
articulationDirection() - Method in class org.niffty.Tags
Returns the articulation direction tag or null if the tag is not present.
AugmentationDot - class org.niffty.AugmentationDot.
An AugmentationDot has optional tags: logical placement.
AugmentationDot(Tags) - Constructor for class org.niffty.AugmentationDot
Creates a new AugmentationDot with the given parameters.

B

Barline - class org.niffty.Barline.
A Barline has a type, extends to, number of staves and optional tags: thickness, width and line quality.
Barline.ExtendsTo - class org.niffty.Barline.ExtendsTo.
A Barline.ExtendsTo has constants for the legal "extends to" values.
Barline.Type - class org.niffty.Barline.Type.
A Barline.Type has constants for the legal barline types.
Barline(Barline.Type, Barline.ExtendsTo, int, Tags) - Constructor for class org.niffty.Barline
Creates a new Barline with the given parameters.
Beam - class org.niffty.Beam.
A Beam has a parts to left and parts to right and optional tags: multi-node symbol tags
Beam(int, int, Tags) - Constructor for class org.niffty.Beam
Creates a new Beam with the given parameters.
BELOW - Static variable in class org.niffty.LogicalPlacement
 
BELOW_15 - Static variable in class org.niffty.Clef.OctaveNumber
A little "15" below.
BELOW_8 - Static variable in class org.niffty.Clef.OctaveNumber
A little "8" below.
BETWEEN_STAVES - Static variable in class org.niffty.Barline.ExtendsTo
 
bezierIncoming() - Method in class org.niffty.Tags
Returns the Bezier incoming tag as a Placement, or null if the tag is not present.
bezierOutgoing() - Method in class org.niffty.Tags
Returns the Bezier outgoing tag as a Placement, or null if the tag is not present.
BOTTOM - Static variable in class org.niffty.ReferencePointOverride
 
BOTTOM_OF_STAFF - Static variable in class org.niffty.Barline.ExtendsTo
For the bottom line of the bottom staff given by the associated number of staves
BRACKET_ONLY - Static variable in class org.niffty.TupletDescription
 
BREVE - Static variable in class org.niffty.Rest.Shape
 
BREVE - Static variable in class org.niffty.Notehead.Shape
 

C

C_CLEF - Static variable in class org.niffty.Clef.Shape
 
CENTERED - Static variable in class org.niffty.LogicalPlacement
 
CENTIMETERS - Static variable in class org.niffty.NIFFInfo
 
chordSymbolOffset() - Method in class org.niffty.Tags
Returns the chord symbol offset tag as an Integer whose value() has the value, or null if the tag is not present.
ChunkLengthTable - class org.niffty.ChunkLengthTable.
ChunkLengthTable
ChunkLengthTable() - Constructor for class org.niffty.ChunkLengthTable
Create a new empty ChunkLengthTable
Clef - class org.niffty.Clef.
A Clef has a shape, staff step, and octave number and optional tags: logical or absolute placement, voice ID
Clef.OctaveNumber - class org.niffty.Clef.OctaveNumber.
A Clef.OctaveNumber has constants for the legal octave number indicatiors.
Clef.Shape - class org.niffty.Clef.Shape.
A Clef.Shape has constants for the legal shapes.
Clef(Clef.Shape, int, Clef.OctaveNumber, Tags) - Constructor for class org.niffty.Clef
Creates a new Clef with the given parameters.
clone() - Method in class org.niffty.Tags
Return a copy of this Tags object with all the same fields.
cloneWithAbsolutePlacement(Placement) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the absolute placement changed to the given value, which may be null if the tag is not present.
cloneWithAlternateEnding(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with alternate ending changed to the given value, which may be null if the tag is not present.
cloneWithAnchorOverride(String) - Method in class org.niffty.Tags
Returns a copy of this Tags, with anchorOverride changed to the given value, which may be null if the tag is not present.
cloneWithArticulationDirection(ArticulationDirection) - Method in class org.niffty.Tags
Returns a copy of this Tags, with articulationDirection changed to the given value, which may be null if the tag is not present.
cloneWithBezierIncoming(Placement) - Method in class org.niffty.Tags
Returns a copy of this Tags, with bezierIncoming changed to the given value, which may be null if the tag is not present.
cloneWithBezierOutgoing(Placement) - Method in class org.niffty.Tags
Returns a copy of this Tags, with bezierOutgoing changed to the given value, which may be null if the tag is not present.
cloneWithChordSymbolOffset(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with chordSymbolOffset changed to the given value, which may be null if the tag is not present.
cloneWithCustomGraphic(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with customGraphic changed to the given value, which may be null if the tag is not present.
cloneWithEndOfSystem(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the endOfSystem flag set to the given value.
cloneWithFannedBeam(FannedBeam) - Method in class org.niffty.Tags
Returns a copy of this Tags, with fannedBeam changed to the given value, which may be null if the tag is not present.
cloneWithFiguredBass(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with figuredBass changed to the given value, which may be null if the tag is not present.
cloneWithGraceNote(Rational) - Method in class org.niffty.Tags
Returns a copy of this Tags, with graceNote changed to the given value, which may be null if the tag is not present.
cloneWithGuitarGridOffset(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with guitarGridOffset changed to the given value, which may be null if the tag is not present.
cloneWithGuitarTablature(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the guitarTablature flag set to the given value.
cloneWithHeight(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with height changed to the given value, which may be null if the tag is not present.
cloneWithId(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with id changed to the given value, which may be null if the tag is not present.
cloneWithInvisible(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the invisible flag set to the given value.
cloneWithLargeSize(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the largeSize flag set to the given value.
cloneWithLineQuality(LineQuality) - Method in class org.niffty.Tags
Returns a copy of this Tags, with lineQuality changed to the given value, which may be null if the tag is not present.
cloneWithLogicalPlacement(LogicalPlacement) - Method in class org.niffty.Tags
Returns a copy of this Tags, with logicalPlacement changed to the given value, which may be null if the tag is not present.
cloneWithMidiPerformance(MIDIPerformance) - Method in class org.niffty.Tags
Returns a copy of this Tags, with midiPerformance changed to the given value, which may be null if the tag is not present.
cloneWithMultiNodeEndOfSystem(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the multiNodeEndOfSystem flag set to the given value.
cloneWithMultiNodeStartOfSystem(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the multiNodeStartOfSystem flag set to the given value.
cloneWithNumberOfFlags(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with numberOfFlags changed to the given value, which may be null if the tag is not present.
cloneWithNumberOfNodes(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with numberOfNodes changed to the given value, which may be null if the tag is not present.
cloneWithNumberOfStaffLines(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with numberOfStaffLines changed to the given value, which may be null if the tag is not present.
cloneWithOssia(Ossia) - Method in class org.niffty.Tags
Returns a copy of this Tags, with ossia changed to the given value, which may be null if the tag is not present.
cloneWithPartDescriptionOverride(PartDescriptionOverride) - Method in class org.niffty.Tags
Returns a copy of this Tags, with partDescriptionOverride changed to the given value, which may be null if the tag is not present.
cloneWithPartID(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with partID changed to the given value, which may be null if the tag is not present.
cloneWithReferencePointOverride(ReferencePointOverride) - Method in class org.niffty.Tags
Returns a copy of this Tags, with referencePointOverride changed to the given value, which may be null if the tag is not present.
cloneWithRehearsalMarkOffset(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with rehearsalMarkOffset changed to the given value, which may be null if the tag is not present.
cloneWithRestNumeral(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with restNumeral changed to the given value, which may be null if the tag is not present.
cloneWithSilent(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the silent flag set to the given value.
cloneWithSlashedStem(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the slashedStem flag set to the given value.
cloneWithSmallSize(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the smallSize flag set to the given value.
cloneWithSpacingByPart(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the spacingByPart flag set to the given value.
cloneWithSplitStem(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the splitStem flag set to the given value.
cloneWithStaffName(boolean) - Method in class org.niffty.Tags
Returns a copy of this Tags, with the staffName flag set to the given value.
cloneWithStaffStep(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with staffStep changed to the given value, which may be null if the tag is not present.
cloneWithThickness(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with thickness changed to the given value, which may be null if the tag is not present.
cloneWithTieDirection(TieDirection) - Method in class org.niffty.Tags
Returns a copy of this Tags, with tieDirection changed to the given value, which may be null if the tag is not present.
cloneWithTupletDescription(TupletDescription) - Method in class org.niffty.Tags
Returns a copy of this Tags, with tupletDescription changed to the given value, which may be null if the tag is not present.
cloneWithVoiceID(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with voiceID changed to the given value, which may be null if the tag is not present.
cloneWithWidth(Integer) - Method in class org.niffty.Tags
Returns a copy of this Tags, with width changed to the given value, which may be null if the tag is not present.
compareTo(Object) - Method in class org.niffty.Rational
Compare this Rational to object and return -1 if this is less than object, 1 if this is greater than object, or zero if they are equal.
compareTo(Object) - Method in class org.niffty.IntRatio
Compare this ratio to object and return -1 if this is less than object, 1 if this is greater than object, or zero if they are equal.
customGraphic() - Method in class org.niffty.Tags
Returns the custom graphic tag as an Integer whose value() has the value, or null if the tag is not present.

D

DASHED_LINE - Static variable in class org.niffty.LineQuality
 
DEFAULT - Static variable in class org.niffty.TupletDescription
 
DEFAULT - Static variable in class org.niffty.ReferencePointOverride
 
DEFAULT - Static variable in class org.niffty.LogicalPlacement
 
destroy() - Method in class org.niffty.Niffty
 
DO_NOT_PLAY_BACK - Static variable in class org.niffty.Ossia
 
DOTTED_LINE - Static variable in class org.niffty.LineQuality
 
DOUBLE_FLAT - Static variable in class org.niffty.Accidental.Shape
 
DOUBLE_G_CLEF - Static variable in class org.niffty.Clef.Shape
 
DOUBLE_SHARP - Static variable in class org.niffty.Accidental.Shape
 
doubleValue() - Method in class org.niffty.Rational
Return numerator/denominator as a double value.
doubleValue() - Method in class org.niffty.IntRatio
Return numerator/denominator as a double value.
draw(Graphics) - Method in class org.niffty.AugmentationDot
 
draw(Graphics) - Method in class org.niffty.Rest
 
draw(Graphics) - Method in class org.niffty.Tie
Draw this object
draw(Graphics) - Method in class org.niffty.KeySignature
Draw this object
draw(Graphics) - Method in class org.niffty.Accidental
 
draw(Graphics) - Method in class org.niffty.Barline
Draw this object
draw(Graphics) - Method in class org.niffty.Beam
Draw this object
draw(Graphics) - Method in class org.niffty.Notehead
Draw this object
draw(Graphics) - Method in class org.niffty.Stem
Draw this object
draw(Graphics) - Method in class org.niffty.TimeSignature
 
draw(Graphics) - Method in class org.niffty.Clef
Draw this object
draw(Graphics) - Method in class org.niffty.MusicSymbol
It is expected that the subclass will override this.
draw(Graphics) - Method in class org.niffty.TimeSlice
 
draw(Graphics) - Method in class org.niffty.MeasureStartTimeSlice
 
draw(Graphics) - Method in class org.niffty.Staff
 
draw(Graphics) - Method in class org.niffty.StaffSystem
 
draw(Graphics) - Method in class org.niffty.Page
 
draw(Graphics, FinalPoint) - Method in class org.niffty.DrawShape
Same as draw (Graphics, int, int) but takes the offset as a FinalPoint.
draw(Graphics, int, int) - Method in class org.niffty.DrawShape
Draw the shape with the given offset using Graphics drawPolyLine.
drawLeftOf(Graphics, DrawShape, FinalPoint, int) - Method in class org.niffty.DrawShape
Same as drawLeftOf (Graphics, DrawShape, int, int, int) but takes the offset as a FinalPoint.
drawLeftOf(Graphics, DrawShape, int, int, int) - Method in class org.niffty.DrawShape
Draw this shape so that it touches the left edge of the target shape, or if gap is > 0 then place that many pixels of gap between the two shapes.
DrawShape - class org.niffty.DrawShape.
A DrawShape holds the points defining a shape to be drawn by the Graphics class.
DrawShape() - Constructor for class org.niffty.DrawShape
Creates an empty shape where draw does nothing.
DrawShape(int[]) - Constructor for class org.niffty.DrawShape
Creates new DrawShape to be drawn by Graphics drawPolyLine.

E

EDUCATIONAL_PROGRAM - Static variable in class org.niffty.NIFFInfo
 
EIGHTH - Static variable in class org.niffty.Rest.Shape
 
endOfSystem() - Method in class org.niffty.Tags
Returns true if the end of system tag is present, otherwise false.
ENGRAVING_PROGRAM - Static variable in class org.niffty.NIFFInfo
 
equals(Object) - Method in class org.niffty.Rational
Return true of the result of compareTo for the object is zero.
equals(Object) - Method in class org.niffty.IntRatio
Return true of the result of compareTo for the object is zero.
EXPANDING_TOWARD_RIGHT - Static variable in class org.niffty.FannedBeam
 

F

F_CLEF - Static variable in class org.niffty.Clef.Shape
 
FannedBeam - class org.niffty.FannedBeam.
A FannedBeam has constants for the legal types of fanned beam used in Tags.
fannedBeam() - Method in class org.niffty.Tags
Returns the fanned beam tag or null if the tag is not present.
figuredBass() - Method in class org.niffty.Tags
Returns the figured bass tag as an Integer whose value() has the value, or null if the tag is not present.
FILLED - Static variable in class org.niffty.Notehead.Shape
 
FILLED_GUITAR_SLASH - Static variable in class org.niffty.Notehead.Shape
 
FILLED_SQUARE - Static variable in class org.niffty.Notehead.Shape
 
FILLED_TRIANGLE - Static variable in class org.niffty.Notehead.Shape
 
FinalPoint - class org.niffty.FinalPoint.
This is an immutable version of Point where x and y cannot change.
FinalPoint(FinalPoint, int, int) - Constructor for class org.niffty.FinalPoint
Creates a new FinalPoint with the coordinates of point added to deltaX and deltaY.
FinalPoint(int, int) - Constructor for class org.niffty.FinalPoint
Creates new FinalPoint with the given x and y.
FinalPoint(Point) - Constructor for class org.niffty.FinalPoint
Creates new FinalPoint from the given point.
findDefaultAnchor() - Method in class org.niffty.MusicSymbol
This is a utility function to return the anchor of the previous MusicSymbol in the parent TimeSlice, or to return the parent time slice if there are no previous music symbols.
findLeftPositionedX() - Method in class org.niffty.MusicSymbol
This is a utility function to return the screen X position of a left-positioned symbol (as defined by isLeftPositioned()).
findMultiNodes() - Method in class org.niffty.MusicSymbol
This is a utility method which returns a list of nodes in this ID group for objects of the same type.
FLAT - Static variable in class org.niffty.Accidental.Shape
 
FOUR_MEASURES - Static variable in class org.niffty.Rest.Shape
 

G

G_CLEF - Static variable in class org.niffty.Clef.Shape
 
gcd(int, int) - Static method in class org.niffty.IntRatio
Return the greatest common denomitator of abs(a) and abs(b).
getA() - Method in class org.niffty.TupletDescription
Return the A value of the AB transformation ratio.
getAbsoluteUnits() - Method in class org.niffty.NIFFInfo
Returns the absolute units, or -1 for none.
getAnchorHorizontal() - Method in class org.niffty.ReferencePointOverride
Return the anchor horizontal value, which is DEFAULT, LEFT, RIGHT or HORIZONTAL_CENTER.
getAnchorVertical() - Method in class org.niffty.ReferencePointOverride
Return the anchor vertical value, which is DEFAULT, TOP, BOTTOM or VERTICAL_CENTER.
getAppletInfo() - Method in class org.niffty.Niffty
 
getB() - Method in class org.niffty.TupletDescription
Return the B value of the AB transformation ratio.
getBottomEdge() - Method in class org.niffty.DrawShape
Return the bottom edge of the shape which is the maximum Y coordinate.
getBottomNumber() - Method in class org.niffty.TimeSignature
Returns the bottom number of the time signature.
getBytesRemaining() - Method in class org.niffty.RIFF
Return the bytes remaining in this chunk or list.
getC() - Method in class org.niffty.TupletDescription
Return the C value of the CD transformation ratio.
getChild(int) - Method in class org.niffty.HeirarchyNode
Return the child node at the given index in the child node list.
getChildCount() - Method in class org.niffty.HeirarchyNode
Return the number of nodes in the child node list.
getChunkID() - Method in class org.niffty.RIFF
Return the chunk ID which was read in the constructor.
getChunkLengthTable() - Method in class org.niffty.ScoreSetup
 
getD() - Method in class org.niffty.TupletDescription
Return the D value of the CD transformation ratio.
getD() - Method in class org.niffty.Rational
Return the denominator
getD() - Method in class org.niffty.IntRatio
Return the denominator
getData() - Method in class org.niffty.Score
 
getDependentHorizontal() - Method in class org.niffty.ReferencePointOverride
Return the dependent horizontal value, which is DEFAULT, LEFT, RIGHT or HORIZONTAL_CENTER.
getDependentVertical() - Method in class org.niffty.ReferencePointOverride
Return the dependent vertical value, which is DEFAULT, TOP, BOTTOM or VERTICAL_CENTER.
getDuration() - Method in class org.niffty.Rest
Returns the duration RATIONAL
getDuration() - Method in class org.niffty.Notehead
Returns the duration RATIONAL
getDuration() - Method in class org.niffty.MeasureStartTimeSlice
Return the duration of this measure.
getDuration() - Method in class org.niffty.StaffSystem
Return the duration of this staff system.
getDuration() - Method in class org.niffty.MIDIPerformance
Return the duration value.
getExtendsTo() - Method in class org.niffty.Barline
Returns the "extends to" value.
getGroupingSymbol() - Method in class org.niffty.TupletDescription
Return the grouping symbol which isDEFAULT, NUMBER_ONLY, NUMBER_WITH_BROKEN_SLUR, NUMBER_OUTSIDE_SLUR, NUMBER_INSIDE_SLUR, NUMBER_WITH_BROKEN_BRACKET, NUMBER_OUTSIDE_BRACKET, NUMBER_INSIDE_BRACKET, BRACKET_ONLY, SLUR_ONLY or NO_SYMBOL.
getHorizontal() - Method in class org.niffty.LogicalPlacement
Return the horizontal value which is DEFAULT, LEFT, RIGHT, STEM_SIDE, NOTE_SIDE or CENTERED
getHorizontal() - Method in class org.niffty.Placement
Return the horizontal value
getIndex() - Method in class org.niffty.MusicSymbol
Return the index of this music symbol in the parent's music symbol list.
getIndex() - Method in class org.niffty.TimeSlice
Return the index of this time slice in the parent's time slice list.
getIndex() - Method in class org.niffty.MeasureStartTimeSlice
Return the index of this measure start time slice in the parent's measure start time slice list.
getIndex() - Method in class org.niffty.Staff
Return the index of this Staff in the parent's staff list.
getIndex() - Method in class org.niffty.StaffSystem
Return the index of this StaffSystem in the parent's staff system list.
getIndex() - Method in class org.niffty.Page
Return the index of this Page in the parent's page list.
getIndex() - Method in class org.niffty.HeirarchyNode
Return the index if this node in the parent node list, or throws a HeirarchyException if there is no parent.
getLeftEdge() - Method in class org.niffty.Notehead
Return the left edge of the shape which is the offset from the screenHotspot().
getLeftEdge() - Method in class org.niffty.DrawShape
Return the left edge of the shape which is the minimum X coordinate.
getLeftPositionedSymbolCount() - Method in class org.niffty.TimeSlice
Return the count of music symbols in this time slice for which isLeftPositionedSymbol() is true.
getMeasureStart(int) - Method in class org.niffty.Staff
Return the MeasureStartTimeSlice in the measure start time slice list at the given index.
getMeasureStartCount() - Method in class org.niffty.Staff
Return the number of measure start time slices in the measure start time slice list.
getMidiCable() - Method in class org.niffty.PartDescriptionOverride
Return the MIDI cable value, or -1 specifies none.
getMidiChannel() - Method in class org.niffty.PartDescriptionOverride
Return the MIDI channel value, or -1 specifies none.
getMidiTicksPerQuarter() - Method in class org.niffty.NIFFInfo
Returns the MIDI ticks per quarter, or -1 for none.
getMusicSymbol(int) - Method in class org.niffty.TimeSlice
Return the music symbol at the given index.
getMusicSymbolCount() - Method in class org.niffty.TimeSlice
Return the number of music symbols in the music symbol list.
getN() - Method in class org.niffty.Rational
Return the numerator
getN() - Method in class org.niffty.IntRatio
Return the numerator
getNIFFInfo() - Method in class org.niffty.ScoreSetup
 
getNumberOfStaves() - Method in class org.niffty.Barline
Returns the number of staves used if getExtendsTo() is ExtendsTo.BOTTOM_OF_STAFF
getOctaveNumber() - Method in class org.niffty.Clef
Returns the octave number.
getOutputStream() - Method in class org.niffty.TextAreaViewer
Get an OutputStream where the write operations will append to the text area.
getPage(int) - Method in class org.niffty.ScoreData
Return the Page in the page list at the given index.
getPageCount() - Method in class org.niffty.ScoreData
Return the number of pages in the page list.
getPageHeader() - Method in class org.niffty.Page
 
getPageIndex() - Method in class org.niffty.NifftyDrawPanel
 
getParentData() - Method in class org.niffty.Page
Return the parent ScoreData.
getParentMeasureStart() - Method in class org.niffty.TimeSlice
Return the parent MeasureStartTimeSlice.
getParentNode() - Method in class org.niffty.HeirarchyNode
Return the parent in the heirarchy, or null if this is the top node.
getParentPage() - Method in class org.niffty.StaffSystem
Return the parent Page.
getParentScore() - Method in class org.niffty.TimeSlice
Return the ultimate Score object of which this is a child.
getParentScore() - Method in class org.niffty.MeasureStartTimeSlice
Return the ultimate Score object of which this is a child.
getParentScore() - Method in class org.niffty.Staff
Return the ultimate Score object of which this is a child.
getParentScore() - Method in class org.niffty.StaffSystem
Return the ultimate Score object of which this is a child.
getParentScore() - Method in class org.niffty.Page
Return the ultimate Score object of which this is a child.
getParentScore() - Method in class org.niffty.ScoreData
Return the parent Score, or null if this hasn't been added to a Score object yet.
getParentStaff() - Method in class org.niffty.MeasureStartTimeSlice
Return the parent Staff.
getParentSystem() - Method in class org.niffty.Staff
Return the parent StaffSystem.
getParentTimeSlice() - Method in class org.niffty.MusicSymbol
Return the parent TimeSlice.
getPartsList() - Method in class org.niffty.ScoreSetup
 
getPartsToLeft() - Method in class org.niffty.Beam
Returns the parts to left for the beam.
getPartsToRight() - Method in class org.niffty.Beam
Returns the parts to right for the beam.
getPitch() - Method in class org.niffty.MIDIPerformance
Return the pitch value
getProximity() - Method in class org.niffty.LogicalPlacement
Return the proximity value which is DEFAULT, TOUCHING, OFFSET_SLIGHTLY.
getRightEdge() - Method in class org.niffty.Rest
Return the right edge of the shape which is the offset from the screenHotspot().
getRightEdge() - Method in class org.niffty.Notehead
Return the right edge of the shape which is the offset from the screenHotspot().
getRightEdge() - Method in class org.niffty.DrawShape
Return the right edge of the shape which is the maximum X coordinate.
getScore() - Method in class org.niffty.NifftyDrawPanel
 
getScreenHotspot() - Method in class org.niffty.AugmentationDot
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.Rest
Override the y position to use the value from staffStepOffsetY from the parent time slice's position at the top of the staff.
getScreenHotspot() - Method in class org.niffty.KeySignature
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.Accidental
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.Barline
 
getScreenHotspot() - Method in class org.niffty.Beam
If this is the defining node, return the screen hotspot, computing it if called for the first time.
getScreenHotspot() - Method in class org.niffty.Notehead
Override the y position to use the value from staffStepOffsetY from the parent time slice's position at the top of the staff.
getScreenHotspot() - Method in class org.niffty.Stem
Return the screen hotspot, computing it if called for the first time.
getScreenHotspot() - Method in class org.niffty.TimeSignature
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.Clef
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.MusicSymbol
This is a method of the Anchored interface.
getScreenHotspot() - Method in class org.niffty.TimeSlice
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.MeasureStartTimeSlice
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.Staff
 
getScreenHotspot() - Method in interface org.niffty.Anchored
Get the hotspot for this object in screen coordinates.
getScreenHotspot() - Method in class org.niffty.StaffSystem
 
getSetup() - Method in class org.niffty.Score
 
getShape() - Method in class org.niffty.Rest
Returns the shape.
getShape() - Method in class org.niffty.Accidental
Returns the shape.
getShape() - Method in class org.niffty.Notehead
Returns the shape.
getShape() - Method in class org.niffty.Clef
Returns the shape.
getStaff(int) - Method in class org.niffty.StaffSystem
Return the Staff in the staff list at the given index.
getStaffCount() - Method in class org.niffty.StaffSystem
Return the number of staves in the staff list.
getStaffHeader() - Method in class org.niffty.Staff
 
getStaffSpacingY() - Method in class org.niffty.Page
Return the Y distance in screen coordinates between one staff and the next.
getStaffStep() - Method in class org.niffty.Rest
Returns the staff step for the notehead.
getStaffStep() - Method in class org.niffty.Notehead
Returns the staff step for the notehead.
getStaffStep() - Method in class org.niffty.Clef
Returns the staff step for the clef, which is 2 for a G_CLEF, etc.
getStandardCode() - Method in class org.niffty.KeySignature
Returns the standard code indicating the number of sharps or flats: 0 = no sharps or flats, 1-7 =1-7 sharps, 8-14 = 1-7 flats, -1 - -7 = 1-7 naturals in the sharp positions, -8 - -14 = 1-7 naturals in the flat positions
getStandardUnits() - Method in class org.niffty.NIFFInfo
Returns the standard units, which is NONE, INCHES, CENTIMETERS or POINTS.
getStartTime() - Method in class org.niffty.TimeSlice
Returns the start time Rational.
getStartTime() - Method in class org.niffty.MeasureStartTimeSlice
Returns the start time Rational.
getStartTime() - Method in class org.niffty.StaffSystem
Return the global start time of this staff system.
getStartTime() - Method in class org.niffty.MIDIPerformance
Return the start time value.
getStavesHeight() - Method in class org.niffty.Score
Return the total height of the working area for all the staves on the page in screen pixels.
getStavesScreenHotspot() - Method in class org.niffty.Score
Return the origin in screen coordinates of the top staff.
getStavesWidth() - Method in class org.niffty.Score
Return the width of the working area for the staves on the page in screen pixels.
getStemDown() - Method in class org.niffty.Stem
If there is a logical placement tag and its vertical value is BELOW, return true, otherwise return false as the default which means stem up.
getSymbolCount() - Method in class org.niffty.SymbolPositioner
Return the total symbol count for all the positions, where for each position, there is 1 for the center symbol plus the symbols to left.
getSymbolCount() - Method in class org.niffty.MeasureStartTimeSlice
 
getSymbolPosition(Rational) - Method in class org.niffty.SymbolPositioner
Get the position of the symbol for the given startTime.
getSymbolPosition(Rational) - Method in class org.niffty.MeasureStartTimeSlice
 
getSystem(int) - Method in class org.niffty.Page
Return the StaffSystem in the staff system list at the given index.
getSystemCount() - Method in class org.niffty.Page
Return the number of staff systems in the staff system list.
getSystemHeader() - Method in class org.niffty.StaffSystem
 
getTagData() - Method in class org.niffty.RIFF
Returns the tag data from the most recent call to readTag.
getTagID() - Method in class org.niffty.RIFF
Returns the tag ID from the most recent call to readTag.
getTags() - Method in class org.niffty.MusicSymbol
Returns the Tags object containing the optional tags.
getTags() - Method in class org.niffty.TimeSlice
Returns the Tags object containing the optional tags.
getTags() - Method in class org.niffty.MeasureStartTimeSlice
Returns the Tags object containing the optional tags.
getTags() - Method in class org.niffty.StaffHeader
Returns the Tags object containing the optional tags.
getTags() - Method in class org.niffty.PageHeader
Returns the Tags object containing the optional tags.
getTimeSlice(int) - Method in class org.niffty.MeasureStartTimeSlice
Return the event time slice at the given index.
getTimeSliceCount() - Method in class org.niffty.MeasureStartTimeSlice
Return the number of event time slices in the time slice list.
getTopEdge() - Method in class org.niffty.DrawShape
Return the top edge of the shape which is the minimum Y coordinate.
getTopNumber() - Method in class org.niffty.TimeSignature
Returns the top number of the time signature.
getTranspose() - Method in class org.niffty.PartDescriptionOverride
Return the transpose value.
getType() - Method in class org.niffty.Barline
Returns the type of barline.
getVelocity() - Method in class org.niffty.MIDIPerformance
Return the velocity value
getVersion() - Method in class org.niffty.NIFFInfo
Returns the version which is a string of 8 characters.
getVertical() - Method in class org.niffty.LogicalPlacement
Return the vertical value which is DEFAULT, ABOVE, BELOW, STEM_SIDE, NOTE_SIDE or CENTERED.
getVertical() - Method in class org.niffty.Placement
Return the vertical value
getWidth() - Method in class org.niffty.MeasureStartTimeSlice
Return the width of this measure in screen pixels.
getWidth() - Method in class org.niffty.StaffSystem
Return the width of this staff system.
getWritingProgramType() - Method in class org.niffty.NIFFInfo
Returns the writing program type, which is OTHER, ENGRAVING_PROGRAM, SCANNING_PROGRAM, MIDI_INTERPRETER, SEQUENCER, RESEARCH_PROGRAM, or EDUCATIONAL_PROGRAM.
graceNote() - Method in class org.niffty.Tags
Returns the grace note tag as a Rational, or null if the tag is not present.
guitarGridOffset() - Method in class org.niffty.Tags
Returns the guitar grid offset tag as an Integer whose value() has the value, or null if the tag is not present.
guitarTablature() - Method in class org.niffty.Tags
Returns true if the guitar tablature tag is present, otherwise false.

H

HALF - Static variable in class org.niffty.Rest.Shape
 
HALF - Static variable in class org.niffty.Notehead.Shape
 
height() - Method in class org.niffty.Tags
Returns the height tag as an Integer whose value() has the value, or null if the tag is not present.
HeirarchyException - exception org.niffty.HeirarchyException.
A HeirarchyException is thrown by HeirarchyNode if the heirarchical relationship between and parent object and its children is inconsistent.
HeirarchyException(String) - Constructor for class org.niffty.HeirarchyException
Creates new HeirarchyException
HeirarchyNode - class org.niffty.HeirarchyNode.
A HeirarchyNode is used to manage the relationship between a parent and its child nodes in a heirarchy tree.
HeirarchyNode() - Constructor for class org.niffty.HeirarchyNode
Creates new HeirarchyNode with a null parent.
HORIZONTAL_CENTER - Static variable in class org.niffty.ReferencePointOverride
 

I

id() - Method in class org.niffty.Tags
Returns the id tag as an Integer whose value() has the value, or null if the tag is not present.
INCHES - Static variable in class org.niffty.NIFFInfo
 
init() - Method in class org.niffty.Niffty
This is called automatically if invoked from an applet.
IntRatio - class org.niffty.IntRatio.
IntRatio is a mathematical class for representing a rational number.
IntRatio(int, int) - Constructor for class org.niffty.IntRatio
Creates new IntRatio with the given numerator and denominator.
IntRatio(IntRatio) - Constructor for class org.niffty.IntRatio
Creates new IntRatio from the given IntRatio.
IntRatio(Rational) - Constructor for class org.niffty.IntRatio
Creates new IntRatio from the given Rational.
invalidate() - Method in class org.niffty.AugmentationDot
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Rest
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Tie
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.KeySignature
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Accidental
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Barline
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Beam
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Notehead
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Stem
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.TimeSignature
This is automatically called after the object is modified to to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Clef
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.MusicSymbol
This is automatically called after the object is modified to force this to recompute all its values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.TimeSlice
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.MeasureStartTimeSlice
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Staff
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.StaffSystem
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Page
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.ScoreData
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invalidate() - Method in class org.niffty.Score
This is automatically called after the object is modified to force this and all child objects to recompute their values when the "get" method is called for the value.
invisible() - Method in class org.niffty.Tags
Returns true if the invisible tag is present, otherwise false.
isLeftPositionedSymbol() - Method in class org.niffty.KeySignature
 
isLeftPositionedSymbol() - Method in class org.niffty.TimeSignature
 
isLeftPositionedSymbol() - Method in class org.niffty.Clef
 
isLeftPositionedSymbol() - Method in class org.niffty.MusicSymbol
Return true if this is a symbol, like a cleff change, which appears to the left of the main symbol in the time slice, like the stem.

K

KeySignature - class org.niffty.KeySignature.
A KeySignature has a standard code indicating the number of sharps or flats
KeySignature(int, Tags) - Constructor for class org.niffty.KeySignature
Creates a new KeySignature with the given parameters.

L

largeSize() - Method in class org.niffty.Tags
Returns true if the large size tag is present, otherwise false.
LEFT - Static variable in class org.niffty.ReferencePointOverride
 
LEFT - Static variable in class org.niffty.LogicalPlacement
 
lgetLeftEdge() - Method in class org.niffty.Rest
Return the left edge of the shape which is the offset from the screenHotspot().
LineQuality - class org.niffty.LineQuality.
An LineQuality has constants for the legal types of line quality used in Tags.
lineQuality() - Method in class org.niffty.Tags
Returns the line quality tag or null if the tag is not present.
LogicalPlacement - class org.niffty.LogicalPlacement.
A LogicalPlacement tag has horizontal, vertical and proximity values.
logicalPlacement() - Method in class org.niffty.Tags
Returns the logical placement tag, or null if the tag is not present.
LogicalPlacement() - Constructor for class org.niffty.LogicalPlacement
Creates new LogicalPlacement with zero horizontal, vertical and proximity
LogicalPlacement(int, int, int) - Constructor for class org.niffty.LogicalPlacement
Creates new LogicalPlacement with the given horizontal, vertical and proximity

M

main(String[]) - Static method in class org.niffty.Niffty
 
main(String[]) - Static method in class org.niffty.NifftyEdit
 
maybeNew(RIFF) - Static method in class org.niffty.RiffPartsList
Peek into the parentInput's input stream and if the next item is a NIFF parts list, return a new PartsList.
maybeNew(RIFF) - Static method in class org.niffty.RiffNIFFInfo
Peek into the parentInput's input stream and if the next item is a NIFF info, return a new NIFFInfo.
maybeNew(RIFF) - Static method in class org.niffty.RiffAugmentationDot
Peek into the parentInput's input stream and if the next item is a NIFF augmentation dot, return a new AugmentationDot.
maybeNew(RIFF) - Static method in class org.niffty.RiffRest
Peek into the parentInput's input stream and if the next item is a NIFF rest, return a new Rest.
maybeNew(RIFF) - Static method in class org.niffty.RiffStaffSystem
Peek into the parentInput's input stream and if the next item is a NIFF system, return a new StaffSystem.
maybeNew(RIFF) - Static method in class org.niffty.RiffTimeSlice
Peek into the parentInput's input stream and if the next item is a NIFF time slice with any type other than MEASURE_START (presumably type EVENT), return a new TimeSlice.
maybeNew(RIFF) - Static method in class org.niffty.RiffAccidental
Peek into the parentInput's input stream and if the next item is a NIFF accidental, return a new Accidental.
maybeNew(RIFF) - Static method in class org.niffty.RiffBarline
Peek into the parentInput's input stream and if the next item is a NIFF barline, return a new Barline.
maybeNew(RIFF) - Static method in class org.niffty.RiffKeySignature
Peek into the parentInput's input stream and if the next item is a NIFF key signature, return a new KeySignature.
maybeNew(RIFF) - Static method in class org.niffty.RiffTie
Peek into the parentInput's input stream and if the next item is a NIFF tie, return a new Tie.
maybeNew(RIFF) - Static method in class org.niffty.RiffTimeSignature
Peek into the parentInput's input stream and if the next item is a NIFF time signature, return a new TimeSignature.
maybeNew(RIFF) - Static method in class org.niffty.RiffNotehead
Peek into the parentInput's input stream and if the next item is a NIFF notehead, return a new Notehead.
maybeNew(RIFF) - Static method in class org.niffty.RiffStaff
Peek into the parentInput's input stream and if the next item is a NIFF staff, return a new Staff.
maybeNew(RIFF) - Static method in class org.niffty.RiffChunkLengthTable
Peek into the parentInput's input stream and if the next item is a NIFF chunk length table, return a new ChunkLengthTable.
maybeNew(RIFF) - Static method in class org.niffty.RiffMeasureStartTimeSlice
Peek into the parentInput's input stream and if the next item is a NIFF time slice with type MEASURE_START, return a new MeasureStartTimeSlice.
maybeNew(RIFF) - Static method in class org.niffty.RiffBeam
Peek into the parentInput's input stream and if the next item is a NIFF beam, return a new Beam.
maybeNew(RIFF) - Static method in class org.niffty.RiffStem
Peek into the parentInput's input stream and if the next item is a NIFF stem, return a new Stem.
maybeNew(RIFF) - Static method in class org.niffty.RiffClef
Peek into the parentInput's input stream and if the next item is a NIFF clef, return a new Clef.
maybeNewAnyMusicSymbol(RIFF) - Static method in class org.niffty.RiffTimeSlice
Peek into the parentInput's input stream and if the next item is one of the recognized NIFF music symbols which subclass MusicSymbol, then return a new object of that subclass.
MeasureStartTimeSlice - class org.niffty.MeasureStartTimeSlice.
A MeasureStartTimeSlice has a start time and optional tags and is always type MEASURE_START.
MeasureStartTimeSlice(Rational, Tags) - Constructor for class org.niffty.MeasureStartTimeSlice
Creates a new MeasureStartTimeSlice with the given start time and tags, and an empty TimeSlice list.
MIDI_INTERPRETER - Static variable in class org.niffty.NIFFInfo
 
MIDIPerformance - class org.niffty.MIDIPerformance.
A MIDIPerformance has a start time, duration, pitch and velocity.
midiPerformance() - Method in class org.niffty.Tags
Returns the MIDI performance tag, or null if the tag is not present.
MIDIPerformance() - Constructor for class org.niffty.MIDIPerformance
Creates new MIDIPerformance with all zero values
MIDIPerformance(int, int, int, int) - Constructor for class org.niffty.MIDIPerformance
Creates new MIDIPerformance with the given values.
multiNodeEndOfSystem() - Method in class org.niffty.Tags
Returns true if the multi node end of system tag is present, otherwise false.
multiNodeStartOfSystem() - Method in class org.niffty.Tags
Returns true if the multi node start of system tag is present, otherwise false.
MULTIPLE_MEASURE_THICK_HORIZONTAL - Static variable in class org.niffty.Rest.Shape
 
MULTIPLE_MEASURE_THICK_SLANTED - Static variable in class org.niffty.Rest.Shape
 
MusicSymbol - class org.niffty.MusicSymbol.
MusicSymbol is a base class for music symbol classes used in a Staff.
MusicSymbol(Tags) - Constructor for class org.niffty.MusicSymbol
Creates a new MusicSymbol with the given tags.

N

NATURAL - Static variable in class org.niffty.Accidental.Shape
 
newInstance(InputStream) - Static method in class org.niffty.RiffScore
Creates new Score object from the input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffPartsList
Creates new PartsList from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffStaffSystemHeader
Creates new StaffSystemHeader from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffNIFFInfo
Creates new NIFFInfo from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffAugmentationDot
Creates a new AugmentationDot from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffRest
Creates new Rest from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffStaffSystem
Creates new StaffSystem from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffTimeSlice
Creates new TimeSlice from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffScoreData
Creates new ScoreData from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffPage
Creates new Page from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffAccidental
Creates new Accidental from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffBarline
Creates a new Barline from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffKeySignature
Creates new KeySignature from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffTags
Creates new Tags from riffInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffTie
Creates new Tie from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffScoreSetup
Creates new ScoreSetup from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffTimeSignature
Creates new TimeSignature from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffNotehead
Creates new Notehead from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffStaffHeader
Creates new StaffHeader from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffStaff
Creates new Staff from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffChunkLengthTable
Creates new ChunkLengthTable from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffMeasureStartTimeSlice
Creates new MeasureStartTimeSlice from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffBeam
Creates new Beam from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffStem
Creates new Stem from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffClef
Creates new Clef from the parentInput's input stream.
newInstance(RIFF) - Static method in class org.niffty.RiffPageHeader
Creates new PageHeader from the parentInput's input stream.
newPoint() - Method in class org.niffty.FinalPoint
This returns a new Point which you can modify with the same x and y as this.
NEXT_STAFF - Static variable in class org.niffty.Barline.ExtendsTo
 
nextInHeirarchy() - Method in class org.niffty.HeirarchyNode
Return the next HeirarchyNode after this one at the same level in the entire heirarchy.
nextInstanceOfInScore(Class) - Method in class org.niffty.MusicSymbol
Return the next instance of the given class type looking forwards from this MusicSymbol in the entire score.
NIFFInfo - class org.niffty.NIFFInfo.
A NIFFInfo has a version string, writing program type, standard units, absolute units, and MIDI ticks per quarter.
NIFFInfo(String, int, int, int, int) - Constructor for class org.niffty.NIFFInfo
Creates a new NIFFInfo with the given values.
Niffty - class org.niffty.Niffty.
Niffty is the class which a web page refers to in the applet tag.
Niffty() - Constructor for class org.niffty.Niffty
This is the default constructor with no arguments called by the browser creating the applet.
NifftyControls - class org.niffty.NifftyControls.
A NifftyControls is the floating window that lets the user control the appearance of the score page in the main NifftyDrawPanel.
NifftyControls(Frame, NifftyDrawPanel) - Constructor for class org.niffty.NifftyControls
Creates new form NifftyControls
NifftyDrawPanel - class org.niffty.NifftyDrawPanel.
 
NifftyDrawPanel() - Constructor for class org.niffty.NifftyDrawPanel
 
NifftyEdit - class org.niffty.NifftyEdit.
A NifftyEdit provides a frame with scroll bars for viewing the Niffty applet (and eventually to edit the score).
NifftyEdit() - Constructor for class org.niffty.NifftyEdit
Creates new NifftyFrame
NO_LINE - Static variable in class org.niffty.LineQuality
 
NO_SYMBOL - Static variable in class org.niffty.TupletDescription
 
NONE - Static variable in class org.niffty.Clef.OctaveNumber
No octave number indicator.
NONE - Static variable in class org.niffty.NIFFInfo
 
NOTE_SIDE - Static variable in class org.niffty.LogicalPlacement
 
Notehead - class org.niffty.Notehead.
A Notehead has a shape, staff step, and duration and optional tags: logical or absolute placement, part ID, voice ID, MIDI performance, grace note, cue note, small size, large size, invisible, split stem, silent
Notehead.Shape - class org.niffty.Notehead.Shape.
A Notehead.Shape has constants for the legal shapes.
Notehead(Notehead.Shape, int, Rational, Tags) - Constructor for class org.niffty.Notehead
Creates a new Notehead with the given parameters.
NUMBER_INSIDE_BRACKET - Static variable in class org.niffty.TupletDescription
 
NUMBER_INSIDE_SLUR - Static variable in class org.niffty.TupletDescription
 
NUMBER_ONLY - Static variable in class org.niffty.TupletDescription
 
NUMBER_OUTSIDE_BRACKET - Static variable in class org.niffty.TupletDescription
 
NUMBER_OUTSIDE_SLUR - Static variable in class org.niffty.TupletDescription
 
NUMBER_WITH_BROKEN_BRACKET - Static variable in class org.niffty.TupletDescription
 
NUMBER_WITH_BROKEN_SLUR - Static variable in class org.niffty.TupletDescription
 
numberOfFlags() - Method in class org.niffty.Tags
Returns the number of flags tag as an Integer whose value() has the value, or null if the tag is not present.
numberOfNodes() - Method in class org.niffty.Tags
Returns the number of nodes tag as an Integer whose value() has the value, or null if the tag is not present.
numberOfStaffLines() - Method in class org.niffty.Tags
Returns the number of staff lines tag as an Integer whose value() has the value, or null if the tag is not present.

O

OFFSET_SLIGHTLY - Static variable in class org.niffty.LogicalPlacement
 
ONE_TWENTY_EIGHTH - Static variable in class org.niffty.Rest.Shape
 
OPEN_DIAMOND - Static variable in class org.niffty.Notehead.Shape
 
OPEN_GUITAR_SLASH - Static variable in class org.niffty.Notehead.Shape
 
OPEN_SQUARE - Static variable in class org.niffty.Notehead.Shape
 
OPEN_TRIANGLE - Static variable in class org.niffty.Notehead.Shape
 
OPEN_X_NOTEHEAD - Static variable in class org.niffty.Notehead.Shape
 
openFile(String) - Method in class org.niffty.NifftyEdit
 
org.niffty - package org.niffty
 
Ossia - class org.niffty.Ossia.
An Ossia has constants for the legal types of ossia used in Tags.
ossia() - Method in class org.niffty.Tags
Returns the ossia tag or null if the tag is not present.
OTHER - Static variable in class org.niffty.NIFFInfo
 

P

Page - class org.niffty.Page.
A Page encapsulates the page information of a ScoreData.
Page(PageHeader) - Constructor for class org.niffty.Page
Creates a new Page with the given PageHeader and an empty StaffSystem list.
PageHeader - class org.niffty.PageHeader.
A PageHeader has optional tags: width and height.
PageHeader(Tags) - Constructor for class org.niffty.PageHeader
Creates a new PageHeader with the given tags.
paint(Graphics) - Method in class org.niffty.NifftyDrawPanel
 
PartDescriptionOverride - class org.niffty.PartDescriptionOverride.
A PartDescriptionOverride has a MIDI channel, MIDI cable and transpose.
partDescriptionOverride() - Method in class org.niffty.Tags
Returns the part description override tag, or null if the tag is not present.
PartDescriptionOverride() - Constructor for class org.niffty.PartDescriptionOverride
Creates new PartDescriptionOverride with all zero values
PartDescriptionOverride(int, int, int) - Constructor for class org.niffty.PartDescriptionOverride
Creates new PartDescriptionOverride with the given values.
partID() - Method in class org.niffty.Tags
Returns the part ID tag as an Integer whose value() has the value, or null if the tag is not present.
PartsList - class org.niffty.PartsList.
PartsList
PartsList() - Constructor for class org.niffty.PartsList
Creates a new empty PartsList.
peekFirstChunkBYTE() - Method in class org.niffty.RIFF
First, read four bytes from input stream (the chunk ID) and ignore them.
peekFOURCC() - Method in class org.niffty.RIFF
Read four bytes from input and return as a string, and restore the input stream to before the bytes were read.
peekListID() - Method in class org.niffty.RIFF
First, read four bytes from input stream.
PERCUSSION - Static variable in class org.niffty.Clef.Shape
 
Placement - class org.niffty.Placement.
A Placement has a horizontal and vertical placement.
Placement() - Constructor for class org.niffty.Placement
Creates new Placement with zero horizontal and vertical
Placement(int, int) - Constructor for class org.niffty.Placement
Creates new Placement with the given horizontal and vertical
PLAY_BACK - Static variable in class org.niffty.Ossia
 
POINTED_DOWN - Static variable in class org.niffty.ArticulationDirection
 
POINTED_UP - Static variable in class org.niffty.ArticulationDirection
 
POINTS - Static variable in class org.niffty.NIFFInfo
 
previousInHeirarchy() - Method in class org.niffty.HeirarchyNode
Return the previous HeirarchyNode before this one at the same level in the entire heirarchy.
previousInstanceOf(Class) - Method in class org.niffty.MusicSymbol
Return the previous instance of the given class type looking backwards from this MusicSymbol in the parent TimeSlice.
previousInstanceOfInScore(Class) - Method in class org.niffty.MusicSymbol
Return the previous instance of the given class type looking backwards from this MusicSymbol in the entire score.
previousInstanceOfInStaff(Class) - Method in class org.niffty.MusicSymbol
Return the previous instance of the given class type looking backwards from this MusicSymbol at all previous MusicSymbols in the same staff.
print(PrintStream) - Method in class org.niffty.Score
This prints the score info including setup and data sections.
print(String, PrintStream) - Method in class org.niffty.TimeSlice
This prints the time slice including all following music symbols.
print(String, PrintStream) - Method in class org.niffty.MeasureStartTimeSlice
This prints the time slice including all following music symbols.
print(String, PrintStream) - Method in class org.niffty.Staff
This prints the staff including all time slices.
print(String, PrintStream) - Method in class org.niffty.StaffSystem
This prints the staff system including all staves.
print(String, PrintStream) - Method in class org.niffty.Page
This prints the page info including all staff systems.
print(String, PrintStream) - Method in class org.niffty.ScoreData
This prints the score data info including all pages.
print(String, PrintStream) - Method in class org.niffty.PartsList
This prints the parts list including all part descriptions.
print(String, PrintStream) - Method in class org.niffty.ChunkLengthTable
This prints the chunk length table including all table entries.
print(String, PrintStream) - Method in class org.niffty.ScoreSetup
This prints the score setup info.

Q

QUARTER - Static variable in class org.niffty.Rest.Shape
 
QUARTER_TONE_FLAT - Static variable in class org.niffty.Accidental.Shape
 
QUARTER_TONE_SHARP - Static variable in class org.niffty.Accidental.Shape
 

R

Rational - class org.niffty.Rational.
A Rational in an immutable object for representing a rational number with a numerator and denominator.
Rational(int, int) - Constructor for class org.niffty.Rational
Creates new Rational with the given numerator and denominator.
Rational(IntRatio) - Constructor for class org.niffty.Rational
Creates new Rational with the numerator and denominator from the given IntRatio.
readBYTE() - Method in class org.niffty.RIFF
Read one byte from _input as a BYTE (unsigned one-byte) and return as an int.
readDWORD() - Method in class org.niffty.RIFF
Read four bytes from _input as a DWORD (unsigned, most significant byte first) and return as an int.
readFOURCC() - Method in class org.niffty.RIFF
Read four bytes from input and return as a string.
readSHORT() - Method in class org.niffty.RIFF
Read two bytes from _input as a SHORT (signed, most significant byte first) and return as an int.
readSIGNEDBYTE() - Method in class org.niffty.RIFF
Read one byte from _input as a SIGNEDBYTE (signed one-byte) and return as an int.
readTag() - Method in class org.niffty.RIFF
Read a tag from the input stream and return the tag ID.
ReferencePointOverride - class org.niffty.ReferencePointOverride.
A ReferencePointOverride has an anchor horizontal, dependent horizontal, anchor vertical and dependent vertical.
referencePointOverride() - Method in class org.niffty.Tags
Returns the reference point override tag, or null if the tag is not present.
ReferencePointOverride() - Constructor for class org.niffty.ReferencePointOverride
Creates new ReferencePointOverride with all zero values
ReferencePointOverride(int, int, int, int) - Constructor for class org.niffty.ReferencePointOverride
Creates new ReferencePointOverride with the given values.
refresh() - Method in class org.niffty.NifftyControls
 
rehearsalMarkOffset() - Method in class org.niffty.Tags
Returns the rehearsal mark offset tag as an Integer whose value() has the value, or null if the tag is not present.
requireFOURCC(String) - Method in class org.niffty.RIFF
Read four bytes from input as a FOURCC and check against value, and if not equal, throw a RIFFFormatException.
RESEARCH_PROGRAM - Static variable in class org.niffty.NIFFInfo
 
Rest - class org.niffty.Rest.
A Rest has a shape, staff step, and duration.
Rest.Shape - class org.niffty.Rest.Shape.
A Rest.Shape has constants for the legal shapes.
Rest(Rest.Shape, int, Rational, Tags) - Constructor for class org.niffty.Rest
Creates a new Rest with the given parameters.
restNumeral() - Method in class org.niffty.Tags
Returns the rest numeral tag as an Integer whose value() has the value, or null if the tag is not present.
RIFF - class org.niffty.RIFF.
Class for reading RIFF files.
RIFF(InputStream, String) - Constructor for class org.niffty.RIFF
Start reading a new RIFF stream as a RIFF form, requiring the chunkID to be "RIFX" and the form ID to be formID.
RIFF(RIFF) - Constructor for class org.niffty.RIFF
Begin reading a new RIFF chunk or list which is part of a parent chunk or list.
RIFF(RIFF, String) - Constructor for class org.niffty.RIFF
Begin reading a new RIFF chunk or list which is part of a parent chunk or list, requiring the chunkID to be chunkID.
RiffAccidental - class org.niffty.RiffAccidental.
A RiffAccidental provides static methods for encoding/decoding an Accidental using RIFF.
RiffAugmentationDot - class org.niffty.RiffAugmentationDot.
A RiffAugmentationDot provides static methods for encoding/decoding an AugmentationDot using RIFF.
RiffBarline - class org.niffty.RiffBarline.
A RiffBarline provides static methods for encoding/decoding a Barline using RIFF.
RiffBeam - class org.niffty.RiffBeam.
A RiffBeam provides static methods for encoding/decoding a Beam using RIFF.
RiffChunkLengthTable - class org.niffty.RiffChunkLengthTable.
A RiffChunkLengthTable provides static methods for encoding/decoding a ChunkLengthTable using RIFF.
RiffClef - class org.niffty.RiffClef.
A RiffClef provides static methods for encoding/decoding a Clef using RIFF.
RIFFFormatException - exception org.niffty.RIFFFormatException.
An exception class for returning format errors in a RIFF file.
RIFFFormatException(String) - Constructor for class org.niffty.RIFFFormatException
Creates new RIFFFormatException
RiffKeySignature - class org.niffty.RiffKeySignature.
A RiffKeySignature provides static methods for encoding/decoding a KeySignature using RIFF.
RiffMeasureStartTimeSlice - class org.niffty.RiffMeasureStartTimeSlice.
A RiffMeasureStartTimeSlice provides static methods for encoding/decoding a MeasureStartTimeSlice using RIFF.
RiffNIFFInfo - class org.niffty.RiffNIFFInfo.
A RiffNIFFInfo provides static methods for encoding/decoding a NIFFInfo using RIFF.
RiffNotehead - class org.niffty.RiffNotehead.
A RiffNotehead provides static methods for encoding/decoding a Notehead using RIFF.
RiffPage - class org.niffty.RiffPage.
A RiffPage provides static methods for encoding/decoding a Page using RIFF.
RiffPageHeader - class org.niffty.RiffPageHeader.
A RiffPageHeader provides static methods for encoding/decoding a PageHeader using RIFF.
RiffPartsList - class org.niffty.RiffPartsList.
A RiffPartsList provides static methods for encoding/decoding a PartsList using RIFF.
RiffRest - class org.niffty.RiffRest.
A RiffRest provides static methods for encoding/decoding a Rest using RIFF.
RiffScore - class org.niffty.RiffScore.
A RiffScore provides static methods for encoding/decoding a Score using RIFF.
RiffScoreData - class org.niffty.RiffScoreData.
A RiffScoreData provides static methods for encoding/decoding a ScoreData using RIFF.
RiffScoreSetup - class org.niffty.RiffScoreSetup.
A RiffScoreSetup provides static methods for encoding/decoding a ScoreSetup using RIFF.
RiffStaff - class org.niffty.RiffStaff.
A RiffStaff provides static methods for encoding/decoding a Staff using RIFF.
RiffStaffHeader - class org.niffty.RiffStaffHeader.
A RiffStaffHeader provides static methods for encoding/decoding a StaffHeader using RIFF.
RiffStaffSystem - class org.niffty.RiffStaffSystem.
A RiffStaffSystem provides static methods for encoding/decoding a StaffSystem using RIFF.
RiffStaffSystemHeader - class org.niffty.RiffStaffSystemHeader.
A RiffStaffSystemHeader provides static methods for encoding/decoding a StaffSystemHeader using RIFF.
RiffStem - class org.niffty.RiffStem.
A RiffStem provides static methods for encoding/decoding a Stem using RIFF.
RiffTags - class org.niffty.RiffTags.
A RiffTags provides static methods for encoding/decoding a Tags using RIFF.
RiffTie - class org.niffty.RiffTie.
A RiffTie provides static methods for encoding/decoding a Tie using RIFF.
RiffTimeSignature - class org.niffty.RiffTimeSignature.
A RiffTimeSignature provides static methods for encoding/decoding a TimeSignature using RIFF.
RiffTimeSlice - class org.niffty.RiffTimeSlice.
A RiffTimeSlice provides static methods for encoding/decoding a TimeSlice using RIFF.
RIGHT - Static variable in class org.niffty.ReferencePointOverride
 
RIGHT - Static variable in class org.niffty.LogicalPlacement
 
ROUNDED_ABOVE - Static variable in class org.niffty.TieDirection
 
ROUNDED_BELOW - Static variable in class org.niffty.TieDirection
 

S

SCANNING_PROGRAM - Static variable in class org.niffty.NIFFInfo
 
Score - class org.niffty.Score.
A Score object encapsulates the information in a NIFF file.
Score(ScoreSetup, ScoreData) - Constructor for class org.niffty.Score
Creates a new Score with the given setup and data.
ScoreData - class org.niffty.ScoreData.
A ScoreData object encapsulates the data section of a NIFF file.
ScoreData() - Constructor for class org.niffty.ScoreData
Creates a new ScoreData with an empty page list.
ScoreSetup - class org.niffty.ScoreSetup.
A ScoreSetup has a NIFF info, chunk length table and parts list.
ScoreSetup(NIFFInfo, ChunkLengthTable, PartsList) - Constructor for class org.niffty.ScoreSetup
Creates a new ScoreSetup with the given values.
SEQUENCER - Static variable in class org.niffty.NIFFInfo
 
set(int, int) - Method in class org.niffty.IntRatio
Set this ratio with the given numerator and denominator.
set(IntRatio) - Method in class org.niffty.IntRatio
Set the value of this IntRatio to the given IntRatio.
set(Rational) - Method in class org.niffty.IntRatio
Set the value of this IntRatio to the given Ratioanal.
setCaretPosition(int) - Method in class org.niffty.TextAreaViewer
This calls TextArea.setCaretPosition(position) for the text area.
setPageIndex(int) - Method in class org.niffty.NifftyDrawPanel
 
setParentScore(Score) - Method in class org.niffty.ScoreData
Set the parent score.
setScore(Score) - Method in class org.niffty.NifftyDrawPanel
Set the score to display, call its invalidate() and set the page to zero.
SHARP - Static variable in class org.niffty.Accidental.Shape
 
SHRINKING_TOWARD_RIGHT - Static variable in class org.niffty.FannedBeam
 
silent() - Method in class org.niffty.Tags
Returns true if the silent tag is present, otherwise false.
SIXTEENTH - Static variable in class org.niffty.Rest.Shape
 
SIXTY_FOURTH - Static variable in class org.niffty.Rest.Shape
 
skipChunk() - Method in class org.niffty.RIFF
Skip past the next chunk in the input stream.
skipRemaining() - Method in class org.niffty.RIFF
Skip over and discard the remaining bytes in this chunk or list.
slashedStem() - Method in class org.niffty.Tags
Returns true if the slashed stem tag is present, otherwise false.
SLUR_ONLY - Static variable in class org.niffty.TupletDescription
 
smallSize() - Method in class org.niffty.Tags
Returns true if the small size tag is present, otherwise false.
SOLID_DIAMOND - Static variable in class org.niffty.Notehead.Shape
 
spacingByPart() - Method in class org.niffty.Tags
Returns true if the spacing by part tag is present, otherwise false.
splitStem() - Method in class org.niffty.Tags
Returns true if the split stem tag is present, otherwise false.
Staff - class org.niffty.Staff.
A Staff encapsulates the staff information of a StaffSystem.
Staff(StaffHeader) - Constructor for class org.niffty.Staff
Creates a new Staff with the given StaffHeader and an empty MeasureStartTimeSlice list.
StaffHeader - class org.niffty.StaffHeader.
A StaffHeader has optional tags: part ID, absolute or logical placement tags, width, height, number of staff lines, silent (used for ossias).
StaffHeader(Tags) - Constructor for class org.niffty.StaffHeader
Creates a new StaffHeader with the given tags.
staffName() - Method in class org.niffty.Tags
Returns true if the staff name tag is present, otherwise false.
staffStep() - Method in class org.niffty.Tags
Returns the staff step tag as an Integer whose value() has the value, or null if the tag is not present.
staffStepOffsetY(int) - Static method in class org.niffty.Notehead
Convert a staff step to vertical offset from hotspot at top of staff.
StaffSystem - class org.niffty.StaffSystem.
A StaffSystem encapsulates the system information of a Page.
StaffSystem(StaffSystemHeader) - Constructor for class org.niffty.StaffSystem
Creates a new StaffSystem with the given StaffSystemHeader and an empty Staff list.
StaffSystemHeader - class org.niffty.StaffSystemHeader.
A StaffSystemHeader has optional tags: absolute or logical placement, width and height.
StaffSystemHeader(Tags) - Constructor for class org.niffty.StaffSystemHeader
Creates a new StaffSystemHeader with the given tags.
start() - Method in class org.niffty.Niffty
 
Stem - class org.niffty.Stem.
A Stem has optional tags: absolute or logical placement, voice ID, part ID, multi-node symbol tags, height, small size, large size, cue note, grace note, silent, number of flags
STEM_SIDE - Static variable in class org.niffty.LogicalPlacement
 
Stem(Tags) - Constructor for class org.niffty.Stem
Creates a new Stem with the given parameters.
stop() - Method in class org.niffty.Niffty
 
sub(IntRatio) - Method in class org.niffty.IntRatio
Set this ratio to this - r
sub(Rational) - Method in class org.niffty.IntRatio
Set this ratio to this - r
SymbolPositioner - class org.niffty.SymbolPositioner.
 
SymbolPositioner() - Constructor for class org.niffty.SymbolPositioner
Creates new SymbolPositioner

T

TABLATURE - Static variable in class org.niffty.Clef.Shape
 
tagByteAt(int) - Method in class org.niffty.RIFF
Interpret tagData[index] as a one-byte unsigned integer, and return as an int.
tagDataString() - Method in class org.niffty.RIFF
Returns the tag data from the most recent call to readTag as a String.
tagLongAt(int) - Method in class org.niffty.RIFF
Interpret tagData[index] through tagData[index+3] as a four-byte signed integer, most significant byte first and return as an int.
Tags - class org.niffty.Tags.
A Tags is a collection of the optional tags at the end of a chunk.
tags() - Method in class org.niffty.StaffSystemHeader
Returns the Tags object containing the optional tags.
Tags() - Constructor for class org.niffty.Tags
Creates a new empty Tags object.
tagShortAt(int) - Method in class org.niffty.RIFF
Interpret tagData[index] and tagData[index+1] as a two-byte signed integer, most significant byte first and return as an int.
tagSignedByteAt(int) - Method in class org.niffty.RIFF
Interpret tagData[index] as a one-byte signed integer, and return as an int.
TextAreaViewer - class org.niffty.TextAreaViewer.
 
TextAreaViewer(String) - Constructor for class org.niffty.TextAreaViewer
Creates new form TextAreaViewer.
THICK - Static variable in class org.niffty.Barline.Type
 
thickness() - Method in class org.niffty.Tags
Returns the thickness tag as an Integer whose value() has the value, or null if the tag is not present.
THIN - Static variable in class org.niffty.Barline.Type
 
THIRTY_SECOND - Static variable in class org.niffty.Rest.Shape
 
THREE_QUARTER_TONES_FLAT - Static variable in class org.niffty.Accidental.Shape
 
THREE_QUARTER_TONES_SHARP - Static variable in class org.niffty.Accidental.Shape
 
Tie - class org.niffty.Tie.
A Tie has optional tags: multi-node symbol tags, tie direction, Bezier incoming and Bezier outgoing.
Tie(Tags) - Constructor for class org.niffty.Tie
Creates a new Tie with the given parameters.
TieDirection - class org.niffty.TieDirection.
An TieDirection has constants for the legal types of tie direction use in Tags.
tieDirection() - Method in class org.niffty.Tags
Returns the tie direction tag or null if the tag is not present.
TimeSignature - class org.niffty.TimeSignature.
A TimeSignature has a top number and bottom number and optional tags: absolute or logical placement, large size, small size.
TimeSignature(int, int, Tags) - Constructor for class org.niffty.TimeSignature
Creates a new TimeSignature with the given parameters.
TimeSlice - class org.niffty.TimeSlice.
A TimeSlice has a type, start time and optional tags.
TimeSlice(Rational, Tags) - Constructor for class org.niffty.TimeSlice
Creates a new TimeSlice with the given start time and tags, and an empty MusicSymbol list.
TOP - Static variable in class org.niffty.ReferencePointOverride
 
toString() - Method in class org.niffty.AugmentationDot
 
toString() - Method in class org.niffty.Rest
 
toString() - Method in class org.niffty.Rest.Shape
Return a string representation of this constant.
toString() - Method in class org.niffty.Tie
 
toString() - Method in class org.niffty.KeySignature
 
toString() - Method in class org.niffty.Accidental
 
toString() - Method in class org.niffty.Accidental.Shape
Return a string representation of this constant.
toString() - Method in class org.niffty.Barline
 
toString() - Method in class org.niffty.Barline.Type
Return a string representation of this constant.
toString() - Method in class org.niffty.Barline.ExtendsTo
Return a string representation of this constant.
toString() - Method in class org.niffty.Beam
 
toString() - Method in class org.niffty.Notehead
 
toString() - Method in class org.niffty.Notehead.Shape
Return a string representation of this constant.
toString() - Method in class org.niffty.Stem
 
toString() - Method in class org.niffty.TimeSignature
 
toString() - Method in class org.niffty.Clef
 
toString() - Method in class org.niffty.Clef.Shape
Return a string representation of this constant.
toString() - Method in class org.niffty.Clef.OctaveNumber
Return a string representation of this constant.
toString() - Method in class org.niffty.TimeSlice
This only returns the info for this time slice, not the following music symbols.
toString() - Method in class org.niffty.MeasureStartTimeSlice
This only returns the info for this time slice, not the following music symbols.
toString() - Method in class org.niffty.StaffHeader
 
toString() - Method in class org.niffty.FinalPoint
Return String of the form "(x,y)"
toString() - Method in class org.niffty.StaffSystemHeader
 
toString() - Method in class org.niffty.TupletDescription
Returns string as "(a:value, b:value, c:value, d:value, grouping symbol:value)"
toString() - Method in class org.niffty.TieDirection
Return a string representation of this constant.
toString() - Method in class org.niffty.ReferencePointOverride
Returns string as "(anchor horizontal:value, dependent horizontal:value, anchor vertical:value, dependent vertical:value)"
toString() - Method in class org.niffty.PartDescriptionOverride
Returns string as "(MIDI channel:value, MIDI cable:value, transpose:value)"
toString() - Method in class org.niffty.Ossia
Return a string representation of this constant.
toString() - Method in class org.niffty.MIDIPerformance
Returns string as "(start time:value, duration:value, pitch:value, velocity:value)"
toString() - Method in class org.niffty.LogicalPlacement
Returns string as "(horizontal:value, vertical:value, proximity:value)"
toString() - Method in class org.niffty.LineQuality
Return a string representation of this constant.
toString() - Method in class org.niffty.FannedBeam
Return a string representation of this constant.
toString() - Method in class org.niffty.ArticulationDirection
Return a string representation of this constant.
toString() - Method in class org.niffty.Placement
Returns string as "(horizontal,vertical)"
toString() - Method in class org.niffty.Tags
This return the string representation.
toString() - Method in class org.niffty.PageHeader
 
toString() - Method in class org.niffty.NIFFInfo
 
toString() - Method in class org.niffty.Rational
Returns string as "numerator/denominator"
toString() - Method in class org.niffty.IntRatio
Returns string as "numerator/denominator"
TOUCHING - Static variable in class org.niffty.LogicalPlacement
 
TupletDescription - class org.niffty.TupletDescription.
A TupletDescription tag has a, b, c, d and grouping symbol values.
tupletDescription() - Method in class org.niffty.Tags
Returns the tuplet description tag as a TupletDescription, or null if the tag is not present.
TupletDescription() - Constructor for class org.niffty.TupletDescription
Creates new TupletDescription with zero values
TupletDescription(int, int, int, int, int) - Constructor for class org.niffty.TupletDescription
Creates new TupletDescription with the given values
TWO_FIFTY_SIXTH - Static variable in class org.niffty.Rest.Shape
 

V

VERTICAL_CENTER - Static variable in class org.niffty.ReferencePointOverride
 
VOCAL_COMMA - Static variable in class org.niffty.Rest.Shape
 
VOCAL_TWO_SMALL_SLASHES - Static variable in class org.niffty.Rest.Shape
 
voiceID() - Method in class org.niffty.Tags
Returns the voice ID tag as an Integer whose value() has the value, or null if the tag is not present.

W

WAVY_LINE - Static variable in class org.niffty.LineQuality
 
WHOLE - Static variable in class org.niffty.Rest.Shape
 
WHOLE - Static variable in class org.niffty.Notehead.Shape
 
width() - Method in class org.niffty.Tags
Returns the width tag as an Integer whose value() has the value, or null if the tag is not present.

X

x - Variable in class org.niffty.FinalPoint
The x coordinate.
X_NOTEHEAD - Static variable in class org.niffty.Notehead.Shape
 

Y

y - Variable in class org.niffty.FinalPoint
The y coordinate.

_

_flat - Static variable in class org.niffty.Accidental
 
_natural - Static variable in class org.niffty.Accidental
 
_sharp - Static variable in class org.niffty.Accidental
 
_tags - Variable in class org.niffty.MusicSymbol
 

A B C D E F G H I K L M N O P Q R S T V W X Y _