|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.crestmuse.cmx.filewrappers.NodeInterface
jp.crestmuse.cmx.filewrappers.MusicXMLWrapper.Measure
public class MusicXMLWrapper.Measure
This class provides methods for getting information from a measure element.
measure要素から情報を取り出すためのメソッドを提供します.
メソッドの概要 | |
---|---|
int |
cumulativeTicks(int ticksPerBeat)
|
int |
duration(int ticksPerBeat)
|
MusicXMLWrapper.Attributes |
getAttributesNodeInterface()
Returns the Attributes object. |
MusicXMLWrapper.MusicData[] |
getMusicDataList()
Returns the array of music data included in this measure element. |
protected java.lang.String |
getSupportedNodeName()
Returns "measure". |
java.lang.String |
getXPathExpression()
Returns an XPath expression for this node. |
double |
initialBeat()
|
int |
number()
Returns the measure number. |
java.lang.String |
numberInString()
|
int |
numberX()
|
MusicXMLWrapper.Part |
part()
Returns the Part object. |
boolean |
startsWithX()
|
int |
tempo()
|
クラス jp.crestmuse.cmx.filewrappers.NodeInterface から継承されたメソッド |
---|
getAttribute, getAttribute, getAttributeDouble, getAttributeDouble, getAttributeInt, getAttributeInt, getAttributeNS, getChildByTagName, getChildByTagNameNS, getChildNodes, getChildText, getChildTextDouble, getChildTextInt, getFirstChild, getLastChild, getNodeName, getText, getText, getTextDouble, getTextInt, hasAttribute, hasAttribute, hasChild, node |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
protected final java.lang.String getSupportedNodeName()
Returns "measure".
NodeInterface
内の getSupportedNodeName
public final int cumulativeTicks(int ticksPerBeat)
public int duration(int ticksPerBeat)
public MusicXMLWrapper.MusicData[] getMusicDataList()
Returns the array of music data included in this measure element.
このmeasure要素に含まれる音楽データの配列を返します. ここで, 音楽データとはmeasure要素のすべての子を表し, attributes, note, forward, backupなどが該当します.
public final int number()
Returns the measure number.
小節番号を返します.
public final boolean startsWithX()
public final int numberX()
public final java.lang.String numberInString()
public final double initialBeat()
public final MusicXMLWrapper.Part part()
Returns the Part object.
この要素の親にあたるpart要素のオブジェクトを返します.
public MusicXMLWrapper.Attributes getAttributesNodeInterface()
Returns the Attributes object.
このmeasure要素内のattributes要素に対応するAttributesオブジェクトを 返します.
public java.lang.String getXPathExpression()
Returns an XPath expression for this node.
このノードのXPath表現を返します.
public int tempo()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |