de.fhg.igd.earth.control
Class GUI
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
de.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
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 |
|
Constructor Summary |
GUI(String datapath)
Creates an instance of this class. |
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 |
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
GUI
public GUI(String datapath)
- Creates an instance of this class.
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.