|
||||||||||
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
info.bioinfweb.treegraph.gui.mainframe.MainFrame
The main frame of TreeGraph 2.
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 | |
---|---|
private ActionManagement |
actionManagement
|
private info.webinsel.util.swing.ExtendedDesktopPane |
desktopPane
|
private JMenu |
editMenu
|
private JMenu |
fileMenu
|
private static MainFrame |
firstInstance
|
private JMenu |
formatMenu
|
private JMenu |
helpMenu
|
private JPanel |
jContentPane
|
private JMenuBar |
mainMenu
|
private JMenu |
newMenu
|
private JMenu |
nodeBranchDataMenu
|
private JMenu |
redoMenu
|
private JMenu |
selectMenu
|
private static long |
serialVersionUID
|
private JPanel |
toolBarPanel
|
private JMenu |
undoMenu
|
private JMenu |
viewMenu
|
private static int |
WINDOW_MENU_ITEMS_COUNT
|
private WindowListener |
windowListener
|
private JMenu |
windowMenu
|
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 |
Constructor Summary | |
---|---|
private |
MainFrame()
This is the default constructor |
Method Summary | |
---|---|
TreeInternalFrame |
addInternalFrame(Document document)
|
void |
addInternalFrame(JInternalFrame iFrame)
|
void |
cascadeInternalFrames()
|
void |
close()
Asks the user whether to save all opened documents and closes the application if the user did not cancel the process. |
ActionManagement |
getActionManagement()
|
TreeInternalFrame |
getActiveTreeFrame()
Returns the currently avctive Frame where a tree is displayed. |
private info.webinsel.util.swing.ExtendedDesktopPane |
getDesktopPane()
This method initializes desktopPane |
private JMenu |
getEditMenu()
This method initializes editMenu |
private JMenu |
getFileMenu()
This method initializes fileMenu |
private JMenu |
getFormatMenu()
This method initializes formatMenu |
private JMenu |
getHelpMenu()
This method initializes helpMenu |
static MainFrame |
getInstance()
|
TreeInternalFrame |
getInternalFrameByFile(File file)
|
private JPanel |
getJContentPane()
This method initializes jContentPane |
private JMenuBar |
getMainMenu()
This method initializes mainMenu |
private JMenu |
getNewMenu()
This method initializes newMenu |
private JMenu |
getNodeBranchDataMenu()
This method initializes nodeBranchDataMenu |
JMenu |
getRedoMenu()
This method initializes redoMenu |
private JMenu |
getSelectMenu()
This method initializes selectMenu |
private JPanel |
getToolBarPanel()
This method initializes toolBarPanel |
JMenu |
getUndoMenu()
This method initializes undoMenu |
private JMenu |
getViewMenu()
This method initializes viewMenu |
private WindowListener |
getWindowListener()
|
private JMenu |
getWindowMenu()
This method initializes windowMenu |
private void |
initialize()
This method initializes this |
private void |
loadIcons()
|
private void |
openInitialFile()
|
void |
run()
|
JInternalFrame |
selectFrame(boolean forward)
|
void |
tileInternalFramesHorizontal()
|
void |
tileInternalFramesVertical()
|
void |
updateMenues()
|
private void |
updateWindowMenu()
|
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 |
Field Detail |
---|
private static final long serialVersionUID
private static final int WINDOW_MENU_ITEMS_COUNT
private static MainFrame firstInstance
private ActionManagement actionManagement
private WindowListener windowListener
private JMenuBar mainMenu
private JMenu fileMenu
private JMenu editMenu
private JMenu viewMenu
private JMenu helpMenu
private JPanel jContentPane
private info.webinsel.util.swing.ExtendedDesktopPane desktopPane
private JMenu windowMenu
private JMenu formatMenu
private JMenu selectMenu
private JPanel toolBarPanel
private JMenu undoMenu
private JMenu redoMenu
private JMenu newMenu
private JMenu nodeBranchDataMenu
Constructor Detail |
---|
private MainFrame()
Method Detail |
---|
public static MainFrame getInstance()
private void openInitialFile()
public void run()
public void close()
public void addInternalFrame(JInternalFrame iFrame)
public TreeInternalFrame addInternalFrame(Document document)
public TreeInternalFrame getActiveTreeFrame()
TreeInternalFrame
.public JInternalFrame selectFrame(boolean forward)
public TreeInternalFrame getInternalFrameByFile(File file)
public void tileInternalFramesVertical()
public void tileInternalFramesHorizontal()
public void cascadeInternalFrames()
public ActionManagement getActionManagement()
private void updateWindowMenu()
public void updateMenues()
private void initialize()
private void loadIcons()
private WindowListener getWindowListener()
private JMenuBar getMainMenu()
private JMenu getFileMenu()
private JMenu getEditMenu()
private JMenu getViewMenu()
private JMenu getHelpMenu()
private JPanel getJContentPane()
private info.webinsel.util.swing.ExtendedDesktopPane getDesktopPane()
private JMenu getWindowMenu()
private JMenu getFormatMenu()
private JMenu getSelectMenu()
private JPanel getToolBarPanel()
public JMenu getUndoMenu()
public JMenu getRedoMenu()
private JMenu getNewMenu()
private JMenu getNodeBranchDataMenu()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |