public class HtmlWindow extends NetObject
.NET documentation at https://learn.microsoft.com/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=8.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)
Invokes the .NET member addError.
|
void |
addGotFocus(HtmlElementEventHandler handler)
Invokes the .NET member addGotFocus.
|
void |
addLoad(HtmlElementEventHandler handler)
Invokes the .NET member addLoad.
|
void |
addLostFocus(HtmlElementEventHandler handler)
Invokes the .NET member addLostFocus.
|
void |
addResize(HtmlElementEventHandler handler)
Invokes the .NET member addResize.
|
void |
addScroll(HtmlElementEventHandler handler)
Invokes the .NET member addScroll.
|
void |
addUnload(HtmlElementEventHandler handler)
Invokes the .NET member addUnload.
|
void |
Alert(java.lang.String message)
Invokes the .NET member Alert.
|
void |
AttachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
Invokes the .NET member AttachEventHandler.
|
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()
Invokes the .NET member Close.
|
boolean |
Confirm(java.lang.String message)
Invokes the .NET member Confirm.
|
void |
DetachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
Invokes the .NET member DetachEventHandler.
|
void |
Focus()
Invokes the .NET member Focus.
|
HtmlDocument |
getDocument()
Gets the value of the .NET property Document.
|
NetObject |
getDomWindow()
Gets the value of the .NET property DomWindow.
|
HtmlWindowCollection |
getFrames()
Gets the value of the .NET property Frames.
|
HtmlHistory |
getHistory()
Gets the value of the .NET property History.
|
boolean |
getIsClosed()
Gets the value of the .NET property IsClosed.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
HtmlWindow |
getOpener()
Gets the value of the .NET property Opener.
|
HtmlWindow |
getParent()
Gets the value of the .NET property Parent.
|
Point |
getPosition()
Gets the value of the .NET property Position.
|
Size |
getSize()
Gets the value of the .NET property Size.
|
java.lang.String |
getStatusBarText()
Gets the value of the .NET property StatusBarText.
|
Uri |
getUrl()
Gets the value of the .NET property Url.
|
HtmlElement |
getWindowFrameElement()
Gets the value of the .NET property WindowFrameElement.
|
void |
MoveTo(int x,
int y)
Invokes the .NET member MoveTo.
|
void |
MoveTo(Point point)
Invokes the .NET member MoveTo.
|
void |
Navigate(java.lang.String urlString)
Invokes the .NET member Navigate.
|
void |
Navigate(Uri url)
Invokes the .NET member Navigate.
|
HtmlWindow |
Open(java.lang.String urlString,
java.lang.String target,
java.lang.String windowOptions,
boolean replaceEntry)
Invokes the .NET member Open.
|
HtmlWindow |
Open(Uri url,
java.lang.String target,
java.lang.String windowOptions,
boolean replaceEntry)
Invokes the .NET member Open.
|
HtmlWindow |
OpenNew(java.lang.String urlString,
java.lang.String windowOptions)
Invokes the .NET member OpenNew.
|
HtmlWindow |
OpenNew(Uri url,
java.lang.String windowOptions)
Invokes the .NET member OpenNew.
|
java.lang.String |
Prompt(java.lang.String message,
java.lang.String defaultInputValue)
Invokes the .NET member Prompt.
|
void |
removeError(HtmlElementErrorEventHandler handler)
Invokes the .NET member removeError.
|
void |
RemoveFocus()
Invokes the .NET member RemoveFocus.
|
void |
removeGotFocus(HtmlElementEventHandler handler)
Invokes the .NET member removeGotFocus.
|
void |
removeLoad(HtmlElementEventHandler handler)
Invokes the .NET member removeLoad.
|
void |
removeLostFocus(HtmlElementEventHandler handler)
Invokes the .NET member removeLostFocus.
|
void |
removeResize(HtmlElementEventHandler handler)
Invokes the .NET member removeResize.
|
void |
removeScroll(HtmlElementEventHandler handler)
Invokes the .NET member removeScroll.
|
void |
removeUnload(HtmlElementEventHandler handler)
Invokes the .NET member removeUnload.
|
void |
ResizeTo(int width,
int height)
Invokes the .NET member ResizeTo.
|
void |
ResizeTo(Size size)
Invokes the .NET member ResizeTo.
|
void |
ScrollTo(int x,
int y)
Invokes the .NET member ScrollTo.
|
void |
ScrollTo(Point point)
Invokes the .NET member ScrollTo.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setName(java.lang.String Name)
Sets the value of the .NET property Name.
|
void |
setSize(Size Size)
Sets the value of the .NET property Size.
|
void |
setStatusBarText(java.lang.String StatusBarText)
Sets the value of the .NET property 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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addError(HtmlElementErrorEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementErrorEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addLoad(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addResize(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addScroll(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnload(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Alert(java.lang.String message)
throws java.lang.Throwable
message - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void AttachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
eventName - the argument of type java.lang.StringeventHandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Confirm(java.lang.String message)
throws java.lang.Throwable
message - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void DetachEventHandler(java.lang.String eventName,
EventHandler eventHandler)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
eventName - the argument of type java.lang.StringeventHandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Focus()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlDocument getDocument() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getDomWindow() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindowCollection getFrames() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlHistory getHistory() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsClosed()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindow getOpener() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindow getParent() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Point getPosition() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Size getSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getStatusBarText()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Uri getUrl() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnreachableException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic HtmlElement getWindowFrameElement() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void MoveTo(int x,
int y)
throws java.lang.Throwable
x - the argument of type inty - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void MoveTo(Point point) throws java.lang.Throwable
point - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Navigate(java.lang.String urlString)
throws java.lang.Throwable
urlString - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Navigate(Uri url) throws java.lang.Throwable
url - the argument of type Urijava.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindow Open(java.lang.String urlString, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry) throws java.lang.Throwable
urlString - the argument of type java.lang.Stringtarget - the argument of type java.lang.StringwindowOptions - the argument of type java.lang.StringreplaceEntry - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindow Open(Uri url, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry) throws java.lang.Throwable
url - the argument of type Uritarget - the argument of type java.lang.StringwindowOptions - the argument of type java.lang.StringreplaceEntry - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindow OpenNew(java.lang.String urlString, java.lang.String windowOptions) throws java.lang.Throwable
urlString - the argument of type java.lang.StringwindowOptions - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic HtmlWindow OpenNew(Uri url, java.lang.String windowOptions) throws java.lang.Throwable
url - the argument of type UriwindowOptions - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String Prompt(java.lang.String message,
java.lang.String defaultInputValue)
throws java.lang.Throwable
message - the argument of type java.lang.StringdefaultInputValue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeError(HtmlElementErrorEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementErrorEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveFocus()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeGotFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeLoad(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeLostFocus(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeResize(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeScroll(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnload(HtmlElementEventHandler handler) throws java.lang.Throwable
handler - the argument of type HtmlElementEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ResizeTo(int width,
int height)
throws java.lang.Throwable
width - the argument of type intheight - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ResizeTo(Size size) throws java.lang.Throwable
size - the argument of type Sizejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ScrollTo(int x,
int y)
throws java.lang.Throwable
x - the argument of type inty - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ScrollTo(Point point) throws java.lang.Throwable
point - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setName(java.lang.String Name)
throws java.lang.Throwable
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSize(Size Size) throws java.lang.Throwable
Size - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStatusBarText(java.lang.String StatusBarText)
throws java.lang.Throwable
StatusBarText - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR