com.neatech.climbplan.userinterface
Class MainScreen
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.neatech.climbplan.userinterface.MainScreen
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
public class MainScreen
- extends JFrame
- 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 |
Constructor Summary |
private |
MainScreen()
Create the frame |
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, 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, 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, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, 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, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, 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, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, 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, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
logger
private static final org.apache.log4j.Logger logger
centerRatio
private static final double centerRatio
- See Also:
- Constant Field Values
leftRatio
private static final double leftRatio
- See Also:
- Constant Field Values
clickToLoginStateAmount
private static final int clickToLoginStateAmount
- See Also:
- Constant Field Values
loginStateAmount
private static final int loginStateAmount
- See Also:
- Constant Field Values
loggedInStateAmount
private static final int loggedInStateAmount
- See Also:
- Constant Field Values
rightAmount
private static int rightAmount
userManualPath
private static final String userManualPath
- See Also:
- Constant Field Values
mainScreen
private static MainScreen mainScreen
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
loginPanel
private final LoginPanel loginPanel
splitPaneCenter
private final JSplitPane splitPaneCenter
splitPaneLeft
private final JSplitPane splitPaneLeft
panel
private final JPanel panel
splitPaneRight
private final JSplitPane splitPaneRight
panelUserNotification
private final JPanel panelUserNotification
userNotificationAreaLabel
private final JLabel userNotificationAreaLabel
tabbedPaneRight
private final CloseableTabbedPane tabbedPaneRight
menuBar
private final JMenuBar menuBar
fileMenu
private final JMenu fileMenu
newMenu
private final JMenu newMenu
saveMenuItem
private final JMenuItem saveMenuItem
saveAllMenuItem
private final JMenuItem saveAllMenuItem
closeMenuItem
private final JMenuItem closeMenuItem
closeAllMenuItem
private final JMenuItem closeAllMenuItem
exitMenuItem
private final JMenuItem exitMenuItem
helpMenu
private final JMenu helpMenu
addMenu
private final JMenu addMenu
contentsMenuItem
private final JMenuItem contentsMenuItem
aboutMenuItem
private final JMenuItem aboutMenuItem
tabbedPaneTopLeft
private final JTabbedPane tabbedPaneTopLeft
tabbedPaneBottomLeft
private final JTabbedPane tabbedPaneBottomLeft
elevationMenuItem
private final JMenuItem elevationMenuItem
vectorMenuItem
private final JMenuItem vectorMenuItem
activityMenuItem
private final JMenuItem activityMenuItem
organizerMenuItem
private final JMenuItem organizerMenuItem
mapMenuItem
private final JMenuItem mapMenuItem
teamMenuItem
private final JMenuItem teamMenuItem
mountaineerMenuItem
private final JMenuItem mountaineerMenuItem
MainScreen
private MainScreen()
- Create the frame
renderSplashFrame
static void renderSplashFrame(Graphics2D g,
int frame)
main
public static void main(String[] args)
- Launch the application
- Parameters:
args
-
jbInit
private void jbInit()
throws Exception
- Throws:
Exception
myInit
private void myInit()
adjustSplitPanes
private void adjustSplitPanes()
this_componentResized
protected void this_componentResized(ComponentEvent e)
elevationMenuItem_actionPerformed
protected void elevationMenuItem_actionPerformed(ActionEvent e)
vectorMenuItem_actionPerformed
protected void vectorMenuItem_actionPerformed(ActionEvent e)
this_windowOpened
protected void this_windowOpened(WindowEvent e)
tabbedPaneRight_mouseClicked
protected void tabbedPaneRight_mouseClicked(MouseEvent e)
mountaineerMenuItem_actionPerformed
protected void mountaineerMenuItem_actionPerformed(ActionEvent e)
organizerMenuItem_actionPerformed
protected void organizerMenuItem_actionPerformed(ActionEvent e)
teamMenuItem_actionPerformed
protected void teamMenuItem_actionPerformed(ActionEvent e)
activityMenuItem_actionPerformed
protected void activityMenuItem_actionPerformed(ActionEvent e)
mapMenuItem_actionPerformed
protected void mapMenuItem_actionPerformed(ActionEvent e)
saveMenuItem_actionPerformed
protected void saveMenuItem_actionPerformed(ActionEvent e)
saveAllMenuItem_actionPerformed
protected void saveAllMenuItem_actionPerformed(ActionEvent e)
closeMenuItem_actionPerformed
protected void closeMenuItem_actionPerformed(ActionEvent e)
closeAllMenuItem_actionPerformed
protected void closeAllMenuItem_actionPerformed(ActionEvent e)
exitMenuItem_actionPerformed
protected void exitMenuItem_actionPerformed(ActionEvent e)
contentsMenuItem_actionPerformed
protected void contentsMenuItem_actionPerformed(ActionEvent e)
aboutMenuItem_actionPerformed
protected void aboutMenuItem_actionPerformed(ActionEvent e)
openMountaineerView
public void openMountaineerView(MountaineerModel m)
openOrganizerView
public void openOrganizerView(OrganizerModel o)
openTeamView
public void openTeamView(TeamModel t)
openMapView
public void openMapView(MapModel m)
openActivityView
public void openActivityView(ActivityModel a)
openReportView
public void openReportView(ReportModel r)
openSimulationView
public void openSimulationView(SimulationModel s)
closeView
public void closeView(Component c)
renameViewTitle
public void renameViewTitle(Component c,
String newTitle)
getTitleName
public String getTitleName()
getInstance
public static MainScreen getInstance()