public class RMSoundShape extends RMShape
Modifier and Type | Class and Description |
---|---|
static interface |
RMSoundShape.RMSoundListener
A listener interface that can be implemented by anyone that cares.
|
RMTypes.AlignX, RMTypes.AlignY
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMSoundShape()
Creates an empty sound shape.
|
RMSoundShape(java.lang.Object aSource)
Creates a sound shape from a given source (File, String path, InputStream, byte array, etc.).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival.
|
javax.sound.sampled.Clip |
getClip()
Returns the clip.
|
javax.sound.sampled.Clip |
getClip(boolean create)
Returns the clip, creating it if requested.
|
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.
|
boolean |
getPlaying()
Returns whether this sound is currently playing.
|
RMSoundData |
getSoundData()
Returns the sound data for this sound shape.
|
java.lang.String |
getSoundName()
Returns the name of the sound.
|
java.lang.Object |
getSource()
For the moment, this has to be here for the binder
|
void |
paintShape(java.awt.Graphics2D aGraphics)
Handles painting a sound shape.
|
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 |
setPlaying(boolean aValue)
Sets whether or not this sound is currently playing.
|
void |
setReportMill(ReportMill aReportMill)
Report generation method.
|
void |
setSoundData(RMSoundData aSoundData)
Sets the sound data for this sound shape.
|
void |
setSource(java.lang.Object aSource)
Sets the source of the sound (File, String path, InputStream, byte array, etc.).
|
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival.
|
acceptsChildren, acceptsMouse, addAction, addActions, addBinding, addChild, addChild, addChild, addChild, addDeepChangeListener, addListener, addMouseListener, animUpdate, bounds, bringShapesToFront, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, createPartClone, deepChange, divideShapeFromEdge, divideShapeFromTop, doLayout, fromXML, fromXMLShapeChildren, fromXMLShapeLayout, get, get, getAction, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestSize, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getBoundsOfChildren, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildArray, getChildClipShape, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getImageFill, getLayout, getLayout, getLayoutInfo, getLineWidth, getMaskPath, getMaximumSize, getMaximumSizeProperty, getMaxX, getMaxY, getMinimumSize, getMinimumSizeProperty, getName, getOpacity, getOpacityDeep, getOriginal, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParentWithClass, getPart, getPartCount, getPartDeep, getPartDeepCount, getPath, getPathInBounds, getPreferredSize, getPreferredSize, getPreferredSizeProperty, getPropertyNameMapped, getPropertyNames, getReportMill, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, indexOfChild, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isHittable, isHittableChild, isLocked, isMaximumSizeSet, isMinimumSizeSet, isRoot, isRSS, isShowing, isUnderlined, isViewing, isVisible, isVisibleChild, layoutReset, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeAction, removeBinding, removeBinding, removeChild, removeChild, removeChildren, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, revalidate, sendShapesToBack, setAction, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBestSize, setBounds, setBounds, setCausesWrap, setCausesWrapType, setColor, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHover, setLayout, setLayoutInfo, setLineWidth, setLocked, setMaximumSize, setMinimumSize, setName, setOpacity, setOutline, setParent, setPreferredSize, setReportMillBindings, setReportMillDeep, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSizeP, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setTime, setUnderlined, setURL, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, superSelectable, toString, toXML, toXMLShapeChildren, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
addPropertyChangeListener, removePropertyChangeListener
getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public RMSoundShape()
public RMSoundShape(java.lang.Object aSource)
public void setSource(java.lang.Object aSource)
public java.lang.Object getSource()
public RMSoundData getSoundData()
public void setSoundData(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 java.lang.String getSoundName()
public boolean getPlaying()
public void setPlaying(boolean aValue)
public void setReportMill(ReportMill aReportMill)
setReportMill
in class RMShape
public javax.sound.sampled.Clip getClip()
public javax.sound.sampled.Clip getClip(boolean create)
public void paintShape(java.awt.Graphics2D aGraphics)
paintShape
in class RMShape
public boolean equals(java.lang.Object anObj)
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMShape
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMShape