|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jacob.com.JacobObject | +--com.jacob.com.Dispatch | +--net.sf.jacobie.ie.JacobieDispatch | +--net.sf.jacobie.ie.JacobieShared | +--net.sf.jacobie.ie.HTMLElement
Any HTML Element that is defined in Jacobie should extend from this class to get any default behaviors / attributes of an HTML element. http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reference/objects/internetexplorer.asp Onclick event. http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/onclick.asp
Field Summary |
Fields inherited from class net.sf.jacobie.ie.JacobieShared |
ID_GET_ELEMENTS_BY_TAG_NAME |
Fields inherited from class net.sf.jacobie.ie.JacobieDispatch |
componentName, CRLF, READY_STATE_COMPLETE |
Fields inherited from class com.jacob.com.Dispatch |
DISPID_ABOUTBOX, DISPID_AMBIENT_APPEARANCE, DISPID_AMBIENT_AUTOCLIP, DISPID_AMBIENT_BACKCOLOR, DISPID_AMBIENT_CHARSET, DISPID_AMBIENT_CODEPAGE, DISPID_AMBIENT_DISPLAYASDEFAULT, DISPID_AMBIENT_DISPLAYNAME, DISPID_AMBIENT_FONT, DISPID_AMBIENT_FORECOLOR, DISPID_AMBIENT_LOCALEID, DISPID_AMBIENT_MESSAGEREFLECT, DISPID_AMBIENT_PALETTE, DISPID_AMBIENT_SCALEUNITS, DISPID_AMBIENT_SHOWGRABHANDLES, DISPID_AMBIENT_SHOWHATCHING, DISPID_AMBIENT_SUPPORTSMNEMONICS, DISPID_AMBIENT_TEXTALIGN, DISPID_AMBIENT_TRANSFERPRIORITY, DISPID_AMBIENT_UIDEAD, DISPID_AMBIENT_USERMODE, DISPID_APPEARANCE, DISPID_AUTOSIZE, DISPID_BACKCOLOR, DISPID_BACKSTYLE, DISPID_BORDERCOLOR, DISPID_BORDERSTYLE, DISPID_BORDERVISIBLE, DISPID_BORDERWIDTH, DISPID_CAPTION, DISPID_CLICK, DISPID_COLLECT, DISPID_CONSTRUCTOR, DISPID_DBLCLICK, DISPID_DESTRUCTOR, DISPID_DOCLICK, DISPID_DRAWMODE, DISPID_DRAWSTYLE, DISPID_DRAWWIDTH, DISPID_ENABLED, DISPID_ERROREVENT, DISPID_EVALUATE, DISPID_FILLCOLOR, DISPID_FILLSTYLE, DISPID_FONT, DISPID_FORECOLOR, DISPID_HWND, DISPID_KEYDOWN, DISPID_KEYPRESS, DISPID_KEYUP, DISPID_MOUSEDOWN, DISPID_MOUSEICON, DISPID_MOUSEMOVE, DISPID_MOUSEPOINTER, DISPID_MOUSEUP, DISPID_NEWENUM, DISPID_PICTURE, DISPID_PROPERTYPUT, DISPID_READYSTATE, DISPID_READYSTATECHANGE, DISPID_REFRESH, DISPID_TABSTOP, DISPID_TEXT, DISPID_UNKNOWN, DISPID_VALID, DISPID_VALUE, fdexNameCaseSensitive, Get, LOCALE_SYSTEM_DEFAULT, m_pDispatch, Method, Put, PutRef |
Constructor Summary | |
HTMLElement(com.jacob.com.Dispatch aDispatch)
|
|
HTMLElement(java.lang.String aCompName)
|
Method Summary | |
void |
blur()
Causes the html element to lose its focus and also fires the onblur event. |
void |
click()
Clicks a link. |
java.lang.String |
getID()
Gets the ID from the associated object. |
java.lang.String |
getInnerHTML()
|
java.lang.String |
getInnerText()
|
java.lang.String |
getName()
Gets the name of the html element. |
java.lang.String |
getType()
Gets the type of the input control. |
java.lang.String |
getValue()
Gets the value of the html element. |
boolean |
isChecked()
TODO This is a Input / type=radio / type=checkbox functionality only. |
void |
setChecked(boolean bChecked)
TODO This is a Input / type=radio / type=checkbox functionality only. |
void |
setInnerHTML(java.lang.String aInnerHTML)
|
void |
setInnerText(java.lang.String aInnerText)
|
void |
setName(java.lang.String aName)
Sets the name of the html element. |
void |
setType(java.lang.String aValue)
Sets the type of the input control. |
void |
setValue(java.lang.String aValue)
Sets the value of the html element. |
java.lang.String |
toString()
|
Methods inherited from class net.sf.jacobie.ie.JacobieShared |
focus, getElementsByTagName |
Methods inherited from class net.sf.jacobie.ie.JacobieDispatch |
getMaxWaitDispatchCount, getReadyState, getWaitDispatchSleepTime, resetWaitTimes, setMaxWaitDispatchCount, setWaitDispatchSleepTime, waitWhileDispatchBusy |
Methods inherited from class com.jacob.com.Dispatch |
call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, callN_CaseSensitive, callN, callN, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSub, callSubN, callSubN, createInstance, finalize, get_CaseSensitive, get, get, getIDOfName, getIDsOfNames, getIDsOfNames, invoke, invoke, invoke, invokeSub, invokeSub, invokeSub, invokeSubv, invokeSubv, invokeSubv, invokev, invokev, invokev, invokev, obj2variant, obj2variant, put_Casesensitive, put, put, putRef, putRef, QueryInterface, release |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HTMLElement(java.lang.String aCompName)
aCompName
- public HTMLElement(com.jacob.com.Dispatch aDispatch)
aDispatch
- Method Detail |
public void click()
public java.lang.String getID()
public java.lang.String getInnerText()
public void setInnerText(java.lang.String aInnerText)
public java.lang.String getInnerHTML()
public void setInnerHTML(java.lang.String aInnerHTML)
public java.lang.String getName()
public void setName(java.lang.String aName)
public java.lang.String getValue()
public void setValue(java.lang.String aValue)
public java.lang.String getType()
public void setType(java.lang.String aValue)
public boolean isChecked()
public void setChecked(boolean bChecked)
public void blur()
JacobieShared
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |