|
|||||||||
| 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
cct.dialogs.JEditorFrame
public class JEditorFrame
Title: Computational Chemistry Tookit
Description:
This is the main interface for the Jamberoo (JMolEditor) By default, is redirected to the internal window. To disable this feature set cct.dialogs.JEditorFrame@redirectStderr = false in the cct.properties fileCopyright: Copyright (c) 2005-2009 Dr. Vladislav Vassiliev
Company: ANU
| Nested Class Summary | |
|---|---|
(package private) class |
JEditorFrame.AtomColorScheme_actionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_deleteMoleculeButton_actionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jButton3_actionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuAnalyze_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuDB_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuFileEdit_ActionAdapter
Title: Picking |
(package private) class |
JEditorFrame.JEditorFrame_jMenuFileExit_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuFileOpenAs_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuFileSaveAs_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuHelpAbout_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_jMenuView_ActionAdapter
|
(package private) class |
JEditorFrame.JEditorFrame_openFileButton_actionAdapter
|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
javax.swing.JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
java.awt.Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
(package private) J3DTabbedWorld |
j3dTabbedWorld
|
(package private) static MemoryMonitor |
memorymonitor
|
protected javax.swing.JMenuItem |
trajectoryAnalysis
|
protected TrajectoryAnalysisDialog |
trajectoryAnalysisDialog
|
| 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 cct.modelling.AtomProperties |
|---|
GEOMETRY_LINEAR, GEOMETRY_TETRAHEDRAL, GEOMETRY_TRIGONAL |
| 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 | |
|---|---|
JEditorFrame(java.lang.String title)
|
|
JEditorFrame(java.lang.String[] args)
|
|
JEditorFrame(java.lang.String title,
java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent)
|
java.lang.String |
addMenuItem(java.lang.String menuName,
javax.swing.JMenuItem menuItem)
|
(package private) void |
buildAnalyzeMenu()
|
(package private) void |
buildEditMenu()
|
void |
changeAtomColorScheme(java.awt.event.ActionEvent e)
|
void |
changeLookAndFeel(java.awt.event.ActionEvent e)
|
void |
childFinished(java.lang.Object child)
To inform parent that its child process finished its execution |
(package private) java.lang.String |
chooseFileDialog(java.lang.String fileType,
java.lang.String formatDescr,
int dialogType)
|
void |
deleteMoleculeButton_actionPerformed(java.awt.event.ActionEvent e)
|
void |
fetchStructure(java.lang.String host,
java.lang.String entry_directory,
java.lang.String code)
|
java.awt.Component |
getComponent()
Gets parent component (if any) |
Java3dUniverse |
getJ3DUniverse()
|
javax.swing.JToolBar |
getJToolBar()
|
javax.swing.JMenuItem |
getMenuItem(java.lang.String menuName,
java.lang.String menuItemName)
Gets menu item with ActionCommand name "menuItemName" from the menu with ActionCommand name "menuName" |
MoleculeInterface |
getMolecule()
|
java.awt.Frame |
getParentFrame()
|
float[][] |
getVirtualWorldCoordinates(MoleculeInterface molec)
Transforms coordinates of atoms of the arbitrary molecule into current virtual world space |
(package private) boolean |
guessAndOpenFile(Java3dUniverse j3d)
|
boolean |
hasMenuItem(java.lang.String menuName,
java.lang.String menuItemName)
Check whether menu with ActionCommand "menuName" has menu item with ActionCommand "menuItemName" |
void |
interceptStderr(boolean enable)
Enables/disables redirection of stderr. |
boolean |
isMoleculeLoaded()
Checks whether molecule loaded or not |
void |
jButton3_actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
jMenuAnalyze_actionPerformed(java.awt.event.ActionEvent actionEvent)
|
(package private) void |
jMenuDB_actionPerformed(java.awt.event.ActionEvent actionEvent)
|
(package private) void |
jMenuFileEdit_actionPerformed(java.awt.event.ActionEvent actionEvent)
|
(package private) void |
jMenuFileExit_actionPerformed(java.awt.event.ActionEvent actionEvent)
File | Exit action performed. |
(package private) void |
jMenuFileOpenAs_actionPerformed(java.awt.event.ActionEvent actionEvent)
File | Exit action performed. |
(package private) void |
jMenuFileSaveAs_actionPerformed(java.awt.event.ActionEvent actionEvent)
|
(package private) void |
jMenuHelpAbout_actionPerformed(java.awt.event.ActionEvent actionEvent)
Help | About action performed. |
(package private) void |
jMenuView_actionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
loadFromSFTP(java.awt.event.ActionEvent e)
|
(package private) void |
openFile(Java3dUniverse j3d,
CHEMISTRY_FILE_FORMAT fileType,
java.lang.String fileName)
|
(package private) void |
openFile(Java3dUniverse j3d,
java.lang.String fileType)
|
void |
openFileButton_actionPerformed(java.awt.event.ActionEvent e)
Program tries to guess and open all supported molecular file formats |
void |
openMoleculeFile(java.lang.String title,
Java3dUniverse j3d)
|
(package private) void |
processArguments(java.lang.String[] args)
|
javax.swing.JMenuItem |
removeMenuItem(java.lang.String menuName,
java.lang.String menuItemName)
|
void |
saveImageAs(java.awt.event.ActionEvent e)
|
void |
setDefaultHelper()
|
void |
setFileBrowser(java.lang.String host,
java.lang.String username,
FileBrowserInterface file_browser)
|
void |
setHelper(HelperInterface h)
|
void |
setKnownHosts(java.lang.String[] hosts)
|
void |
setMolecule(Molecule m)
|
void |
setMolecule(MoleculeInterface m)
|
void |
submitGaussianJob(java.awt.event.ActionEvent e)
|
void |
submitMolecule(java.awt.event.ActionEvent e)
|
| 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 |
| 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 |
|---|
J3DTabbedWorld j3dTabbedWorld
protected javax.swing.JMenuItem trajectoryAnalysis
protected TrajectoryAnalysisDialog trajectoryAnalysisDialog
static MemoryMonitor memorymonitor
| Constructor Detail |
|---|
public JEditorFrame(java.lang.String title,
java.lang.String[] args)
public JEditorFrame(java.lang.String[] args)
public JEditorFrame(java.lang.String title)
| Method Detail |
|---|
void processArguments(java.lang.String[] args)
public void setDefaultHelper()
public void setHelper(HelperInterface h)
void jMenuFileOpenAs_actionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent - ActionEvent
void openFile(Java3dUniverse j3d,
CHEMISTRY_FILE_FORMAT fileType,
java.lang.String fileName)
void openFile(Java3dUniverse j3d,
java.lang.String fileType)
void jMenuFileSaveAs_actionPerformed(java.awt.event.ActionEvent actionEvent)
public boolean isMoleculeLoaded()
void jMenuFileEdit_actionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent - ActionEventvoid jMenuAnalyze_actionPerformed(java.awt.event.ActionEvent actionEvent)
void jMenuView_actionPerformed(java.awt.event.ActionEvent actionEvent)
void jMenuDB_actionPerformed(java.awt.event.ActionEvent actionEvent)
void buildEditMenu()
void buildAnalyzeMenu()
java.lang.String chooseFileDialog(java.lang.String fileType,
java.lang.String formatDescr,
int dialogType)
fileType - StringformatDescr - String
void jMenuFileExit_actionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent - ActionEventvoid jMenuHelpAbout_actionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent - ActionEventpublic void deleteMoleculeButton_actionPerformed(java.awt.event.ActionEvent e)
public void changeAtomColorScheme(java.awt.event.ActionEvent e)
public void saveImageAs(java.awt.event.ActionEvent e)
public void submitMolecule(java.awt.event.ActionEvent e)
public void submitGaussianJob(java.awt.event.ActionEvent e)
public void changeLookAndFeel(java.awt.event.ActionEvent e)
public void openFileButton_actionPerformed(java.awt.event.ActionEvent e)
e - ActionEventboolean guessAndOpenFile(Java3dUniverse j3d)
public float[][] getVirtualWorldCoordinates(MoleculeInterface molec)
molec - MoleculeInterface - Molecule
public java.lang.String addMenuItem(java.lang.String menuName,
javax.swing.JMenuItem menuItem)
public javax.swing.JToolBar getJToolBar()
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed in interface java.awt.event.ActionListener
public void fetchStructure(java.lang.String host,
java.lang.String entry_directory,
java.lang.String code)
fetchStructure in interface PDBBankFetcherInterface
public void openMoleculeFile(java.lang.String title,
Java3dUniverse j3d)
public boolean hasMenuItem(java.lang.String menuName,
java.lang.String menuItemName)
throws java.lang.Exception
menuName - String - menu ActionCommand namemenuItemName - String menu item ActionCommand name
java.lang.Exception - if there is no such menu in menubar
public javax.swing.JMenuItem getMenuItem(java.lang.String menuName,
java.lang.String menuItemName)
throws java.lang.Exception
menuName - StringmenuItemName - String
java.lang.Exception
public javax.swing.JMenuItem removeMenuItem(java.lang.String menuName,
java.lang.String menuItemName)
throws java.lang.Exception
java.lang.Exceptionpublic MoleculeInterface getMolecule()
public Java3dUniverse getJ3DUniverse()
public void setMolecule(Molecule m)
public void setMolecule(MoleculeInterface m)
public void jButton3_actionPerformed(java.awt.event.ActionEvent e)
public void childFinished(java.lang.Object child)
ParentInterface
childFinished in interface ParentInterfacechild - Object - Some ID of a child given by parentpublic void interceptStderr(boolean enable)
enable - boolean - if true, redirects sdterr to the errors log panel and adds
"Errors Log" menu item to the File menu. if false, remove menu item from the File menu
and directs sdterr to the standard streampublic java.awt.Component getComponent()
ParentInterface
getComponent in interface ParentInterfacegetComponent in interface ShadowClientInterfacepublic java.awt.Frame getParentFrame()
getParentFrame in interface ParentInterfacepublic void setKnownHosts(java.lang.String[] hosts)
setKnownHosts in interface ShadowClientInterface
public void setFileBrowser(java.lang.String host,
java.lang.String username,
FileBrowserInterface file_browser)
setFileBrowser in interface ShadowClientInterfacepublic void loadFromSFTP(java.awt.event.ActionEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||