|
|||||||||||
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 | +--net.sourceforge.ganttproject.GanttProject
Main frame of the project
Nested Class Summary | |
class |
GanttProject.GanttHTMLFileFilter
The filter for html file |
class |
GanttProject.GanttPNGFileFilter
The filter for png file |
Field Summary | |
boolean |
askForSave
Boolean to know if the file has been modify |
javax.swing.JButton |
bDelete
The differents button of toolbar |
javax.swing.JButton |
bDown
The differents button of toolbar |
javax.swing.JButton |
bInd
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 |
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 |
bUnind
The differents button of toolbar |
javax.swing.JButton |
bUnlink
The differents button of toolbar |
javax.swing.JButton |
bUp
The differents button of toolbar |
javax.swing.JButton |
bZoomFit
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 |
java.util.ArrayList |
lastOpen
Last open files |
javax.swing.JMenu |
mEdit
The differents menus |
javax.swing.JMenu |
mHelp
The differents menus |
javax.swing.JMenu |
mHuman
The differents menus |
javax.swing.JMenuItem |
miAbout
The differetns menuitem |
javax.swing.JMenuItem |
miChineseBig5
The differetns menuitem |
javax.swing.JMenuItem |
miChineseGB
The differetns menuitem |
javax.swing.JMenuItem |
miColor
The differetns menuitem |
javax.swing.JMenuItem |
miCopy
The differetns menuitem |
javax.swing.JMenuItem |
miCut
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 |
miEstonian
The differetns menuitem |
javax.swing.JMenuItem |
miExport
The differetns menuitem |
javax.swing.JMenuItem |
miFrench
The differetns menuitem |
javax.swing.JMenuItem |
miGerman
The differetns menuitem |
javax.swing.JMenuItem |
miGtk
The differetns menuitem |
javax.swing.JMenuItem |
miHungarian
The differetns menuitem |
javax.swing.JMenuItem |
miItalian
The differetns menuitem |
javax.swing.JMenuItem |
miJapanese
The differetns menuitem |
javax.swing.JMenuItem[] |
miLastOpen
|
javax.swing.JMenuItem |
miMacOSX
The differetns menuitem |
javax.swing.JMenuItem |
miMetal
The differetns menuitem |
javax.swing.JMenuItem |
miMotif
The differetns menuitem |
javax.swing.JMenuItem |
miNew
The differetns menuitem |
javax.swing.JMenuItem |
miNewTask
The differetns menuitem |
javax.swing.JMenuItem |
miNorvegian
The differetns menuitem |
javax.swing.JMenuItem |
miOpen
The differetns menuitem |
javax.swing.JMenuItem |
miOpenURL
The differetns menuitem |
javax.swing.JMenuItem |
miPaste
The differetns menuitem |
javax.swing.JMenuItem |
miPolish
The differetns menuitem |
javax.swing.JMenuItem |
miPortugues
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 |
miRussian
The differetns menuitem |
javax.swing.JMenuItem |
miSave
The differetns menuitem |
javax.swing.JMenuItem |
miSaveAs
The differetns menuitem |
javax.swing.JMenuItem |
miSaveAsURL
The differetns menuitem |
javax.swing.JMenuItem |
miTurkish
The differetns menuitem |
javax.swing.JMenuItem |
miUp
The differetns menuitem |
javax.swing.JMenuItem |
miWebPage
The differetns menuitem |
javax.swing.JMenuItem |
miWindows
The differetns menuitem |
javax.swing.JMenu |
mLanguage
The differents menus |
javax.swing.JMenu |
mLastOpen
The differents menus |
javax.swing.JMenu |
mLook
The differents menus |
javax.swing.JMenu |
mProject
The differents menus |
javax.swing.JMenu |
mTask
The differents menus |
java.lang.String |
organization
The name of the organisation |
Document |
projectDocument
The project filename |
java.lang.String |
projectName
The name of the project |
java.lang.String |
styleClass
The class name for the look'n'feel |
java.lang.String |
styleName
|
javax.swing.JTabbedPane |
tabpane
The tabbed pane with the differents parts of the project |
java.lang.String |
version
The current version of ganttproject |
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 filename)
|
|
GanttProject(java.lang.String filename,
boolean isApplet)
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 |
addProjectFileToLastOpen(java.lang.String filename)
|
void |
changeLanguage()
Function to change language of the 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 |
javax.swing.JMenuItem |
createNewItemText(java.lang.String label)
Create an item with a label |
void |
deleteTask()
Delete the currant task |
void |
editSettings()
Function that launch the dialog to edit project properties |
void |
export()
Export the calencar on a png file |
GanttGraphicArea |
getArea()
|
ResourceManager |
getHumanResourceManager()
|
java.lang.String |
getProjectName()
|
GanttResourcePanel |
getResourcePanel()
|
java.lang.String |
getToolTip(java.lang.String msg)
Return the tooltip in html (with yello bgcolor |
static void |
main(java.lang.String[] arg)
The main |
void |
newProject()
Create a new project |
void |
newTask()
Create a new task |
void |
openFile()
Open a local project file with dialog box (JFileChooser) |
void |
openStartupDocument(java.lang.String path)
|
void |
openURL()
Open a remote project file with dialog box (GanttURLChooser) |
void |
openURL(Document lastDocument)
Open a remote project file with dialog box (GanttURLChooser) |
void |
openWebPage()
Open the web page |
void |
openXMLStream(java.io.InputStream ins,
java.lang.String path)
Open a XML stream that represent the file //By CL ! |
void |
printProject()
Print the project |
void |
propertiesTask()
Edit task parameters |
void |
quitApplication()
Quit the application |
boolean |
saveAsProject()
Save the project as (with a dialog file chooser) |
boolean |
saveAsURLProject()
Save the project on a server (with a GanttURLChooser) |
void |
saveProject()
Save the project on a file |
void |
saveProject(Document document)
Save the project to the given document, if possible |
void |
selectColor()
Select the color of the task |
void |
setAskForSave(boolean afs)
|
void |
setMemonic()
Create memonic for keyboard |
void |
setResourcePanelToGraphicArea()
Copy GanttGraphicArea parameters to Resource panel area |
void |
unlinkRelashionship()
Unlink the relahionship of the selected task |
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 mLastOpen
public javax.swing.JMenu mEdit
public javax.swing.JMenu mTask
public javax.swing.JMenu mHuman
public javax.swing.JMenu mLanguage
public javax.swing.JMenu mLook
public javax.swing.JMenu mHelp
public javax.swing.JMenuItem miNew
public javax.swing.JMenuItem miOpen
public javax.swing.JMenuItem miOpenURL
public javax.swing.JMenuItem miSave
public javax.swing.JMenuItem miSaveAs
public javax.swing.JMenuItem miSaveAsURL
public javax.swing.JMenuItem miExport
public javax.swing.JMenuItem miPrint
public javax.swing.JMenuItem miPropProj
public javax.swing.JMenuItem miQuit
public javax.swing.JMenuItem miCut
public javax.swing.JMenuItem miCopy
public javax.swing.JMenuItem miPaste
public javax.swing.JMenuItem miNewTask
public javax.swing.JMenuItem miDeleteTask
public javax.swing.JMenuItem miPropertiesTask
public javax.swing.JMenuItem miUp
public javax.swing.JMenuItem miDown
public javax.swing.JMenuItem miColor
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 miPortugues
public javax.swing.JMenuItem miGerman
public javax.swing.JMenuItem miNorvegian
public javax.swing.JMenuItem miItalian
public javax.swing.JMenuItem miJapanese
public javax.swing.JMenuItem miTurkish
public javax.swing.JMenuItem miChineseGB
public javax.swing.JMenuItem miChineseBig5
public javax.swing.JMenuItem miPolish
public javax.swing.JMenuItem miRussian
public javax.swing.JMenuItem miEstonian
public javax.swing.JMenuItem miHungarian
public javax.swing.JMenuItem miMetal
public javax.swing.JMenuItem miMacOSX
public javax.swing.JMenuItem miGtk
public javax.swing.JMenuItem miWindows
public javax.swing.JMenuItem miMotif
public javax.swing.JMenuItem miWebPage
public javax.swing.JMenuItem miAbout
public javax.swing.JMenuItem[] miLastOpen
public java.util.ArrayList lastOpen
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 bUnlink
public javax.swing.JButton bInd
public javax.swing.JButton bUnind
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 javax.swing.JButton bZoomFit
public Document projectDocument
public javax.swing.JTabbedPane tabpane
public java.lang.String projectName
public java.lang.String decription
public java.lang.String organization
public boolean askForSave
public java.lang.String styleClass
public java.lang.String styleName
Constructor Detail |
public GanttProject(java.lang.String filename, boolean isApplet)
public GanttProject(java.lang.String filename)
Method Detail |
public java.lang.String getProjectName()
public void setMemonic()
public javax.swing.JMenuItem createNewItemText(java.lang.String label)
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 java.lang.String getToolTip(java.lang.String msg)
public void addButtons(javax.swing.JToolBar toolBar)
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public void addProjectFileToLastOpen(java.lang.String filename)
public void newTask()
public void deleteTask()
public void propertiesTask()
public void unlinkRelashionship()
public void selectColor()
public void export()
public void printProject()
public void newProject()
public void setResourcePanelToGraphicArea()
public void openFile() throws java.io.IOException
java.io.IOException
public void openURL()
public void openURL(Document lastDocument)
public void openStartupDocument(java.lang.String path)
public void openXMLStream(java.io.InputStream ins, java.lang.String path)
ins
- public boolean saveAsProject() throws java.io.IOException
java.io.IOException
public boolean saveAsURLProject() throws java.io.IOException
java.io.IOException
public void saveProject() throws java.io.IOException
java.io.IOException
public void saveProject(Document document) throws java.io.IOException
java.io.IOException
public void editSettings()
public void quitApplication()
public void openWebPage() throws java.io.IOException
java.io.IOException
public void setAskForSave(boolean afs)
public GanttResourcePanel getResourcePanel()
public GanttGraphicArea getArea()
public ResourceManager getHumanResourceManager()
public static void main(java.lang.String[] arg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |