public class HtmlDocument extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.HtmlDocument
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=10.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.HtmlDocument
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HtmlDocument() |
HtmlDocument(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 HtmlDocument()
throws java.lang.Throwable
java.lang.Throwablepublic HtmlDocument(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addClick(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addContextMenuShowing(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addFocusing(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLosingFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addMouseDown(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 void addStop(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void AttachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public static HtmlDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HtmlDocument, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHtmlDocument instancejava.lang.Throwable - in case of error during cast operationpublic HtmlElement CreateElement(java.lang.String elementTag) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException
public void DetachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public void ExecCommand(java.lang.String command,
boolean showUI,
NetObject value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentNullException
public void Focus()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic HtmlElement getActiveElement() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic Color getActiveLinkColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, NotImplementedException, ArrayTypeMismatchException, FormatException, MissingMemberException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionIndexOutOfRangeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionFormatExceptionMissingMemberExceptionpublic HtmlElementCollection getAll() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic Color getBackColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, NotImplementedException, ArrayTypeMismatchException, FormatException, MissingMemberException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionIndexOutOfRangeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionFormatExceptionMissingMemberExceptionpublic HtmlElement getBody() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic java.lang.String getCookie()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getDefaultEncoding()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getDomain()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic NetObject getDomDocument() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException
public HtmlElement GetElementById(java.lang.String id) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException
public HtmlElement GetElementFromPoint(Point point) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic HtmlElementCollection GetElementsByTagName(java.lang.String tagName) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException
public java.lang.String getEncoding()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic boolean getFocused()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic Color getForeColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, NotImplementedException, ArrayTypeMismatchException, FormatException, MissingMemberException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionIndexOutOfRangeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionFormatExceptionMissingMemberExceptionpublic HtmlElementCollection getForms() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic HtmlElementCollection getImages() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic 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 Color getLinkColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, NotImplementedException, ArrayTypeMismatchException, FormatException, MissingMemberException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionIndexOutOfRangeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionFormatExceptionMissingMemberExceptionpublic HtmlElementCollection getLinks() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic boolean getRightToLeft()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionpublic java.lang.String getTitle()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic Uri getUrl() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, UnreachableException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionInvalidOperationExceptionCultureNotFoundExceptionUnreachableExceptionpublic Color getVisitedLinkColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, NotImplementedException, ArrayTypeMismatchException, FormatException, MissingMemberException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionIndexOutOfRangeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionFormatExceptionMissingMemberExceptionpublic HtmlWindow getWindow() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic NetObject InvokeScript(java.lang.String scriptName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, InvalidOperationException, NotImplementedException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionInvalidOperationExceptionNotImplementedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic NetObject InvokeScript(java.lang.String scriptName, NetObject[] args) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, InvalidOperationException, NotImplementedException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionpublic HtmlDocument OpenNew(boolean replaceInHistory) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic void removeClick(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeContextMenuShowing(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeFocusing(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLosingFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeMouseDown(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 removeStop(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setActiveLinkColor(Color ActiveLinkColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionpublic void setBackColor(Color BackColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionpublic void setCookie(java.lang.String Cookie)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setDomain(java.lang.String Domain)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setEncoding(java.lang.String Encoding)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setForeColor(Color ForeColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setLinkColor(Color LinkColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionpublic void setRightToLeft(boolean RightToLeft)
throws java.lang.Throwable,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionpublic void setTitle(java.lang.String Title)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setVisitedLinkColor(Color VisitedLinkColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionpublic void Write(java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
PlatformNotSupportedException