|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
p3j.gui.P3J
public final class P3J
Main user interface to P3J (singleton). Created on July 16, 2006
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
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.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 |
Method Summary | |
---|---|
protected void |
copyGenerations()
Opens dialog to copy generations. |
protected void |
editExecutionPreferences()
Edits the execution preferences. |
protected void |
editPreferences()
Edits the preferences. |
protected void |
editSets()
Displays a dialog to edit sets. |
protected void |
editSetTypes()
Displays a dialog to edit Settypes. |
P3JConfigFile |
getConfigFile()
Get the configuration file. |
static ProjectionModel |
getCurrentProjection()
Retrieves current PPP model. |
static P3J |
getInstance()
Retrieves user interface singleton. |
protected void |
inputMatrixQuickly()
Input a matrix quickly. |
static void |
main(String[] argv)
Main function. |
protected void |
newProjection()
Create a new scenario in database. |
void |
projectionDeleted(ProjectionModel deletedModel)
Has to be called to refresh GUI after a ProjectionModel has been
deleted. |
void |
quitApplication()
Quit application. |
void |
refreshNavigationTree()
Refreshes the navigation tree and selects the root node in the currently selected tab, so that all relevant GUI elements are refreshed. |
void |
setCurrentProjection(ProjectionModel newProjModel)
Switches to a new projection model for editing. |
protected void |
startExperiment()
Executed to run a calculation. |
void |
switchNavigationTreeTab(NavigationTreeTab targetTab)
Switch the navigation tree tab. |
Methods inherited from class java.awt.Frame |
---|
addNotify, 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.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Method Detail |
---|
protected void editPreferences()
protected void editExecutionPreferences()
protected void editSets()
protected void editSetTypes()
protected void copyGenerations()
protected void newProjection()
public static P3J getInstance()
public static ProjectionModel getCurrentProjection()
public void quitApplication()
public void setCurrentProjection(ProjectionModel newProjModel)
newProjModel
- the new projection model to be editedprotected void inputMatrixQuickly()
protected void startExperiment()
public static void main(String[] argv)
argv
- command line argumentspublic void projectionDeleted(ProjectionModel deletedModel)
ProjectionModel
has been
deleted.
deletedModel
- the model that has been deleted from the databasepublic void switchNavigationTreeTab(NavigationTreeTab targetTab)
targetTab
- the desired tab of the navigation treepublic P3JConfigFile getConfigFile()
public void refreshNavigationTree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |