de.fhg.igd.earth.control
Class GUI

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended byjavax.swing.JFrame
                      extended byde.fhg.igd.earth.control.GUI
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants

public class GUI
extends JFrame

This class implements the graphical user interface. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
 
Nested classes inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
private  BorderLayout borderLayout1
           
private  BorderLayout borderLayout2
           
(package private)  BorderLayout borderLayout3
           
(package private)  BorderLayout borderLayout4
           
(package private)  CheckboxMenuItem checkboxMenuItem1
           
(package private)  CheckboxMenuItem checkboxMenuItem2
           
(package private)  CheckboxMenuItem checkboxMenuItem3
           
(package private)  CheckboxMenuItem checkboxMenuItem4
           
(package private)  CheckboxMenuItem checkboxMenuItem5
           
private  JPanel contentPane
           
 String datapath_
           
private  FlowLayout flowLayout1
           
private  GridLayout gridLayout2
           
(package private)  GridLayout gridLayout3
           
private  GridLayout gridLayout4
           
private  GridLayout gridLayout5
           
(package private)  GridLayout gridLayout6
           
private static String ICON
           
(package private)  JLabel jFPS
           
(package private)  JLabel jGeoPosition
           
private  JPanel jGraphicPanel
           
(package private)  JPanel jInfoPanel
           
(package private)  JLabel jLabel1
           
(package private)  JLabel jLabel3
           
private  JPanel jPanel1
           
private  JPanel jPanel2
           
(package private)  JPanel jPanel3
           
(package private)  JPanel jPanel4
           
private  JPanel jPanel7
           
private  JPanel jPanel9
           
(package private)  JPanel jPropertiesPanel
           
private  JScrollPane jScrollPane1
           
private  JScrollPane jScrollPane2
           
(package private)  JSlider jSlider1
           
private  JSplitPane jSplitPane1
           
private  JSplitPane jSplitPane2
           
(package private)  JTabbedPane jTabbedPane1
           
private  JPanel jTreePanel
           
private  JPanel jZoomSliderPanel
           
(package private)  Menu menu1
           
(package private)  Menu menu10
           
(package private)  Menu menu2
           
(package private)  Menu menu4
           
(package private)  Menu menu5
           
(package private)  Menu menu8
           
(package private)  Menu menu9
           
(package private)  MenuBar menuBar1
           
(package private)  MenuItem menuItem1
           
(package private)  MenuItem menuItem11
           
(package private)  MenuItem menuItem12
           
(package private)  MenuItem menuItem15
           
(package private)  MenuItem menuItem16
           
(package private)  MenuItem menuItem17
           
(package private)  MenuItem menuItem18
           
(package private)  MenuItem menuItem2
           
(package private)  MenuItem menuItem20
           
(package private)  MenuItem menuItem21
           
(package private)  MenuItem menuItem22
           
(package private)  MenuItem menuItem3
           
(package private)  MenuItem menuItem4
           
(package private)  MenuItem menuItem7
           
private  ModelManager modelManager_
          the model manager
private  StatusDialog pleaseWait_
          a simple status dialog
private  ProjectorManager projectorManager_
          the projector manager
private  TitledBorder titledBorder1
           
private  TitledBorder titledBorder2
           
private  TitledBorder titledBorder3
           
private  TitledBorder titledBorder4
           
private  TitledBorder titledBorder5
           
private  ButtonGroup ToolBarGroup
           
private  TracerManager tracerManager_
          the tracer manager
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Window
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
GUI(String datapath)
          Creates an instance of this class.
 
Method Summary
(package private)  void addAgent()
           
(package private)  void checkboxMenuItem1_itemStateChanged(ItemEvent e)
           
(package private)  void checkboxMenuItem2_itemStateChanged(ItemEvent e)
           
(package private)  void checkboxMenuItem3_itemStateChanged(ItemEvent e)
           
(package private)  void checkboxMenuItem4_itemStateChanged(ItemEvent e)
           
(package private)  void checkboxMenuItem5_itemStateChanged(ItemEvent e)
           
private  void checkMenu()
           
 String getDatapath()
           
private  void jbInit()
          GUI init
(package private)  void jButton1_actionPerformed(ActionEvent e)
           
(package private)  void jButton2_actionPerformed(ActionEvent e)
           
(package private)  void jButton3_actionPerformed(ActionEvent e)
           
(package private)  void jButton5_actionPerformed(ActionEvent e)
           
(package private)  void jGraphicPanel_componentResized(ComponentEvent e)
           
private  void loadCubeProjector()
           
private  void loadEmptyWorld()
           
private  void loadGermanCountryBoundaries()
           
private  void loadGrid()
           
private  void loadInfoProjector()
           
private  void loadPropertiesProjector()
           
private  void loadSimpleWorld()
           
private  void loadSphereProjector()
           
(package private)  void loadString()
           
private  void loadTreeProjector()
           
private  void loadWorldCountryBoundaries()
           
(package private)  void menuItem1_actionPerformed(ActionEvent e)
           
(package private)  void menuItem10_actionPerformed(ActionEvent e)
           
