Package system.windows.forms
Class HtmlDocument
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.HtmlDocument
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HtmlDocument extends NetObject
The base .NET class managing System.Windows.Forms.HtmlDocument, System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.HtmlDocumentstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HtmlDocument()
HtmlDocument(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.HtmlDocument- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HtmlDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHtmlDocument
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HtmlDocument
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
InvokeScript
public NetObject InvokeScript(java.lang.String scriptName, NetObject[] args) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, InvalidOperationException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
ArgumentNullException
InvalidOleVariantTypeException
OverflowException
SafeArrayTypeMismatchException
InvalidOperationException
ArrayTypeMismatchException
-
InvokeScript
public NetObject InvokeScript(java.lang.String scriptName) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
ArgumentNullException
NotSupportedException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
OverflowException
SafeArrayTypeMismatchException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
-
OpenNew
public HtmlDocument OpenNew(boolean replaceInHistory) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
OutOfMemoryException
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
-
CreateElement
public HtmlElement CreateElement(java.lang.String elementTag) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
GetElementById
public HtmlElement GetElementById(java.lang.String id) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
GetElementFromPoint
public HtmlElement GetElementFromPoint(Point point) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
GetElementsByTagName
public HtmlElementCollection GetElementsByTagName(java.lang.String tagName) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
AttachEventHandler
public void AttachEventHandler(java.lang.String eventName, EventHandler eventHandler) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
DetachEventHandler
public void DetachEventHandler(java.lang.String eventName, EventHandler eventHandler) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
ExecCommand
public void ExecCommand(java.lang.String command, boolean showUI, NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, ArgumentNullException
-
Focus
public void Focus() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
Write
public void Write(java.lang.String text) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, PlatformNotSupportedException
-
getFocused
public boolean getFocused() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getRightToLeft
public boolean getRightToLeft() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
-
setRightToLeft
public void setRightToLeft(boolean RightToLeft) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
getActiveLinkColor
public Color getActiveLinkColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, ArrayTypeMismatchException, NullReferenceException, FormatException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
IndexOutOfRangeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
ArrayTypeMismatchException
NullReferenceException
FormatException
MissingMemberException
-
setActiveLinkColor
public void setActiveLinkColor(Color ActiveLinkColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
getBackColor
public Color getBackColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, ArrayTypeMismatchException, NullReferenceException, FormatException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
IndexOutOfRangeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
ArrayTypeMismatchException
NullReferenceException
FormatException
MissingMemberException
-
setBackColor
public void setBackColor(Color BackColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
getForeColor
public Color getForeColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, ArrayTypeMismatchException, NullReferenceException, FormatException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
IndexOutOfRangeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
ArrayTypeMismatchException
NullReferenceException
FormatException
MissingMemberException
-
setForeColor
public void setForeColor(Color ForeColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
getLinkColor
public Color getLinkColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, ArrayTypeMismatchException, NullReferenceException, FormatException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
IndexOutOfRangeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
ArrayTypeMismatchException
NullReferenceException
FormatException
MissingMemberException
-
setLinkColor
public void setLinkColor(Color LinkColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
getVisitedLinkColor
public Color getVisitedLinkColor() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, IndexOutOfRangeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, ArrayTypeMismatchException, NullReferenceException, FormatException, MissingMemberException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
IndexOutOfRangeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
ArrayTypeMismatchException
NullReferenceException
FormatException
MissingMemberException
-
setVisitedLinkColor
public void setVisitedLinkColor(Color VisitedLinkColor) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
getDomDocument
public NetObject getDomDocument() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
InvalidOperationException
-
getCookie
public java.lang.String getCookie() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setCookie
public void setCookie(java.lang.String Cookie) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getDefaultEncoding
public java.lang.String getDefaultEncoding() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getDomain
public java.lang.String getDomain() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setDomain
public void setDomain(java.lang.String Domain) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getEncoding
public java.lang.String getEncoding() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setEncoding
public void setEncoding(java.lang.String Encoding) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getTitle
public java.lang.String getTitle() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setTitle
public void setTitle(java.lang.String Title) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getUrl
public Uri getUrl() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, UnreachableException, UriFormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
NullReferenceException
OutOfMemoryException
ExternalException
ArgumentNullException
InvalidOperationException
CultureNotFoundException
UnreachableException
UriFormatException
-
getActiveElement
public HtmlElement getActiveElement() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getBody
public HtmlElement getBody() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getAll
public HtmlElementCollection getAll() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getForms
public HtmlElementCollection getForms() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getImages
public HtmlElementCollection getImages() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getLinks
public HtmlElementCollection getLinks() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getWindow
public HtmlWindow getWindow() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
addClick
public void addClick(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeClick
public void removeClick(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addContextMenuShowing
public void addContextMenuShowing(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeContextMenuShowing
public void removeContextMenuShowing(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addFocusing
public void addFocusing(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFocusing
public void removeFocusing(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addLosingFocus
public void addLosingFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLosingFocus
public void removeLosingFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseDown
public void addMouseDown(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseDown
public void removeMouseDown(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseLeave
public void addMouseLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseLeave
public void removeMouseLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseMove
public void addMouseMove(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseMove
public void removeMouseMove(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseOver
public void addMouseOver(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseOver
public void removeMouseOver(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addMouseUp
public void addMouseUp(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseUp
public void removeMouseUp(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addStop
public void addStop(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStop
public void removeStop(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-