Package system.windows.forms
Class HtmlElement
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.HtmlElement
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HtmlElement extends NetObject
The base .NET class managing System.Windows.Forms.HtmlElement, 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.HtmlElement
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.HtmlElementstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HtmlElement()
HtmlElement(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.HtmlElement- 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 HtmlElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHtmlElement
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HtmlElement
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
InvokeMember
public NetObject InvokeMember(java.lang.String methodName, NetObject... parameter) 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
-
InvokeMember
public NetObject InvokeMember(java.lang.String methodName) 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
-
GetAttribute
public 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
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
ArrayTypeMismatchException
-
AppendChild
public HtmlElement AppendChild(HtmlElement newElement) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException
-
InsertAdjacentElement
public HtmlElement InsertAdjacentElement(HtmlElementInsertionOrientation orient, HtmlElement newElement) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException
-
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
-
Focus
public void Focus() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException
-
RaiseEvent
public void RaiseEvent(java.lang.String eventName) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArgumentNullException, FormatException, ArgumentException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
-
RemoveFocus
public void RemoveFocus() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
ScrollIntoView
public void ScrollIntoView(boolean alignWithTop) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
SetAttribute
public void SetAttribute(java.lang.String attributeName, java.lang.String value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getCanHaveChildren
public boolean getCanHaveChildren() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getEnabled
public boolean getEnabled() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
setEnabled
public void setEnabled(boolean Enabled) throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getTabIndex
public short getTabIndex() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
setTabIndex
public void setTabIndex(short TabIndex) throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getScrollLeft
public int getScrollLeft() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
setScrollLeft
public void setScrollLeft(int ScrollLeft) throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getScrollTop
public int getScrollTop() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
setScrollTop
public void setScrollTop(int ScrollTop) throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getClientRectangle
public Rectangle getClientRectangle() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getOffsetRectangle
public Rectangle getOffsetRectangle() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getScrollRectangle
public Rectangle getScrollRectangle() throws java.lang.Throwable, PlatformNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
-
getDomElement
public NetObject getDomElement() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
InvalidOperationException
-
getId
public java.lang.String getId() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setId
public void setId(java.lang.String Id) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getInnerHtml
public java.lang.String getInnerHtml() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setInnerHtml
public void setInnerHtml(java.lang.String InnerHtml) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getInnerText
public java.lang.String getInnerText() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setInnerText
public void setInnerText(java.lang.String InnerText) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getName
public java.lang.String getName() throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException, InvalidOleVariantTypeException, OverflowException, SafeArrayTypeMismatchException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
OutOfMemoryException
ArgumentException
ArgumentOutOfRangeException
InvalidOleVariantTypeException
OverflowException
SafeArrayTypeMismatchException
ArgumentNullException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException
-
getOuterHtml
public java.lang.String getOuterHtml() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setOuterHtml
public void setOuterHtml(java.lang.String OuterHtml) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getOuterText
public java.lang.String getOuterText() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setOuterText
public void setOuterText(java.lang.String OuterText) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getStyle
public java.lang.String getStyle() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
setStyle
public void setStyle(java.lang.String Style) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
getTagName
public java.lang.String getTagName() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getDocument
public HtmlDocument getDocument() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getFirstChild
public HtmlElement getFirstChild() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getNextSibling
public HtmlElement getNextSibling() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getOffsetParent
public HtmlElement getOffsetParent() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
-
getParent
public HtmlElement getParent() 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
-
getChildren
public HtmlElementCollection getChildren() 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
-
addDoubleClick
public void addDoubleClick(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDoubleClick
public void removeDoubleClick(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDrag
public void addDrag(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDrag
public void removeDrag(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDragEnd
public void addDragEnd(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDragEnd
public void removeDragEnd(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDragLeave
public void addDragLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDragLeave
public void removeDragLeave(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDragOver
public void addDragOver(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDragOver
public void removeDragOver(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
-
addGotFocus
public void addGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeGotFocus
public void removeGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addKeyDown
public void addKeyDown(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeKeyDown
public void removeKeyDown(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addKeyPress
public void addKeyPress(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeKeyPress
public void removeKeyPress(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addKeyUp
public void addKeyUp(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeKeyUp
public void removeKeyUp(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
-
addLostFocus
public void addLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLostFocus
public void removeLostFocus(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
-
addMouseEnter
public void addMouseEnter(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeMouseEnter
public void removeMouseEnter(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
-
-