|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--javax.swing.JFrame | +--GanttProject
Main frame of the project
Field Summary | |
javax.swing.JButton |
bDelete
The differents button of toolbar |
javax.swing.JButton |
bDown
The differents button of toolbar |
javax.swing.JButton |
bNew
The differents button of toolbar |
javax.swing.JButton |
bNewTask
The differents button of toolbar |
javax.swing.JButton |
bNext
The differents button of toolbar |
javax.swing.JButton |
bNotes
The differents button of toolbar |
javax.swing.JButton |
bOpen
The differents button of toolbar |
javax.swing.JButton |
bPrev
The differents button of toolbar |
javax.swing.JButton |
bPrint
The differents button of toolbar |
javax.swing.JButton |
bProperties
The differents button of toolbar |
javax.swing.JButton |
bQuit
The differents button of toolbar |
javax.swing.JButton |
bSave
The differents button of toolbar |
javax.swing.JButton |
bSaveAs
The differents button of toolbar |
javax.swing.JButton |
bUp
The differents button of toolbar |
javax.swing.JButton |
bZoomIn
The differents button of toolbar |
javax.swing.JButton |
bZoomOut
The differents button of toolbar |
java.lang.String |
decription
A short description of it |
javax.swing.JMenu |
mHelp
The differetns menus |
javax.swing.JMenu |
mHuman
The differetns menus |
javax.swing.JMenuItem |
miAbout
The differetns menuitem |
javax.swing.JMenuItem |
miDeleteTask
The differetns menuitem |
javax.swing.JMenuItem |
miDelHuman
The differetns menuitem |
javax.swing.JMenuItem |
miDown
The differetns menuitem |
javax.swing.JMenuItem |
miEnglish
The differetns menuitem |
javax.swing.JMenuItem |
miEspanol
The differetns menuitem |
javax.swing.JMenuItem |
miFrench
The differetns menuitem |
javax.swing.JMenuItem |
miNew
The differetns menuitem |
javax.swing.JMenuItem |
miNewHuman
The differetns menuitem |
javax.swing.JMenuItem |
miNewTask
The differetns menuitem |
javax.swing.JMenuItem |
miNotesTask
The differetns menuitem |
javax.swing.JMenuItem |
miOpen
The differetns menuitem |
javax.swing.JMenuItem |
miPrint
The differetns menuitem |
javax.swing.JMenuItem |
miPropertiesTask
The differetns menuitem |
javax.swing.JMenuItem |
miPropHuman
The differetns menuitem |
javax.swing.JMenuItem |
miPropProj
The differetns menuitem |
javax.swing.JMenuItem |
miQuit
The differetns menuitem |
javax.swing.JMenuItem |
miSave
The differetns menuitem |
javax.swing.JMenuItem |
miSaveAs
The differetns menuitem |
javax.swing.JMenuItem |
miUp
The differetns menuitem |
javax.swing.JMenuItem |
miWebPage
The differetns menuitem |
javax.swing.JMenu |
mLanguage
The differetns menus |
javax.swing.JMenu |
mProject
The differetns menus |
javax.swing.JMenu |
mTask
The differetns menus |
java.lang.String |
organization
The name of the organisation |
java.lang.String |
projectfile
The project filename |
java.lang.String |
projectName
The name of the project |
java.lang.String |
version
|
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 | |
GanttProject(java.lang.String[] arg)
Constructor |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
A menu has been activate |
void |
addButtons(javax.swing.JToolBar toolBar)
Create the button on toolbar |
void |
changeLanguage()
Function to change language of the project |
void |
changeLanguageOfMenu()
Set the menus language |
void |
createDefaultTree(GanttTree treePanel)
Create a default project |
javax.swing.JMenuItem |
createNewItem(java.lang.String icon)
Create an item with an icon |
javax.swing.JMenuItem |
createNewItem(java.lang.String label,
java.lang.String icon)
Create an item with a label and an icon |
void |
deleteTask()
Delete the currant task |
void |
editSettings()
Function that launch the dialog to edit project properties |
static void |
main(java.lang.String[] arg)
The main |
void |
newProject()
Create a new project |
void |
newTask()
Create a new task |
void |
notesTask()
Edit the notes of the task. |
void |
openProject()
Open a project with dialog box |
void |
openWebPage()
Open the web page |
void |
propertiesTask()
Edit task parameters |
void |
quitApplication()
Quit the application |
void |
reallyOpen(java.io.File file)
Function to open a project from a file. |
boolean |
saveAsProject()
Save the project as (with a dialog file chooser) |
void |
saveProject()
Save the project on a file |
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, 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, setIconImage, 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, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, 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, 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, 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, isOpaque, 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, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, 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 |
public final java.lang.String version
public javax.swing.JMenu mProject
public javax.swing.JMenu mTask
public javax.swing.JMenu mHuman
public javax.swing.JMenu mLanguage
public javax.swing.JMenu mHelp
public javax.swing.JMenuItem miNew
public javax.swing.JMenuItem miOpen
public javax.swing.JMenuItem miSave
public javax.swing.JMenuItem miSaveAs
public javax.swing.JMenuItem miPrint
public javax.swing.JMenuItem miPropProj
public javax.swing.JMenuItem miQuit
public javax.swing.JMenuItem miNewTask
public javax.swing.JMenuItem miDeleteTask
public javax.swing.JMenuItem miPropertiesTask
public javax.swing.JMenuItem miNotesTask
public javax.swing.JMenuItem miUp
public javax.swing.JMenuItem miDown
public javax.swing.JMenuItem miNewHuman
public javax.swing.JMenuItem miDelHuman
public javax.swing.JMenuItem miPropHuman
public javax.swing.JMenuItem miFrench
public javax.swing.JMenuItem miEnglish
public javax.swing.JMenuItem miEspanol
public javax.swing.JMenuItem miWebPage
public javax.swing.JMenuItem miAbout
public javax.swing.JButton bNew
public javax.swing.JButton bOpen
public javax.swing.JButton bSave
public javax.swing.JButton bSaveAs
public javax.swing.JButton bPrint
public javax.swing.JButton bQuit
public javax.swing.JButton bNewTask
public javax.swing.JButton bDelete
public javax.swing.JButton bProperties
public javax.swing.JButton bNotes
public javax.swing.JButton bUp
public javax.swing.JButton bDown
public javax.swing.JButton bPrev
public javax.swing.JButton bNext
public javax.swing.JButton bZoomIn
public javax.swing.JButton bZoomOut
public java.lang.String projectfile
public java.lang.String projectName
public java.lang.String decription
public java.lang.String organization
Constructor Detail |
public GanttProject(java.lang.String[] arg)
Method Detail |
public javax.swing.JMenuItem createNewItem(java.lang.String icon)
public javax.swing.JMenuItem createNewItem(java.lang.String label, java.lang.String icon)
public void changeLanguage()
public void changeLanguageOfMenu()
public void addButtons(javax.swing.JToolBar toolBar)
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public void createDefaultTree(GanttTree treePanel)
public void newTask()
public void deleteTask()
public void propertiesTask()
public void notesTask()
public void newProject()
public void openProject() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void reallyOpen(java.io.File file) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public boolean saveAsProject() throws java.io.IOException
java.io.IOException
public void saveProject() throws java.io.IOException
java.io.IOException
public void editSettings()
public void quitApplication()
public void openWebPage() throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |