Package system.windows.forms
Class HtmlWindow
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.HtmlWindow
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HtmlWindow extends NetObject
The base .NET class managing System.Windows.Forms.HtmlWindow, 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.HtmlWindow
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.HtmlWindowstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HtmlWindow()HtmlWindow(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddError(HtmlElementErrorEventHandler handler)voidaddGotFocus(HtmlElementEventHandler handler)voidaddLoad(HtmlElementEventHandler handler)voidaddLostFocus(HtmlElementEventHandler handler)voidaddResize(HtmlElementEventHandler handler)voidaddScroll(HtmlElementEventHandler handler)voidaddUnload(HtmlElementEventHandler handler)voidAlert(java.lang.String message)voidAttachEventHandler(java.lang.String eventName, EventHandler eventHandler)static HtmlWindowcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHtmlWindow, a cast assert is made to check if types are compatible.voidClose()booleanConfirm(java.lang.String message)voidDetachEventHandler(java.lang.String eventName, EventHandler eventHandler)voidFocus()HtmlDocumentgetDocument()NetObjectgetDomWindow()HtmlWindowCollectiongetFrames()HtmlHistorygetHistory()booleangetIsClosed()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()HtmlWindowgetOpener()HtmlWindowgetParent()PointgetPosition()SizegetSize()java.lang.StringgetStatusBarText()UrigetUrl()HtmlElementgetWindowFrameElement()voidMoveTo(int x, int y)voidMoveTo(Point point)voidNavigate(java.lang.String urlString)voidNavigate(Uri url)HtmlWindowOpen(java.lang.String urlString, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry)HtmlWindowOpen(Uri url, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry)HtmlWindowOpenNew(java.lang.String urlString, java.lang.String windowOptions)HtmlWindowOpenNew(Uri url, java.lang.String windowOptions)java.lang.StringPrompt(java.lang.String message, java.lang.String defaultInputValue)voidremoveError(HtmlElementErrorEventHandler handler)voidRemoveFocus()voidremoveGotFocus(HtmlElementEventHandler handler)voidremoveLoad(HtmlElementEventHandler handler)voidremoveLostFocus(HtmlElementEventHandler handler)voidremoveResize(HtmlElementEventHandler handler)voidremoveScroll(HtmlElementEventHandler handler)voidremoveUnload(HtmlElementEventHandler handler)voidResizeTo(int width, int height)voidResizeTo(Size size)voidScrollTo(int x, int y)voidScrollTo(Point point)voidsetJCOInstance(JCObject instance)voidsetName(java.lang.String Name)voidsetSize(Size Size)voidsetStatusBarText(java.lang.String StatusBarText)
-
-
-
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.HtmlWindow- 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 HtmlWindow cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHtmlWindow, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HtmlWindowinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Confirm
public boolean Confirm(java.lang.String message) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Prompt
public java.lang.String Prompt(java.lang.String message, java.lang.String defaultInputValue) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Open
public HtmlWindow Open(java.lang.String urlString, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Open
public HtmlWindow Open(Uri url, java.lang.String target, java.lang.String windowOptions, boolean replaceEntry) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
OpenNew
public HtmlWindow OpenNew(java.lang.String urlString, java.lang.String windowOptions) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
OpenNew
public HtmlWindow OpenNew(Uri url, java.lang.String windowOptions) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Alert
public void Alert(java.lang.String message) 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
-
Close
public void Close() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DetachEventHandler
public void DetachEventHandler(java.lang.String eventName, EventHandler eventHandler) throws java.lang.Throwable, ArgumentNullException, KeyNotFoundException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionKeyNotFoundExceptionArgumentOutOfRangeExceptionArgumentException
-
Focus
public void Focus() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
MoveTo
public void MoveTo(int x, int y) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
MoveTo
public void MoveTo(Point point) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Navigate
public void Navigate(java.lang.String urlString) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Navigate
public void Navigate(Uri url) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
RemoveFocus
public void RemoveFocus() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ResizeTo
public void ResizeTo(int width, int height) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ResizeTo
public void ResizeTo(Size size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ScrollTo
public void ScrollTo(int x, int y) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ScrollTo
public void ScrollTo(Point point) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsClosed
public boolean getIsClosed() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPosition
public Point getPosition() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSize
public Size getSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSize
public void setSize(Size Size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDomWindow
public NetObject getDomWindow() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStatusBarText
public java.lang.String getStatusBarText() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStatusBarText
public void setStatusBarText(java.lang.String StatusBarText) 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
-
getDocument
public HtmlDocument getDocument() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWindowFrameElement
public HtmlElement getWindowFrameElement() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHistory
public HtmlHistory getHistory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOpener
public HtmlWindow getOpener() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParent
public HtmlWindow getParent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFrames
public HtmlWindowCollection getFrames() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addError
public void addError(HtmlElementErrorEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeError
public void removeError(HtmlElementErrorEventHandler 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
-
addLoad
public void addLoad(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeLoad
public void removeLoad(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
-
addResize
public void addResize(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeResize
public void removeResize(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addScroll
public void addScroll(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeScroll
public void removeScroll(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnload
public void addUnload(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnload
public void removeUnload(HtmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-