|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMSound
public class RMSound
This class represents a sound in a document.
Field Summary |
---|
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMSound()
Creates an empty sound shape. |
|
RMSound(java.lang.Object aSource)
Creates a sound shape from a given source (File, String path, InputStream, byte array, etc.). |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
float |
getDelay()
Returns the delay after which this sound is supposed to start to play. |
java.lang.String |
getKey()
Returns the RPG key for this sound shape. |
int |
getLoopCount()
Returns the number of loops that this sound should play before stopping. |
boolean |
getOverlap()
Returns whether this sound should overlap other sounds. |
com.reportmill.graphics.RMSoundData |
getSoundData()
Returns the sound data for this sound shape. |
RMShape |
rpgClone(com.reportmill.base.ReportMill reportMill)
Returns a copy of this shape for report generation - might include getting new sound data using RPG key. |
void |
setDelay(float aValue)
Sets the delay after which this sound is supposed to start to play. |
void |
setKey(java.lang.String aKey)
Sets the RPG key for this sound shape. |
void |
setLoopCount(int aValue)
Returns the number of loops that this sound should play before stopping. |
void |
setOverlap(boolean aValue)
Returns whether this sound should overlap other sounds. |
void |
setSoundData(com.reportmill.graphics.RMSoundData aSoundData)
Sets the sound data for this sound shape. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival. |
Methods inherited from class com.reportmill.base.RMObject |
---|
didUndo, getAnimAttribute, getClassNameShort |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMSound()
public RMSound(java.lang.Object aSource)
Method Detail |
---|
public com.reportmill.graphics.RMSoundData getSoundData()
public void setSoundData(com.reportmill.graphics.RMSoundData aSoundData)
public java.lang.String getKey()
public void setKey(java.lang.String aKey)
public float getDelay()
public void setDelay(float aValue)
public int getLoopCount()
public void setLoopCount(int aValue)
public boolean getOverlap()
public void setOverlap(boolean aValue)
public RMShape rpgClone(com.reportmill.base.ReportMill reportMill)
rpgClone
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMShape
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
toXML
in class RMShape
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
fromXML
in class RMShape
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |