|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.browser.BrowserLogic
public class BrowserLogic
Constructor Summary | |
---|---|
BrowserLogic(Main _b)
|
Method Summary | |
---|---|
void |
backward()
When user click on "Backward", the Backward method is invoked and it then calls the LinkQueue class. |
void |
forward()
When user click on "Forward", the forward method is invoked and it then calls the LinkQueue class. |
java.io.File |
getInputFile(java.lang.String title)
|
void |
hyperlinkPage(javax.swing.JEditorPane jep,
javax.swing.event.HyperlinkEvent e,
javax.swing.JTextField tf)
hyperlinkPage method get invoked from BrowserListener to update the URL textField, to add the new url to the LinkQueue and to start an external thread that gui.run jep.setPage(url), |
void |
openHtmlFile()
When user click on "File:open", the openHtmlFile is invoked to open the selected gui.html file. |
void |
processTextField(java.lang.String s)
|
void |
setUrl(java.net.URL u)
setUrl method is invoked to start an external thread that gui.run jep.setPage(url), update the URL textField and add the new url to the LinkQueue and |
void |
setUrlNoException(java.net.URL u)
|
void |
updateTextField(java.lang.String urlS)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrowserLogic(Main _b)
Method Detail |
---|
public void openHtmlFile()
public void forward()
public void backward()
public java.io.File getInputFile(java.lang.String title)
public void setUrlNoException(java.net.URL u)
public void updateTextField(java.lang.String urlS)
public void processTextField(java.lang.String s)
public void hyperlinkPage(javax.swing.JEditorPane jep, javax.swing.event.HyperlinkEvent e, javax.swing.JTextField tf)
public void setUrl(java.net.URL u)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |