|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CSS2PlayDuring
interface represents the play-during CSS
Level 2 property.
For this extension of the CSSValue
interface, the
valueType
attribute of the underlying CSSValue
interface shall be CSS_CUSTOM
.
See also the Document Object Model (DOM) Level 2 Specification.
Fields inherited from interface org.w3c.dom.css.CSSValue |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST |
Method Summary | |
boolean |
getMix()
true if the sound should be mixed. |
java.lang.String |
getPlayDuringIdentifier()
One of "inherit" , "auto" ,
"none" or the empty string if the
playDuringType is CSS_UNKNOWN . |
short |
getPlayDuringType()
A code defining the type of the value as defined in CSSvalue . |
boolean |
getRepeat()
true if the sound should be repeated. |
java.lang.String |
getUri()
The sound specified by the uri . |
void |
setMix(boolean mix)
|
void |
setPlayDuringIdentifier(java.lang.String playDuringIdentifier)
|
void |
setRepeat(boolean repeat)
|
void |
setUri(java.lang.String uri)
|
Methods inherited from interface org.w3c.dom.css.CSSValue |
getCssText, getCssValueType, setCssText |
Method Detail |
public short getPlayDuringType()
CSSvalue
. It would be one of CSS_UNKNOWN
or
CSS_IDENT
.public java.lang.String getPlayDuringIdentifier()
"inherit"
, "auto"
,
"none"
or the empty string if the
playDuringType
is CSS_UNKNOWN
. On setting,
it will set the uri
to the empty string and
mix
and repeat
to false
.DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error and is unparsable.
public void setPlayDuringIdentifier(java.lang.String playDuringIdentifier) throws DOMException
public java.lang.String getUri()
uri
. It will set the
playDuringType
attribute to CSS_UNKNOWN
.DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error and is unparsable.
public void setUri(java.lang.String uri) throws DOMException
public boolean getMix()
true
if the sound should be mixed. It will be ignored if
the attribute doesn't contain a uri
.DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly.public void setMix(boolean mix) throws DOMException
public boolean getRepeat()
true
if the sound should be repeated. It will be ignored
if the attribute doesn't contain a uri
.DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly.public void setRepeat(boolean repeat) throws DOMException
|
Source code is GPL'd at http://xmlconf.sourceforge.net. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |