Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME |
protected int |
enabled |
static String |
FILE |
protected String |
fileName |
protected String |
id |
static String |
ID |
protected AudioPlayer |
player |
Constructor and Description |
---|
EventSoundsElement(String id)
Creates new EventSoundsElement
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
close() |
protected void |
finalize() |
int |
getEnabled() |
static EventSoundsElement |
getEventSoundsElement(Element e) |
String |
getFileName() |
String |
getId() |
Element |
getJDomElement() |
void |
play() |
void |
realize(Options options,
MediaBag mediaBag) |
boolean |
setDataSource(Object source,
Options options) |
void |
setEnabled(int v) |
void |
setFileName(String fName) |
void |
setProperties(Element e,
Object aux) |
void |
stop() |
protected String fileName
protected int enabled
protected AudioPlayer player
protected String id
public static final String ELEMENT_NAME
public static final String ID
public static final String FILE
public EventSoundsElement(String id)
public String getId()
public Element getJDomElement()
getJDomElement
in interface Domable
public static EventSoundsElement getEventSoundsElement(Element e) throws Exception
Exception
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
Exception
public void setFileName(String fName)
public String getFileName()
public void setEnabled(int v)
public int getEnabled()
public boolean setDataSource(Object source, Options options) throws Exception
Exception
public void close()
public void play()
public void stop()
protected void finalize() throws Throwable
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.