|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.niffty.NIFFInfo
A NIFFInfo has a version string, writing program type, standard units, absolute units, and MIDI ticks per quarter.
Field Summary | |
static int |
CENTIMETERS
|
static int |
EDUCATIONAL_PROGRAM
|
static int |
ENGRAVING_PROGRAM
|
static int |
INCHES
|
static int |
MIDI_INTERPRETER
|
static int |
NONE
|
static int |
OTHER
|
static int |
POINTS
|
static int |
RESEARCH_PROGRAM
|
static int |
SCANNING_PROGRAM
|
static int |
SEQUENCER
|
Constructor Summary | |
NIFFInfo(java.lang.String version,
int writingProgramType,
int standardUnits,
int absoluteUnits,
int midiTicksPerQuarter)
Creates a new NIFFInfo with the given values. |
Method Summary | |
int |
getAbsoluteUnits()
Returns the absolute units, or -1 for none. |
int |
getMidiTicksPerQuarter()
Returns the MIDI ticks per quarter, or -1 for none. |
int |
getStandardUnits()
Returns the standard units, which is NONE, INCHES, CENTIMETERS or POINTS. |
java.lang.String |
getVersion()
Returns the version which is a string of 8 characters. |
int |
getWritingProgramType()
Returns the writing program type, which is OTHER, ENGRAVING_PROGRAM, SCANNING_PROGRAM, MIDI_INTERPRETER, SEQUENCER, RESEARCH_PROGRAM, or EDUCATIONAL_PROGRAM. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int OTHER
public static final int ENGRAVING_PROGRAM
public static final int SCANNING_PROGRAM
public static final int MIDI_INTERPRETER
public static final int SEQUENCER
public static final int RESEARCH_PROGRAM
public static final int EDUCATIONAL_PROGRAM
public static final int NONE
public static final int INCHES
public static final int CENTIMETERS
public static final int POINTS
Constructor Detail |
public NIFFInfo(java.lang.String version, int writingProgramType, int standardUnits, int absoluteUnits, int midiTicksPerQuarter)
Method Detail |
public java.lang.String getVersion()
public int getWritingProgramType()
public int getStandardUnits()
public int getAbsoluteUnits()
public int getMidiTicksPerQuarter()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |