|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ffe.panels.MainPanel
The MainPanel class is the main container for holding Force Field Explorer components.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
static ARCFileFilter |
arcFileFilter
|
static DYNFileFilter |
dynFileFilter
|
FullScreenWindow |
fullScreenWindow
|
Graphics3D |
graphics
Java3D Canvas |
static int |
GRAPHICS
|
static java.awt.GraphicsDevice |
graphicsDevice
Currently used for testing full screen graphics |
static InducedFileFilter |
indFileFilter
|
static INTFileFilter |
intFileFilter
|
static KeyFileFilter |
keyfilefilter
KeyFileFilter for reuse |
KeywordPanel |
keyPanel
Reference to the Keyword Editor |
static int |
KEYWORDS
|
static int |
LOGS
|
static int |
MODELING
|
static PDBFileFilter |
pdbFileFilter
|
static PRMFileFilter |
prmFileFilter
|
static XYZFileFilter |
xyzFileFilter
XYZFileFilter for reuse |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
MainPanel(javax.swing.JFrame f)
MainPanel Constructor |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
Handle most File, Edit, View and Help Menu Commands This should probably be partioned between a few different handlers |
void |
closeActive()
Detach the active FSystem's BranchGroup from the Scene and clear that FSystem's data |
void |
closeAll()
Close all open systems |
void |
connectToTINKER(FSystem m,
java.lang.Thread t)
|
boolean |
createKeyFile(FSystem system)
|
bsh.Interpreter |
getBeanShell()
|
static javax.swing.JColorChooser |
getColorChooser()
|
static java.io.File |
getCWD()
|
static javax.swing.JFileChooser |
getFileChooser()
|
Graphics3D |
getGraphics3D()
|
JobPanel |
getJobPanel()
|
KeywordPanel |
getKeywordPanel()
|
LogPanel |
getLogPanel()
|
FMenuBar |
getMenu()
Get the Menu Bar |
Root |
getRoot()
Returns the molecular root node |
javax.swing.JLabel |
getStatusBar()
|
Trajectory |
getTrajectory()
Get the Trajectory wrapper for the active system |
Tree |
getTree()
|
void |
initialize()
|
void |
loadPrefs()
Load preferences from the user node |
void |
merge()
Merge two or more selected FSystem Nodes into one FSystem node. |
void |
open()
Trys to open a file picked from a JFileChooser A successful read is followed by attachment of the FSystem to the root node and the update of the various displays |
void |
open(java.io.File f)
Opens the supplied File |
void |
open(java.lang.String name)
|
void |
openFromPDB()
Opens the supplied File |
void |
openInduced()
|
boolean |
openKey(FSystem newSystem,
boolean createKey)
Attempt to open a TINKER *.key file |
void |
openOn(java.io.File f,
FSystem oldSystem)
|
void |
openRestart()
|
void |
release()
Close the connection to a running simulation |
void |
resizePanes(int move)
Set the split panes to their default proportions |
void |
save(java.io.File file)
Save the currently selected System to disk |
void |
savePrefs()
Save preferences to the user node |
void |
setCWD(java.io.File f)
|
void |
setPanel(int panel)
|
void |
stateChanged(javax.swing.event.ChangeEvent evt)
|
void |
update(boolean updateRender)
Refresh various Panels based on the active System |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int GRAPHICS
public static final int KEYWORDS
public static final int MODELING
public static final int LOGS
public static java.awt.GraphicsDevice graphicsDevice
public static KeyFileFilter keyfilefilter
public KeywordPanel keyPanel
public static XYZFileFilter xyzFileFilter
public static ARCFileFilter arcFileFilter
public static INTFileFilter intFileFilter
public static DYNFileFilter dynFileFilter
public static InducedFileFilter indFileFilter
public static PRMFileFilter prmFileFilter
public static PDBFileFilter pdbFileFilter
public Graphics3D graphics
public FullScreenWindow fullScreenWindow
| Constructor Detail |
public MainPanel(javax.swing.JFrame f)
f - Application Frame| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged in interface javax.swing.event.ChangeListenerpublic void closeActive()
public void closeAll()
public void openRestart()
public void connectToTINKER(FSystem m,
java.lang.Thread t)
public FMenuBar getMenu()
public Tree getTree()
public Root getRoot()
public javax.swing.JLabel getStatusBar()
public bsh.Interpreter getBeanShell()
public Graphics3D getGraphics3D()
public KeywordPanel getKeywordPanel()
public JobPanel getJobPanel()
public LogPanel getLogPanel()
public static java.io.File getCWD()
public void setCWD(java.io.File f)
public Trajectory getTrajectory()
public void openInduced()
public void initialize()
public boolean openKey(FSystem newSystem,
boolean createKey)
public boolean createKeyFile(FSystem system)
public void loadPrefs()
public void merge()
public void open()
public void openOn(java.io.File f,
FSystem oldSystem)
public void open(java.io.File f)
f - File to openpublic void open(java.lang.String name)
public void openFromPDB()
public void release()
public void resizePanes(int move)
public void save(java.io.File file)
file - File to save the system topublic void savePrefs()
public void setPanel(int panel)
public void update(boolean updateRender)
updateRender - If true, the default rendering is attemptedpublic static javax.swing.JColorChooser getColorChooser()
public static javax.swing.JFileChooser getFileChooser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||