public class AudioRecorder extends AudioContainer implements IAudioItem, IAudioRecorder
com.jme3.scene.Spatial.CullHintINestable.IChildrenChangedListenerCACHABLE_TYPEKEY_JMEITEMDATA| Constructor and Description |
|---|
AudioRecorder(java.lang.String name,
java.util.UUID uuid)
Instantiates a new audio recorder.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getAudioFile()
Gets the audio file.
|
int |
getHeight()
Gets the height.
|
java.lang.String |
getOwner()
Gets the owner.
|
int |
getWidth()
Gets the width.
|
boolean |
hasRecorded()
Checks for recorded.
|
boolean |
isPlaying()
Checks if is playing.
|
boolean |
isRecorded()
Checks if is recorded.
|
boolean |
isRecording()
Checks if is recording.
|
void |
makeImmovable()
Make immovable.
|
void |
makeMovable()
Make movable.
|
void |
onCancelRecord()
On cancel record.
|
void |
onStopRecord()
On stop record.
|
void |
removeBorder()
Removes the border.
|
void |
setAudioControlObject(SNAudioController audioControl)
Sets the audio control object.
|
void |
setBackgroundColour(com.jme3.math.ColorRGBA colour)
Sets the background colour.
|
void |
setOwner(java.lang.String owner)
Sets the owner.
|
void |
stopPlay()
Stop play.
|
void |
stopRecord(boolean success)
Stop record.
|
deconstruct, getAudioController, isCached, reconstruct, setAudioController, setCachedgetManipulableSpatial, initializeGeometryaddItem, addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, deRegisterChildrenChangedListener, getBehaviours, getBehaviours, getChildItems, getChildrenCount, getItemChildren, getItemListeners, getItemName, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, hasChildren, isVisible, registerChildrenChangedListener, removeAllItems, removeItem, removeItemListener, setInteractionEnabled, setItemListeners, setItemName, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder, toStringattachChild, attachChildAt, childChange, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLodLevel, setMaterial, setModelBound, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, writeaddControl, addLight, breadthFirstTraversal, center, checkCulling, clone, getControl, getControl, getCullHint, getLastFrustumIntersection, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setCullHint, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, worldToLocalequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getManipulableSpatial, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrderaddItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeIteminitializeGeometrypublic AudioRecorder(java.lang.String name,
java.util.UUID uuid)
name - the nameuuid - the uuidpublic java.io.File getAudioFile()
IAudioRecordergetAudioFile in interface IAudioRecorderpublic int getHeight()
IAudioItemgetHeight in interface IAudioItempublic java.lang.String getOwner()
IAudioItemgetOwner in interface IAudioItempublic int getWidth()
IAudioItemgetWidth in interface IAudioItempublic boolean hasRecorded()
IAudioRecorderhasRecorded in interface IAudioRecorderpublic boolean isPlaying()
public boolean isRecorded()
public boolean isRecording()
public void makeImmovable()
IAudioItemmakeImmovable in interface IAudioRecordermakeImmovable in interface IAudioItempublic void makeMovable()
public void onCancelRecord()
public void onStopRecord()
public void removeBorder()
IAudioRecorderremoveBorder in interface IAudioRecorderpublic void setAudioControlObject(SNAudioController audioControl)
IAudioItemsetAudioControlObject in interface IAudioItemaudioControl - the new audio control objectpublic void setBackgroundColour(com.jme3.math.ColorRGBA colour)
IAudioItemsetBackgroundColour in interface IAudioItemcolour - the new background colourpublic void setOwner(java.lang.String owner)
IAudioItemsetOwner in interface IAudioItemowner - the new ownerpublic void stopPlay()
IAudioItemstopPlay in interface IAudioItempublic void stopRecord(boolean success)
IAudioItemstopRecord in interface IAudioItemsuccess - the success