public class HtmlWindow extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.HtmlWindow
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.HtmlWindow
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HtmlWindow() |
HtmlWindow(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addError(HtmlElementErrorEventHandler handler) |
void |
addGotFocus(HtmlElementEventHandler handler) |
void |
addLoad(HtmlElementEventHandler handler) |
void |
addLostFocus(HtmlElementEventHandler handler) |
void |
addResize(HtmlElementEventHandler handler) |
void |
addScroll(HtmlElementEventHandler handler) |
void |
addUnload(HtmlElementEventHandler handler) |
void |
Alert(java.lang.String message) |
void |
AttachEventHandler(java.lang.String eventName,
EventHandler eventHandler) |
static HtmlWindow |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HtmlWindow, a cast assert is made to check if types are compatible. |
void |
Close() |
boolean |
Confirm(java.lang.String message) |
void |
DetachEventHandler(java.lang.String eventName,
EventHandler eventHandler) |
void |
Focus() |
HtmlDocument |
getDocument() |
NetObject |
getDomWindow() |
HtmlWindowCollection |
getFrames() |
HtmlHistory |
getHistory() |
boolean |
getIsClosed() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
HtmlWindow |
getOpener() |
HtmlWindow |
getParent() |
Point |
getPosition() |
Size |
getSize() |
java.lang.String |
getStatusBarText() |
Uri |
getUrl() |
HtmlElement |
getWindowFrameElement() |
void |
MoveTo(int x,
int y) |
void |
MoveTo(Point point) |
void |
Navigate(java.lang.String urlString) |
void |
Navigate(Uri url) |
HtmlWindow |
Open(java.lang.String urlString,
java.lang.String target,
java.lang.String windowOptions,
boolean replaceEntry) |
HtmlWindow |
Open(Uri url,
java.lang.String target,
java.lang.String windowOptions,
boolean replaceEntry) |
HtmlWindow |
OpenNew(java.lang.String urlString,
java.lang.String windowOptions) |
HtmlWindow |
OpenNew(Uri url,
java.lang.String windowOptions) |
java.lang.String |
Prompt(java.lang.String message,
java.lang.String defaultInputValue) |
void |
removeError(HtmlElementErrorEventHandler handler) |
void |
RemoveFocus() |
void |
removeGotFocus(HtmlElementEventHandler handler) |
void |
removeLoad(HtmlElementEventHandler handler) |
void |
removeLostFocus(HtmlElementEventHandler handler) |
void |
removeResize(HtmlElementEventHandler handler) |
void |
removeScroll(HtmlElementEventHandler handler) |
void |
removeUnload(HtmlElementEventHandler handler) |
void |
ResizeTo(int width,
int height) |
void |
ResizeTo(Size size) |
void |
ScrollTo(int x,
int y) |
void |
ScrollTo(Point point) |
void |
setJCOInstance(JCObject instance) |
void |
setName(java.lang.String Name) |
void |
setSize(Size Size) |
void |
setStatusBarText(java.lang.String StatusBarText) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HtmlWindow()
throws java.lang.Throwable
java.lang.Throwablepublic HtmlWindow(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addError(HtmlElementErrorEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLoad(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addResize(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addScroll(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addUnload(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void Alert(java.lang.String message)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void AttachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public static HtmlWindow cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HtmlWindow, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHtmlWindow instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic boolean Confirm(java.lang.String message)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic 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,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic HtmlDocument getDocument() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic NetObject getDomWindow() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException
public HtmlWindowCollection getFrames() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic HtmlHistory getHistory() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic boolean getIsClosed()
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,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic HtmlWindow getOpener() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic HtmlWindow getParent() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic Point getPosition() throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic Size getSize() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String getStatusBarText()
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 HtmlElement getWindowFrameElement() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic void MoveTo(int x,
int y)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void MoveTo(Point point) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void Navigate(java.lang.String urlString)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void Navigate(Uri url) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic HtmlWindow Open(java.lang.String urlString, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException
public HtmlWindow Open(Uri url, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic HtmlWindow OpenNew(java.lang.String urlString, java.lang.String windowOptions) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException
public HtmlWindow OpenNew(Uri url, java.lang.String windowOptions) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionOutOfMemoryExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic java.lang.String Prompt(java.lang.String message,
java.lang.String defaultInputValue)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
ArgumentOutOfRangeException,
InvalidOleVariantTypeException,
OverflowException,
SafeArrayTypeMismatchException,
ArgumentNullException,
InvalidOperationException,
NotImplementedException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentOutOfRangeExceptionInvalidOleVariantTypeExceptionOverflowExceptionSafeArrayTypeMismatchExceptionArgumentNullExceptionInvalidOperationExceptionNotImplementedExceptionArrayTypeMismatchExceptionpublic void removeError(HtmlElementErrorEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void RemoveFocus()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void removeGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLoad(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeResize(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeScroll(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeUnload(HtmlElementEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ResizeTo(int width,
int height)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void ResizeTo(Size size) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void ScrollTo(int x,
int y)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void ScrollTo(Point point) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setSize(Size Size) throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic void setStatusBarText(java.lang.String StatusBarText)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatException