|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--manifold.se.AbstractViewer
|
+--flatscape.Flatscape
The main class of the Flatscape 2D collaborative editor.
Copyright (c) 2001 Rutgers, The State University of New Jersey
| Field Summary | |
protected FCanvas |
canvas_
The canvas |
static java.lang.String |
CONFIG
|
static boolean |
DEBUG
|
protected javax.swing.JDesktopPane |
desktopPane_
|
protected FMapLayer |
maplayer_
The map layer |
static java.lang.String |
NAME
|
protected javax.swing.JPanel |
pane_
|
protected javax.swing.JLabel |
statusLabel_
|
protected java.util.List |
views_
|
| Fields inherited from class manifold.se.AbstractViewer |
components_ |
| Constructor Summary | |
Flatscape()
|
|
| Method Summary | |
void |
addPane(javax.swing.JInternalFrame frame)
Adds a pane to flatscape. |
void |
addView(View view)
Adds a view to the viewer. |
FCanvas |
getCanvas()
|
java.awt.Container |
getFlatscapePane()
Returns the top-level pane of the Flatscape window, which contains the desktop pane, the menu bar, and the status bar. |
FMapLayer |
getMapLayer()
|
java.awt.Container |
getPane()
|
protected void |
initializeUI()
Initialize the UI of Flatscape |
protected void |
loadConfig()
Loads the configuration files. |
static void |
main(java.lang.String[] args)
|
void |
redraw()
Redraws the view |
void |
redraw(Glyph requestor)
|
void |
removeView(View view)
Removes a content view from the viewer. |
void |
resetLayout()
|
void |
setCanvas(FCanvas canvas)
Adds a canvas to flatscape. |
void |
setMapLayer(FMapLayer maplayer)
Sets the map layer of the viewer. |
void |
setStatus(java.lang.String status)
|
java.util.Iterator |
views()
Returns an iterator of all Views that have been added |
| Methods inherited from class manifold.se.AbstractViewer |
addSelectionListener, documentAdded, documentNames, documentRemoved, getActiveDocument, getComponent, getController, getCurrentTool, getSceneGraph, getSelection, getToolBar, getToolManager, getUser, removeSelectionListener, setActiveDocument, setController, setCurrentTool, setSceneGraph, setSelection, setSelection, setToolBar, setToolManager, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean DEBUG
public static java.lang.String NAME
public static java.lang.String CONFIG
protected FCanvas canvas_
protected java.util.List views_
protected javax.swing.JPanel pane_
protected javax.swing.JDesktopPane desktopPane_
protected javax.swing.JLabel statusLabel_
protected FMapLayer maplayer_
| Constructor Detail |
public Flatscape()
| Method Detail |
public static void main(java.lang.String[] args)
protected void loadConfig()
protected void initializeUI()
public void setCanvas(FCanvas canvas)
public FCanvas getCanvas()
public void setMapLayer(FMapLayer maplayer)
maplayer - the map layerpublic FMapLayer getMapLayer()
public void addView(View view)
addView in class AbstractViewerview - the view to be addedpublic void removeView(View view)
removeView in class AbstractViewerview - the view to be removedpublic java.util.Iterator views()
views in class AbstractViewerpublic void addPane(javax.swing.JInternalFrame frame)
public void resetLayout()
public java.awt.Container getFlatscapePane()
public java.awt.Container getPane()
getPane in class AbstractViewerpublic void setStatus(java.lang.String status)
public void redraw(Glyph requestor)
public void redraw()
Viewer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||