|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.Style
public class Style
A JavaScript object for a Style.
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
Style()
Create an instance. |
Method Summary | |
---|---|
java.lang.String |
jsxFunction_getPropertyValue(java.lang.String name)
Gets the value of the specified property of the style. |
java.lang.String |
jsxGet_behavior()
Gets the object's behavior (IE only). |
java.lang.String |
jsxGet_filter()
Gets the object's filter (IE only). |
void |
jsxSet_behavior(java.lang.String behavior)
Sets the object's behavior (IE only). |
void |
jsxSet_filter(java.lang.String filter)
Sets the object's filter (IE only). |
void |
put(java.lang.String name,
org.mozilla.javascript.Scriptable start,
java.lang.Object newValue)
Set the specified property. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setDomNode, setHtmlElement |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Style()
Method Detail |
---|
public java.lang.String jsxFunction_getPropertyValue(java.lang.String name)
name
- the style property name
public java.lang.String jsxGet_behavior()
public java.lang.String jsxGet_filter()
public void jsxSet_behavior(java.lang.String behavior)
behavior
- the new behaviorpublic void jsxSet_filter(java.lang.String filter)
filter
- the new filterpublic void put(java.lang.String name, org.mozilla.javascript.Scriptable start, java.lang.Object newValue)
put
in interface org.mozilla.javascript.Scriptable
put
in class org.mozilla.javascript.ScriptableObject
name
- The name of the propertystart
- The scriptable object that was originally invoked for this propertynewValue
- The new value
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |