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=4.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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.HtmlDocumentstatic JCTypeclassTypeThe 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=4.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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HtmlDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHtmlDocument, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HtmlDocumentinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
InvokeScript
public NetObject InvokeScript(java.lang.String scriptName) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionOutOfMemoryException
-
InvokeScript
public NetObject InvokeScript(java.lang.String scriptName, NetObject[] args) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionOutOfMemoryException
-
OpenNew
public HtmlDocument OpenNew(boolean replaceInHistory) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateElement
public HtmlElement CreateElement(java.lang.String elementTag) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetElementById
public HtmlElement GetElementById(java.lang.String id) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetElementFromPoint
public HtmlElement GetElementFromPoint(Point point) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetElementsByTagName
public HtmlElementCollection GetElementsByTagName(java.lang.String tagName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AttachEventHandler
public void AttachEventHandler(java.lang.String eventName, EventHandler eventHandler) throws java.lang.Throwable, ArgumentNullException, KeyNotFoundException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionKeyNotFoundExceptionArgumentOutOfRangeExceptionArgumentException
-
DetachEventHandler
public void DetachEventHandler(java.lang.String eventName, EventHandler eventHandler) throws java.lang.Throwable, ArgumentNullException, KeyNotFoundException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionKeyNotFoundExceptionArgumentOutOfRangeExceptionArgumentException
-
ExecCommand
public void ExecCommand(java.lang.String command, boolean showUI, NetObject value) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Focus
public void Focus() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Write
public void Write(java.lang.String text) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFocused
public boolean getFocused() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRightToLeft
public boolean getRightToLeft() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRightToLeft
public void setRightToLeft(boolean RightToLeft) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getActiveLinkColor
public Color getActiveLinkColor() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedException
-
setActiveLinkColor
public void setActiveLinkColor(Color ActiveLinkColor) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ExternalException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionExternalExceptionKeyNotFoundException
-
getBackColor
public Color getBackColor() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedException
-
setBackColor
public void setBackColor(Color BackColor) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ExternalException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionExternalExceptionKeyNotFoundException
-
getForeColor
public Color getForeColor() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedException
-
setForeColor
public void setForeColor(Color ForeColor) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ExternalException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionExternalExceptionKeyNotFoundException
-
getLinkColor
public Color getLinkColor() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedException
-
setLinkColor
public void setLinkColor(Color LinkColor) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ExternalException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionExternalExceptionKeyNotFoundException
-
getVisitedLinkColor
public Color getVisitedLinkColor() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedException
-
setVisitedLinkColor
public void setVisitedLinkColor(Color VisitedLinkColor) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, ExternalException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionExternalExceptionKeyNotFoundException
-
getDomDocument
public NetObject getDomDocument() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCookie
public java.lang.String getCookie() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCookie
public void setCookie(java.lang.String Cookie) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDefaultEncoding
public java.lang.String getDefaultEncoding() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDomain
public java.lang.String getDomain() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDomain
public void setDomain(java.lang.String Domain) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getEncoding
public java.lang.String getEncoding() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setEncoding
public void setEncoding(java.lang.String Encoding) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTitle
public java.lang.String getTitle() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTitle
public void setTitle(java.lang.String Title) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUrl
public Uri getUrl() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionConfigurationExceptionUriFormatExceptionOutOfMemoryException
-
getActiveElement
public HtmlElement getActiveElement() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBody
public HtmlElement getBody() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAll
public HtmlElementCollection getAll() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getForms
public HtmlElementCollection getForms() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getImages
public HtmlElementCollection getImages() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLinks
public HtmlElementCollection getLinks() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWindow
public HtmlWindow getWindow() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
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
-
-