|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.gui.XSmilesUIAWT
fi.hut.tml.xsmiles.gui.swing.XSmilesUI
fi.hut.tml.xsmiles.gui.ftv.FtvGUI
FtvGUI is a TV GUI for the XSmiles browser.
| Field Summary | |
protected boolean |
backEnabled
|
protected BrowserWindow |
browser
|
protected boolean |
forwardEnabled
|
protected static int |
GREEN
|
protected static int |
NORMAL
|
protected static int |
RED
|
protected int |
state
|
protected static int |
TEXT
|
| Fields inherited from class fi.hut.tml.xsmiles.gui.XSmilesUIAWT |
browserWindow, contentHandlerFactory, focusPointProviders, guiEventListeners, latestLoc, latestTitle |
| Constructor Summary | |
FtvGUI(BrowserWindow b)
Initial gui contructor |
|
FtvGUI(BrowserWindow b,
java.awt.Container c)
For switching gui on the fly |
|
| Method Summary | |
void |
changeGui()
|
void |
destroy()
Destroy The GUI (delete frame, etc) |
void |
documentReady()
|
BrowserConstraints |
getBrowserConstraints()
|
ComponentFactory |
getComponentFactory()
Default components. |
ContentHandlerFactory |
getContentHandlerFactory()
|
java.awt.Container |
getContentPanel()
Needed by browser for rendering the contents of the page. |
MLFCControls |
getMLFCControls()
|
java.awt.Window |
getWindow()
|
void |
navigateAddtoBookmarks()
This adds a URL to the bookmarks. |
void |
navigateBack()
Back |
void |
navigateForward()
Forward |
void |
navigateHomeEvent()
Home will be specified to a colorbutton |
protected void |
navigateReload()
In the tv ui, the reload will be left to the program. |
void |
navigateToBookmarks()
Navigates to bookmarks |
void |
navigateToURL(java.lang.String urlString)
Navigates to an URL |
protected void |
removeComponents()
Removes all grpahical components of the gui |
void |
reValidateDocumentArea()
Revalidates (redraws) the document area. |
void |
setColorMenu(java.lang.String color,
boolean state)
This hides and opens the colormenus. |
void |
setConfigMenu(boolean state)
This open and hides the configuration menu |
void |
setDocumentAreaSize(java.awt.Dimension size)
Sets the document area size |
void |
setEnabledBack(boolean v)
Is back enabled |
void |
setEnabledForward(boolean v)
Is forward enabled |
void |
setLocation(java.lang.String str)
|
void |
setStatusText(java.lang.String str)
A refrence to the MLFCMenu (i.e. |
void |
setURLMenu(boolean state)
This hides and opens the URLMenu, setting the focus in the right place also. |
void |
validate()
|
| Methods inherited from class fi.hut.tml.xsmiles.gui.swing.XSmilesUI |
showErrorDialog, showMessageDialog, showSource |
| Methods inherited from class fi.hut.tml.xsmiles.gui.XSmilesUIAWT |
addGUIEventListener, browserReady, browserWorking, displayKeypad, fireLatestEvents, hideKeypad, isTabbed, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledHome, setEnabledReload, setEnabledStop, setSkinsIfNeeded, setSkinsIfNeeded, setTitle, shouldReloadAtStartup, showSourceStatic, start, unRegisterFocusPointProvider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.gui.GUI |
addGUIEventListener, browserReady, browserWorking, displayKeypad, fireLatestEvents, hideKeypad, isTabbed, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledHome, setEnabledReload, setEnabledStop, setSkinsIfNeeded, setTitle, shouldReloadAtStartup, start, unRegisterFocusPointProvider |
| Field Detail |
protected BrowserWindow browser
protected boolean backEnabled
protected boolean forwardEnabled
protected int state
protected static final int NORMAL
protected static final int RED
protected static final int GREEN
protected static final int TEXT
| Constructor Detail |
public FtvGUI(BrowserWindow b)
b - The Browser
public FtvGUI(BrowserWindow b,
java.awt.Container c)
b - The browserc - the browser container of previous gui| Method Detail |
public ContentHandlerFactory getContentHandlerFactory()
getContentHandlerFactory in interface GUIgetContentHandlerFactory in class XSmilesUIAWTContentHandlerFactorypublic java.awt.Window getWindow()
getWindow in interface GUIgetWindow in class XSmilesUIAWTpublic BrowserConstraints getBrowserConstraints()
public void setLocation(java.lang.String str)
setLocation in interface GUIsetLocation in class XSmilesUIAWTstr - sets the location textpublic void navigateBack()
public void navigateForward()
protected void navigateReload()
public void navigateHomeEvent()
public void navigateToBookmarks()
public void navigateToURL(java.lang.String urlString)
public java.awt.Container getContentPanel()
public void setStatusText(java.lang.String str)
XSmilesUIAWT
setStatusText in interface GUIsetStatusText in class XSmilesUIAWTstr - the text to set in statusbar
public void setColorMenu(java.lang.String color,
boolean state)
color - Which menu is to be set.state - true=visible false=hiddenpublic void documentReady()
public void setURLMenu(boolean state)
state - visible or notpublic void setConfigMenu(boolean state)
state - visible or notpublic void navigateAddtoBookmarks()
protected void removeComponents()
public void changeGui()
public void setDocumentAreaSize(java.awt.Dimension size)
size - as a Dimensionpublic void reValidateDocumentArea()
public void validate()
public void destroy()
GUI
destroy in interface GUIdestroy in class XSmilesUIAWTpublic void setEnabledBack(boolean v)
setEnabledBack in interface GUIsetEnabledBack in class XSmilesUIAWTpublic ComponentFactory getComponentFactory()
XSmilesUIAWT
getComponentFactory in interface GUIgetComponentFactory in class XSmilesUIAWTComponentFactorypublic MLFCControls getMLFCControls()
getMLFCControls in interface GUIgetMLFCControls in class XSmilesUIAWTpublic void setEnabledForward(boolean v)
setEnabledForward in interface GUIsetEnabledForward in class XSmilesUIAWT
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||