public class MediaList extends SimpleScriptable
Constructor and Description |
---|
MediaList()
Deprecated.
|
MediaList(CSSStyleSheet parent,
org.w3c.dom.stylesheets.MediaList wrappedList)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
jsxFunction_item(int index)
Returns the item or items corresponding to the specified index or key.
|
int |
jsxGet_length()
Returns the number of media in the list.
|
String |
jsxGet_mediaText()
The parsable textual representation of the media list.
|
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
@Deprecated public MediaList()
public MediaList(CSSStyleSheet parent, org.w3c.dom.stylesheets.MediaList wrappedList)
parent
- the parent stylewrappedList
- the wrapped media list that this host object exposespublic String jsxFunction_item(int index)
index
- the index or key corresponding to the element or elements to returnpublic int jsxGet_length()
public String jsxGet_mediaText()
Copyright © 2002-2013 Gargoyle Software Inc.. All Rights Reserved.