|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.browser.Context
public class Context
Field Summary | |
---|---|
private java.lang.String |
theBase
Source |
private MainFrame |
theBrowser
Browser |
private java.lang.String |
theImageBase
Source |
private java.lang.String |
theSource
Source |
private IWidget |
theWidget
Connected Widget |
Constructor Summary | |
---|---|
Context(MainFrame thisApplication,
java.lang.String thisSource,
java.lang.String thisBase,
java.lang.String thisImageBase)
Constructor |
Method Summary | |
---|---|
void |
connect(IWidget thisWidget)
Connected Widget |
java.net.URL |
getBase()
Get base URL |
protected java.net.URL |
getDefaultBase()
Get base default |
protected java.net.URL |
getDefaultImagesBase()
Get images base default |
java.net.URL |
getHtmlDocumentBase()
Get embedding HTML document base URL |
java.awt.Image |
getImage(java.net.URL thisURL)
Get image |
java.net.URL |
getImagesBase()
Get images base URL |
java.lang.String |
getParameter(java.lang.String thisName)
Get parameter |
boolean |
linkTo(java.lang.String thisLinkUrl,
java.lang.String thisLinkTarget)
Navigate to link |
protected java.net.URL |
makeURL(java.lang.String thisSource)
Make url |
protected java.net.URL |
makeURLAlt(java.lang.String thisSource)
Make url |
void |
showStatus(java.lang.String thisString)
Show status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MainFrame theBrowser
private IWidget theWidget
private java.lang.String theSource
private java.lang.String theBase
private java.lang.String theImageBase
Constructor Detail |
---|
public Context(MainFrame thisApplication, java.lang.String thisSource, java.lang.String thisBase, java.lang.String thisImageBase)
Method Detail |
---|
public void connect(IWidget thisWidget)
public java.net.URL getBase()
IContext
getBase
in interface IContext
public java.net.URL getImagesBase()
IContext
getImagesBase
in interface IContext
public java.net.URL getHtmlDocumentBase()
IContext
getHtmlDocumentBase
in interface IContext
public java.awt.Image getImage(java.net.URL thisURL)
IContext
getImage
in interface IContext
thisURL
- url
public java.lang.String getParameter(java.lang.String thisName)
IContext
getParameter
in interface IContext
thisName
- parameter name
public boolean linkTo(java.lang.String thisLinkUrl, java.lang.String thisLinkTarget)
IContext
linkTo
in interface IContext
thisLinkUrl
- link urlthisLinkTarget
- link target
public void showStatus(java.lang.String thisString)
IContext
showStatus
in interface IContext
thisString
- messageprotected java.net.URL makeURLAlt(java.lang.String thisSource) throws java.net.MalformedURLException
thisSource
- source
java.net.MalformedURLException
protected java.net.URL makeURL(java.lang.String thisSource)
thisSource
- source
protected java.net.URL getDefaultBase()
protected java.net.URL getDefaultImagesBase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |