public class MediaListImpl extends CSSOMObjectImpl implements org.w3c.dom.stylesheets.MediaList, Serializable
MediaList.| Constructor and Description |
|---|
MediaListImpl() |
MediaListImpl(org.w3c.css.sac.SACMediaList mediaList) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendMedium(String newMedium) |
void |
deleteMedium(String oldMedium) |
int |
getLength() |
String |
getMediaText() |
String |
item(int index) |
void |
setMedia(List<String> media) |
void |
setMediaText(String mediaText) |
String |
toString() |
getUserData, getUserDataMap, setUserData, setUserDataMappublic MediaListImpl(org.w3c.css.sac.SACMediaList mediaList)
public MediaListImpl()
public String getMediaText()
getMediaText in interface org.w3c.dom.stylesheets.MediaListpublic void setMediaText(String mediaText) throws DOMException
setMediaText in interface org.w3c.dom.stylesheets.MediaListDOMExceptionpublic int getLength()
getLength in interface org.w3c.dom.stylesheets.MediaListpublic String item(int index)
item in interface org.w3c.dom.stylesheets.MediaListpublic void deleteMedium(String oldMedium) throws DOMException
deleteMedium in interface org.w3c.dom.stylesheets.MediaListDOMExceptionpublic void appendMedium(String newMedium) throws DOMException
appendMedium in interface org.w3c.dom.stylesheets.MediaListDOMExceptionCopyright © 2018. All rights reserved.