public class HtmlElement extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.HtmlElement
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.HtmlElement
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HtmlElement() |
HtmlElement(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HtmlElement()
throws java.lang.Throwable
java.lang.Throwablepublic HtmlElement(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addClick(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDoubleClick(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDrag(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDragEnd(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDragLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDragOver(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addFocusing(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addKeyDown(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addKeyPress(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addKeyUp(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLosingFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseDown(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseEnter(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseMove(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseOver(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseUp(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic HtmlElement AppendChild(HtmlElement newElement) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException
public void AttachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public static HtmlElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HtmlElement, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHtmlElement instancejava.lang.Throwable - in case of error during cast operationpublic void DetachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public void Focus()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException
public HtmlElementCollection getAll() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String GetAttribute(java.lang.String attributeName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentOutOfRangeException,
InvalidOleVariantTypeException,
OverflowException,
SafeArrayTypeMismatchException,
ArgumentNullException,
InvalidOperationException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionArrayTypeMismatchExceptionpublic boolean getCanHaveChildren()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic HtmlElementCollection getChildren() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic Rectangle getClientRectangle() throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic HtmlDocument getDocument() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic NetObject getDomElement() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionpublic HtmlElementCollection GetElementsByTagName(java.lang.String tagName) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionpublic boolean getEnabled()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic HtmlElement getFirstChild() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getId()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getInnerHtml()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getInnerText()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOleVariantTypeException,
OverflowException,
SafeArrayTypeMismatchException,
ArgumentNullException,
InvalidOperationException,
IndexOutOfRangeException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic HtmlElement getNextSibling() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic HtmlElement getOffsetParent() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic Rectangle getOffsetRectangle() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getOuterHtml()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getOuterText()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic HtmlElement getParent() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic int getScrollLeft()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic Rectangle getScrollRectangle() throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic int getScrollTop()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic java.lang.String getStyle()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic short getTabIndex()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic java.lang.String getTagName()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic HtmlElement InsertAdjacentElement(HtmlElementInsertionOrientation orient, HtmlElement newElement) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException
public NetObject InvokeMember(java.lang.String methodName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic NetObject InvokeMember(java.lang.String methodName, NetObject... parameter) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, InvalidOperationException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionInvalidOperationExceptionArrayTypeMismatchExceptionpublic void RaiseEvent(java.lang.String eventName)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionpublic void removeClick(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDoubleClick(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDrag(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDragEnd(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDragLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDragOver(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void RemoveFocus()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic void removeFocusing(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeKeyDown(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeKeyPress(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeKeyUp(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLosingFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseDown(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseEnter(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseMove(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseOver(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseUp(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ScrollIntoView(boolean alignWithTop)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void SetAttribute(java.lang.String attributeName,
java.lang.String value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setEnabled(boolean Enabled)
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic void setId(java.lang.String Id)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setInnerHtml(java.lang.String InnerHtml)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setInnerText(java.lang.String InnerText)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException
public void setOuterHtml(java.lang.String OuterHtml)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setOuterText(java.lang.String OuterText)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setScrollLeft(int ScrollLeft)
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic void setScrollTop(int ScrollTop)
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic void setStyle(java.lang.String Style)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setTabIndex(short TabIndex)
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedException