|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.sf.jiffie.IDispatch
net.sf.jiffie.BrowserDispatch
net.sf.jiffie.IHTMLDOMNode
net.sf.jiffie.ElementContainer
net.sf.jiffie.IHTMLElement
net.sf.jiffie.IHTMLScriptElement
public class IHTMLScriptElement
Implementation of the IHTMLScriptElement interface.
| Field Summary | |
|---|---|
static java.lang.String |
STATUS_COMPLETE
Object is completely initialized. |
static java.lang.String |
STATUS_INTERACTIVE
User can interact with the object even though it is not fully loaded. |
static java.lang.String |
STATUS_LOADED
Object has finished loading its data. |
static java.lang.String |
STATUS_LOADING
Object is loading its data. |
static java.lang.String |
STATUS_UNINITIALIZED
Object is not initialized with data. |
| Fields inherited from class net.sf.jiffie.IHTMLElement |
|---|
IID |
| Constructor Summary | |
|---|---|
IHTMLScriptElement(InternetExplorer parentBrowser,
Dispatch dispatch)
Constructor. |
|
| Method Summary | |
|---|---|
ReadyState |
getReadyState()
Retrieves a value that indicates the current state of the object. |
java.lang.String |
getSrc()
Retrieves the URL to an external file that contains the source code or data. |
java.lang.String |
getText()
Retrieves the text of the object as a string. |
java.lang.String |
getType()
Retrieves the MIME type for the associated scripting engine. |
void |
setInnerHtml(java.lang.String html)
This method is not supported, UnsupportedOperationException will be thrown thrown. |
void |
setInnerText(java.lang.String text)
This method is not supported, UnsupportedOperationException will be thrown. |
void |
setText(java.lang.String text)
Sets the text of the object as a string. |
| Methods inherited from class net.sf.jiffie.IHTMLElement |
|---|
click, fireEvent, getClassName, getCurrentStyle, getID, getInnerHtml, getInnerText, getName, getOuterHtml, getOuterText, getParentElement, getStyle, getTagName, setID, waitWhileIncomplete |
| Methods inherited from class net.sf.jiffie.ElementContainer |
|---|
getElementById, getElementByName, getElementByNameAndTag, getElementByTag, getElementList, getElementListByName, getElementListByNameAndTag, getElementListByTag |
| Methods inherited from class net.sf.jiffie.IHTMLDOMNode |
|---|
appendChild, createNodeFromProperty, getAttributes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling |
| Methods inherited from class net.sf.jiffie.BrowserDispatch |
|---|
getElementProperty, getParentBrowser |
| Methods inherited from class net.sf.jiffie.IDispatch |
|---|
call, call, call, call, call, clone, finalize, getBooleanProperty, getDispatch, getDispatchProperty, getIntegerProperty, getStringProperty, getVariantProperty, isReleased, newDispatch, queryInterface, release, setBooleanProperty, setIntegerProperty, setStringProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STATUS_UNINITIALIZED
public static final java.lang.String STATUS_LOADING
public static final java.lang.String STATUS_LOADED
public static final java.lang.String STATUS_INTERACTIVE
public static final java.lang.String STATUS_COMPLETE
| Constructor Detail |
|---|
public IHTMLScriptElement(InternetExplorer parentBrowser,
Dispatch dispatch)
parentBrowser - parent browserdispatch - Jacob dispatch interface| Method Detail |
|---|
public void setInnerText(java.lang.String text)
When trying to set the innerText of a script tag from javascript, IE will error with the message "Unknown runtime error".
setInnerText in class IHTMLElementtext - inner textpublic void setInnerHtml(java.lang.String html)
When trying to set the innerHTML of a script tag from javascript, IE will error with the message "Unknown runtime error".
setInnerHtml in class IHTMLElementhtml - inner htmlpublic void setText(java.lang.String text)
text - script textpublic java.lang.String getText()
public ReadyState getReadyState()
public java.lang.String getSrc()
public java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||