net.sf.jacobie.ie
Class JacobieShared

java.lang.Object
  |
  +--com.jacob.com.JacobObject
        |
        +--com.jacob.com.Dispatch
              |
              +--net.sf.jacobie.ie.JacobieDispatch
                    |
                    +--net.sf.jacobie.ie.JacobieShared
Direct Known Subclasses:
Document, HTMLElement

public abstract class JacobieShared
extends JacobieDispatch

Intended purpose: -Share common methods across the Document and HTMLElement objects. - getElementByTagName();

Author:
Nick Neuberger

Field Summary
static java.lang.String 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
JacobieShared(com.jacob.com.Dispatch aDispatch)
           
JacobieShared(java.lang.String aCompName)
           
 
Method Summary
 void focus()
          Allows the element to recieve the focus.
 java.util.Vector getElementsByTagName(java.lang.String aTagName)
          Returns a collection of elements based on the elements name.
 
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, toString, wait, wait, wait
 

Field Detail

ID_GET_ELEMENTS_BY_TAG_NAME

public static final java.lang.String ID_GET_ELEMENTS_BY_TAG_NAME
See Also:
Constant Field Values
Constructor Detail

JacobieShared

public JacobieShared(java.lang.String aCompName)
Parameters:
aCompName -

JacobieShared

public JacobieShared(com.jacob.com.Dispatch aDispatch)
Parameters:
aDispatch -
Method Detail

focus

public void focus()
Allows the element to recieve the focus. It also fires the onfocus event. Call this when you do something via javascript on the onfocus event.


getElementsByTagName

public java.util.Vector getElementsByTagName(java.lang.String aTagName)
Returns a collection of elements based on the elements name.

Parameters:
aTagName - DIV, INPUT, SELECT
Returns:


Copyright © 2004-2005 SourceForge. All Rights Reserved.