Home News DOC Class DL Others Rice
Class  >  browser
browser class

Description

Represents the browser used in the Cooker.

Notes

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

An instance returned by variable declaration has been initialized.

Returns a singleton instance in response to an instance creation request. That is, variables of this class refer to the same instance.

fitter

SignatureDescription
browser()

Returns a new instance of browser class.

getter

SignatureDescription
CanExecuteNewScript

Returns a value that indicates whether the new script is executable.

CanGoBack

Returns a value that indicates whether can go back the previous page.

CanGoForward

Returns a value that indicates whether can go forward the next page.

EnabledNavigation

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

EnabledPopup

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

Fitted

Returns the value that indicates whether an instance was initialized.

Height

Returns the height of the browser.

IsShownAddressBar

Returns a value that indicates whether the address bar is visible.

Left

Returns the position of the browser's left edge on the desktop screen.

LoadImages

Returns a value that indicates whether to load the image.

LockAddressBar

Returns a value that indicates whether to lock the address bar.

Title

Returns the title of the displayed page.

Top

Returns the position of the browser's top edge on the desktop screen.

TypeName

Returns the type name.

Url

Returns the URL of the displayed page.

UserAgent

Returns the user agent.

Width

Returns the width of the browser.

setter

SignatureDescription
CanExecuteNewScript(bool)

Sets a value that indicates whether the new script is executable.

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.

Height(int)

Sets the height of the browser.

Height(real)

Sets the height of the browser.

Left(int)

Sets the position of the browser's left edge on the desktop screen.

Left(real)

Sets the position of the browser's left edge on the desktop screen.

LoadImages(bool)

Sets a value that indicates whether to load the image.

LockAddressBar(bool)

Sets a value that indicates whether to lock the address bar.

Top(int)

Sets the position of the browser's top edge on the desktop screen.

Top(real)

Sets the position of the browser's top edge on the desktop screen.

Width(int)

Sets the width of the browser.

Width(real)

Sets the width of the browser.

method

SignatureDescription
GoBack()

Navigates back to previous page in the navigation history.

GoBack(bool)

Navigates back to previous page in the navigation history.

GoForward()

Navigates forward to next page in the navigation history.

GoForward(bool)

Navigates forward to next page in the navigation history.

HideAddressBar()

Hides the address bar.

LoadHtml(string)

Loads the HTML string into the browser.

LoadHtml(string,bool)

Loads the HTML string into the browser.

LoadUrl(string)

Moves to the specified URL.

LoadUrl(string,bool)

Moves to the specified URL.

OpenAddressBar()

Displays the address bar.

PointFromScreen(real,real)

Converts screen coordinates to client coordinates.

PointToScreen(real,real)

Converts client coordinates to screen coordinates.

Reload()

Reloads the page.

Reload(bool)

Reloads the page.

event

SignatureDescription
LoadCompleted(class,string)

Assigns a handler to the "LoadCompleted" event.

LoadStart(class,string)

Assigns a handler to the "LoadStart" event.

Copyright © Rice All rights reserved.