Home Notices Documents Classes Download Others Rice
Classes  >  browser
browser class

Description

Represents the browser used in the CookerGX.

Notes

It is a class that is statically included in the CookerGX.

Please note that the instance obtained by variable declaration has already been initialized.

fitter

SignatureDescription
browser()

Get a new instance of browser class.

getter

SignatureDescription
CanGoBack

Gets a value indicating whether a previous page in navigation history is available.

CanGoForward

Gets a value indicating whether a subsequent page in navigation history is available.

Enabled

Gets a value indicating whether this browser is enabled.

EnabledNavigation

Gets a value indicating whether the browser is enabled to navigate.

EnabledPopup

Gets a value indicating whether a popup is enabled to display.

Fitted

Gets the value that indicates whether this instance was already initialized.

Focused

Gets a value indicating whether this browser has input focus.

IsIMEEnabled

Gets a value indicating whether the IME is enabled on this browser.

Title

Get the title of the displayed page.

TypeName

Gets the type name.

Uri

Get the URI of the displayed page.

UserAgent

Gets a string that indicates the user agent set by user.

setter

SignatureDescription
Enabled(bool)

Sets a value indicating whether the browser is enabled.

EnabledNavigation(bool)

Sets a value indicating whether the browser is enabled to navigate.

EnabledPopup(bool)

Sets a value indicating whether a popup is enabled to display.

IsIMEEnabled(bool)

Sets a value indicating whether the IME is enabled in the browser.

UserAgent(string)

Sets a string that indicates the user agent.

method

SignatureDescription
CaptureBrowser()

Captures an image of the browser's current display part.

CapturePage()

Captures the entire page currently displayed.

Focus()

Attempts to set input focus to this browser.

GetBitmap(int,int)

Cuts out a part of the page's image.

GetBitmap(int,int,int,int)

Cuts out a part of the page's image.

GoBack()

Navigates back to previous page in the navigation history.

GoForward()

Navigates forward to next page in the navigation history.

LoadHtml(string,string)

Loads a html string directly to the browser.

Navigate(string)

Navigates the browser to specified url.

Refresh()

Reloads the page currently displayed in the browser.

Reload()

Reloads the page currently displayed in the browser.

Zoom(real)

Sets the display magnification of the browser.

event

SignatureDescription
DocumentCompleted(class,string)

Assigns a handler to the "DocumentCompleted" event.

DomContentLoaded(class,string)

Assigns a handler to the "DomContentLoaded" event.

KeyDown(class,string)

Assigns a handler to the "KeyDown" event.

KeyPress(class,string)

Assigns a handler to the "KeyPress" event.

KeyUp(class,string)

Assigns a handler to the "KeyUp" event.

Load(class,string)

Assigns a handler to the "Load" event.

Navigated(class,string)

Assigns a handler to the "Navigated" event.

Navigating(class,string)

Assigns a handler to the "Navigating" event.

Notice(class,string)

Assigns a handler to the "Notice" event.

Copyright © Rice All rights reserved.