(package private)  void menuItem11_actionPerformed(ActionEvent e)
           
(package private)  void menuItem12_actionPerformed(ActionEvent e)
           
(package private)  void menuItem13_actionPerformed(ActionEvent e)
           
(package private)  void menuItem14_actionPerformed(ActionEvent e)
           
(package private)  void menuItem15_actionPerformed(ActionEvent e)
           
(package private)  void menuItem16_actionPerformed(ActionEvent e)
           
(package private)  void menuItem17_actionPerformed(ActionEvent e)
           
(package private)  void menuItem18_actionPerformed(ActionEvent e)
           
(package private)  void menuItem19_actionPerformed(ActionEvent e)
           
(package private)  void menuItem2_actionPerformed(ActionEvent e)
           
(package private)  void menuItem20_actionPerformed(ActionEvent e)
           
(package private)  void menuItem22_actionPerformed(ActionEvent e)
           
(package private)  void menuItem3_actionPerformed(ActionEvent e)
           
(package private)  void menuItem4_actionPerformed(ActionEvent e)
           
(package private)  void menuItem6_actionPerformed(ActionEvent e)
           
(package private)  void menuItem7_actionPerformed(ActionEvent e)
           
(package private)  void menuItem8_actionPerformed(ActionEvent e)
           
(package private)  void menuItem9_actionPerformed(ActionEvent e)
           
(package private)  void newProject_actionPerformed(ActionEvent e)
           
private  void newProject()
           
private  void openProject()
           
protected  void processWindowEvent(WindowEvent e)
          Window close event
private  void savePart()
           
private  void saveProject()
           
(package private)  void setAddAgentsAutomatically(boolean on)
           
(package private)  void setAgentGlobalTracer(boolean on)
           
(package private)  void setAtlasGUI(boolean on)
           
private  void setAutoFocus(boolean on)
           
 void setDatapath(String datapath)
           
private  void setDLOD(boolean on)
           
private  void setLOD(boolean on)
           
private  void showPleaseWait(boolean on)
           
(package private)  void testAgentMoveHistory(int cmd)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

ICON

private static final String ICON
See Also:
Constant Field Values

contentPane

private JPanel contentPane

titledBorder1

private TitledBorder titledBorder1

titledBorder2

private TitledBorder titledBorder2

titledBorder3

private TitledBorder titledBorder3

titledBorder4

private TitledBorder titledBorder4

jSplitPane1

private JSplitPane jSplitPane1

jPanel1

private JPanel jPanel1

jPanel2

private JPanel jPanel2

jSplitPane2

private JSplitPane jSplitPane2

jZoomSliderPanel

private JPanel jZoomSliderPanel

jGraphicPanel

private JPanel jGraphicPanel

borderLayout2

private BorderLayout borderLayout2

jPanel7

private JPanel jPanel7

jPanel9

private JPanel jPanel9

flowLayout1

private FlowLayout flowLayout1

titledBorder5

private TitledBorder titledBorder5

ToolBarGroup

private ButtonGroup ToolBarGroup

borderLayout1

private BorderLayout borderLayout1

jScrollPane2

private JScrollPane jScrollPane2

jScrollPane1

private JScrollPane jScrollPane1

jTreePanel

private JPanel jTreePanel

gridLayout2

private GridLayout gridLayout2

gridLayout4

private GridLayout gridLayout4

gridLayout5

private GridLayout gridLayout5

menuBar1

MenuBar menuBar1

menu1

Menu menu1

menuItem2

MenuItem menuItem2

menu2

Menu menu2

menuItem7

MenuItem menuItem7

menuItem15

MenuItem menuItem15

jTabbedPane1

JTabbedPane jTabbedPane1

gridLayout3

GridLayout gridLayout3

jInfoPanel

JPanel jInfoPanel

jPropertiesPanel

JPanel jPropertiesPanel

jSlider1

JSlider jSlider1

menuItem18

MenuItem menuItem18

menuItem20

MenuItem menuItem20

menuItem21

MenuItem menuItem21

menuItem22

MenuItem menuItem22

menuItem3

MenuItem menuItem3

menuItem4

MenuItem menuItem4

menuItem1

MenuItem menuItem1

menu8

Menu menu8

menu4

Menu menu4

menuItem11

MenuItem menuItem11

menuItem12

MenuItem menuItem12

menu5

Menu menu5

checkboxMenuItem1

CheckboxMenuItem checkboxMenuItem1

menu9

Menu menu9

checkboxMenuItem2

CheckboxMenuItem checkboxMenuItem2

checkboxMenuItem3

CheckboxMenuItem checkboxMenuItem3

jPanel3

JPanel jPanel3

jPanel4

JPanel jPanel4

jLabel3

JLabel jLabel3

jGeoPosition

JLabel jGeoPosition

borderLayout3

BorderLayout borderLayout3

jFPS

JLabel jFPS

jLabel1

JLabel jLabel1

gridLayout6

GridLayout gridLayout6

borderLayout4

BorderLayout borderLayout4

menu10

Menu menu10

checkboxMenuItem4

CheckboxMenuItem checkboxMenuItem4

