Package com.reportmill.shape
Class RMSound
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMSound
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class represents a sound in a document.
- 
Field SummaryFields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanStandard equals implementation.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.floatgetDelay()Returns the delay after which this sound is supposed to start to play.getKey()Returns the RPG key for this sound shape.intReturns the number of loops that this sound should play before stopping.booleanReturns whether this sound should overlap other sounds.Returns the sound data for this sound shape.initWithArchiver(RMArchiver anArchiver) Legacy unarchival.rpgClone(ReportMill reportMill) Returns a copy of this shape for report generation - might include getting new sound data using RPG key.voidsetDelay(float aValue) Sets the delay after which this sound is supposed to start to play.voidSets the RPG key for this sound shape.voidsetLoopCount(int aValue) Returns the number of loops that this sound should play before stopping.voidsetOverlap(boolean aValue) Returns whether this sound should overlap other sounds.voidsetSoundData(RMSoundData aSoundData) Sets the sound data for this sound shape.toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, superSelectable, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, yMethods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
- 
Constructor Details- 
RMSoundpublic RMSound()Creates an empty sound shape.
- 
RMSoundCreates a sound shape from a given source (File, String path, InputStream, byte array, etc.).
 
- 
- 
Method Details- 
getSoundDataReturns the sound data for this sound shape.
- 
setSoundDataSets the sound data for this sound shape.
- 
getKeyReturns the RPG key for this sound shape.
- 
setKeySets the RPG key for this sound shape.
- 
getDelaypublic float getDelay()Returns the delay after which this sound is supposed to start to play.
- 
setDelaypublic void setDelay(float aValue) Sets the delay after which this sound is supposed to start to play.
- 
getLoopCountpublic int getLoopCount()Returns the number of loops that this sound should play before stopping.
- 
setLoopCountpublic void setLoopCount(int aValue) Returns the number of loops that this sound should play before stopping.
- 
getOverlappublic boolean getOverlap()Returns whether this sound should overlap other sounds.
- 
setOverlappublic void setOverlap(boolean aValue) Returns whether this sound should overlap other sounds.
- 
rpgCloneReturns a copy of this shape for report generation - might include getting new sound data using RPG key.
- 
equalsStandard equals implementation.
- 
initWithArchiverLegacy unarchival.- Specified by:
- initWithArchiverin interface- RMArchiver.Archiving
- Overrides:
- initWithArchiverin class- RMShape
 
- 
toXMLXML archival.
- 
fromXMLXML unarchival.
 
-