| Modifier and Type | Field and Description |
|---|---|
static BlockBrowser |
browser |
static float |
TAG_PROBABILITY_THRESHOLD |
| Constructor and Description |
|---|
BlockBrowser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAreaSelectionListener(AreaSelectionListener listener)
Registers an area selection listener that is called when the area selection changes.
|
void |
addInfoPanel(javax.swing.JComponent component,
double weighty)
Adds a new panel to the details area.
|
void |
addStructurePanel(java.lang.String title,
javax.swing.JComponent component)
Adds a new tab to the structure view tabs.
|
void |
addToolBar(javax.swing.JToolBar toolbar)
Adds a toolbar to the browser's toolbar area.
|
void |
addToolPanel(java.lang.String title,
javax.swing.JComponent component)
Adds a new tab to the tool panel at the top of the window
|
void |
displayURL(java.lang.String urlstring) |
AreaTree |
getAreaTree()
Gets the area tree of the current page
|
org.fit.cssbox.layout.BrowserCanvas |
getBrowserCanvas() |
boolean |
getLoadImages() |
java.lang.String |
getLocation() |
protected javax.swing.JCheckBox |
getLogicalAutorunCheckbox() |
LogicalAreaTree |
getLogicalTree()
Gets the logical area tree of the actual page
|
javax.swing.JFrame |
getMainWindow()
This method initializes jFrame
|
OutputDisplay |
getOutputDisplay()
Gets the browser page output display.
|
Page |
getPage()
Gets the actual page model
|
GUIProcessor |
getProcessor() |
protected javax.swing.JCheckBox |
getSegmAutorunCheckbox() |
Area |
getSelectedArea()
Gets the last selected visual area.
|
void |
initPlugins() |
static void |
main(java.lang.String[] args) |
void |
refresh()
Refresh the trees.
|
void |
setAreaTree(AreaTree areaTree)
Sets area tree from external source
|
void |
setLoadImages(boolean b) |
void |
setLocation(java.lang.String url) |
void |
setLogicalTree(LogicalAreaTree logicalTree)
Sets logical area tree from external source
|
void |
setPage(Page page)
Sets page model from the external source
|
void |
showAreas(Area root,
java.lang.String name) |
void |
updateDisplay()
Performs the output display refresh (when something has been
painted).
|
public static BlockBrowser browser
public static final float TAG_PROBABILITY_THRESHOLD
public void setLocation(java.lang.String url)
public java.lang.String getLocation()
public void setLoadImages(boolean b)
public boolean getLoadImages()
public void refresh()
public void addToolBar(javax.swing.JToolBar toolbar)
BrowseraddToolBar in interface Browsertoolbar - the toolbar to be addedpublic void addToolPanel(java.lang.String title,
javax.swing.JComponent component)
BrowseraddToolPanel in interface Browsertitle - the tab titlecomponent - the component to be addedpublic void addStructurePanel(java.lang.String title,
javax.swing.JComponent component)
BrowseraddStructurePanel in interface Browsertitle - the tab titlecomponent - the component to be addedpublic void addInfoPanel(javax.swing.JComponent component,
double weighty)
BrowseraddInfoPanel in interface Browsercomponent - the component to be addedweighty - the resizing vertical weightpublic OutputDisplay getOutputDisplay()
BrowsergetOutputDisplay in interface Browserpublic void updateDisplay()
BrowserupdateDisplay in interface Browserpublic Area getSelectedArea()
BrowsergetSelectedArea in interface Browsernull when nothing is selectedpublic void addAreaSelectionListener(AreaSelectionListener listener)
BrowseraddAreaSelectionListener in interface Browserlistener - the listener to be registeredpublic void setPage(Page page)
Browserpublic AreaTree getAreaTree()
BrowsergetAreaTree in interface Browsernull if the tree has not been built yetpublic LogicalAreaTree getLogicalTree()
BrowsergetLogicalTree in interface Browsernull if the tree has not been built yetpublic void setAreaTree(AreaTree areaTree)
BrowsersetAreaTree in interface Browserpublic void setLogicalTree(LogicalAreaTree logicalTree)
BrowsersetLogicalTree in interface Browserpublic GUIProcessor getProcessor()
public void displayURL(java.lang.String urlstring)
public void showAreas(Area root, java.lang.String name)
public org.fit.cssbox.layout.BrowserCanvas getBrowserCanvas()
public void initPlugins()
public javax.swing.JFrame getMainWindow()
protected javax.swing.JCheckBox getSegmAutorunCheckbox()
protected javax.swing.JCheckBox getLogicalAutorunCheckbox()
public static void main(java.lang.String[] args)