
// // Copyright (c) 2008, Brian Frank and Andy Frank // Licensed under the Academic Free License version 3.0 // // History: // 27 Jun 08 Brian Frank Creation // ** ** WebBrowser is used to display HTML text or view a URL. ** class WebBrowser : Widget { ** ** Navigate to the specified URI. ** This load(Uri uri) { send(loadId, uri); return this } internal const static Str loadId := "load" ** ** Refresh the current page. ** This refresh() { send(refreshId, null); return this } internal const static Str refreshId := "refresh" ** ** Stop any load activity. ** This stop() { send(stopId, null); return this } internal const static Str stopId := "stop" ** ** Navigate to the previous session history. ** This back() { send(backId, null); return this } internal const static Str backId := "back" ** ** Navigate to the next session history. ** This forward() { send(forwardId, null); return this } internal const static Str forwardId := "forward" }