checkboxMenuItem5

CheckboxMenuItem checkboxMenuItem5

datapath_

public String datapath_

modelManager_

private ModelManager modelManager_
the model manager


tracerManager_

private TracerManager tracerManager_
the tracer manager


projectorManager_

private ProjectorManager projectorManager_
the projector manager


pleaseWait_

private StatusDialog pleaseWait_
a simple status dialog


menuItem16

MenuItem menuItem16

menuItem17

MenuItem menuItem17
Constructor Detail

GUI

public GUI(String datapath)
Creates an instance of this class.

Method Detail

jbInit

private void jbInit()
             throws Exception
GUI init

Throws:
Exception

processWindowEvent

protected void processWindowEvent(WindowEvent e)
Window close event


testAgentMoveHistory

void testAgentMoveHistory(int cmd)

jButton5_actionPerformed

void jButton5_actionPerformed(ActionEvent e)

jGraphicPanel_componentResized

void jGraphicPanel_componentResized(ComponentEvent e)

loadSimpleWorld

private void loadSimpleWorld()

loadEmptyWorld

private void loadEmptyWorld()

menuItem6_actionPerformed

void menuItem6_actionPerformed(ActionEvent e)

loadGrid

private void loadGrid()

menuItem7_actionPerformed

void menuItem7_actionPerformed(ActionEvent e)

menuItem1_actionPerformed

void menuItem1_actionPerformed(ActionEvent e)

loadCubeProjector

private void loadCubeProjector()

menuItem2_actionPerformed

void menuItem2_actionPerformed(ActionEvent e)

loadSphereProjector

private void loadSphereProjector()

menuItem3_actionPerformed

void menuItem3_actionPerformed(ActionEvent e)

loadTreeProjector

private void loadTreeProjector()

menuItem4_actionPerformed

void menuItem4_actionPerformed(ActionEvent e)

menuItem8_actionPerformed

void menuItem8_actionPerformed(ActionEvent e)

loadWorldCountryBoundaries

private void loadWorldCountryBoundaries()

menuItem9_actionPerformed

void menuItem9_actionPerformed(ActionEvent e)

loadGermanCountryBoundaries

private void loadGermanCountryBoundaries()

menuItem10_actionPerformed

void menuItem10_actionPerformed(ActionEvent e)

loadString

void loadString()

menuItem12_actionPerformed

void menuItem12_actionPerformed(ActionEvent e)

loadInfoProjector

private void loadInfoProjector()

menuItem13_actionPerformed

void menuItem13_actionPerformed(ActionEvent e)

loadPropertiesProjector

private void loadPropertiesProjector()

menuItem16_actionPerformed

void menuItem16_actionPerformed(ActionEvent e)

menuItem17_actionPerformed

void menuItem17_actionPerformed(ActionEvent e)

menuItem14_actionPerformed

void menuItem14_actionPerformed(ActionEvent e)

menuItem18_actionPerformed

void menuItem18_actionPerformed(ActionEvent e)

menuItem19_actionPerformed

void menuItem19_actionPerformed(ActionEvent e)

showPleaseWait

private void showPleaseWait(boolean on)

checkMenu

private void checkMenu()

newProject_actionPerformed

void newProject_actionPerformed(ActionEvent e)

newProject

private void newProject()

menuItem22_actionPerformed

void menuItem22_actionPerformed(ActionEvent e)

saveProject

private void saveProject()

menuItem20_actionPerformed

void menuItem20_actionPerformed(ActionEvent e)

openProject

private void openProject()

savePart

private void savePart()

jButton1_actionPerformed

void jButton1_actionPerformed(ActionEvent e)

jButton2_actionPerformed

void jButton2_actionPerformed(ActionEvent e)

menuItem11_actionPerformed

void menuItem11_actionPerformed(ActionEvent e)

setAutoFocus

private void setAutoFocus(boolean on)

setLOD

private void setLOD(boolean on)

setDLOD

private void setDLOD(boolean on)

checkboxMenuItem1_itemStateChanged

void checkboxMenuItem1_itemStateChanged(ItemEvent e)

checkboxMenuItem2_itemStateChanged

void checkboxMenuItem2_itemStateChanged(ItemEvent e)

checkboxMenuItem3_itemStateChanged

void checkboxMenuItem3_itemStateChanged(ItemEvent e)

jButton3_actionPerformed

void jButton3_actionPerformed(ActionEvent e)

checkboxMenuItem4_itemStateChanged

void checkboxMenuItem4_itemStateChanged(ItemEvent e)

setAgentGlobalTracer

void setAgentGlobalTracer(boolean on)

setAtlasGUI

void setAtlasGUI(boolean on)

checkboxMenuItem5_itemStateChanged

void checkboxMenuItem5_itemStateChanged(ItemEvent e)

setAddAgentsAutomatically

void setAddAgentsAutomatically(boolean on)

setDatapath

public void setDatapath(String datapath)

getDatapath

public String getDatapath()

menuItem15_actionPerformed

void menuItem15_actionPerformed(ActionEvent e)

addAgent

void addAgent()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.