|
|||||||||||
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.GanttJPGFileFilter
The filter for png file |
class |
GanttProject.GanttPDFFileFilter
The filter for pdf file |
class |
GanttProject.GanttPNGFileFilter
The filter for png file |
Field Summary | |
boolean |
askForSave
Boolean to know if the file has been modify |
boolean |
automatic
Automatic launch the properties dialog box at creating a new task |
javax.swing.JButton |
bDelete
The differents button of toolbar |
javax.swing.JButton |
bDown
The differents button of toolbar |
javax.swing.JButton |
bExport
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 |
bPreview
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 |
description
A short description of it |
boolean |
dragTime
Could translate to next and prev month directly by draging on the chart |
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 |
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 |
miExport
The differetns menuitem |
javax.swing.JMenuItem |
miManual
The differetns menuitem |
javax.swing.JMenuItem |
miNew
The differetns menuitem |
javax.swing.JMenuItem |
miNewTask
The differetns menuitem |
javax.swing.JMenuItem |
miOpen
The differetns menuitem |
javax.swing.JMenuItem |
miOpenURL
The differetns menuitem |
javax.swing.JMenuItem |
miOptions
The differetns menuitem |
javax.swing.JMenuItem |
miPaste
The differetns menuitem |
javax.swing.JMenuItem |
miPreview
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 |
miQuit
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 |
miTips
The differetns menuitem |
javax.swing.JMenuItem |
miUp
The differetns menuitem |
javax.swing.JMenuItem |
miWebPage
The differetns menuitem |
javax.swing.JMenu |
mMRU
The differents menus |
javax.swing.JMenu |
mProject
The differents menus |
javax.swing.JMenu |
mServer
The differents menus |
javax.swing.JMenu |
mTask
The differents menus |
boolean |
openTips
Show tooltips on startup |
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 |
static java.lang.String |
version
The current version of ganttproject |
java.lang.String |
workingDir
Working directory |
static java.lang.String |
xslDir
Path to the directory with xsl files for HTML export |
static java.lang.String |
xslFo
XSL fo file for PDF export |
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 |
changeLanguage()
Function to change language of the project |
javax.swing.JMenuItem |
changeMenuLabel(javax.swing.JMenuItem menu,
java.lang.String label)
Change the label for menuItem, in fact check in the label contains a mnemonic |
javax.swing.JMenu |
changeMenuLabel(javax.swing.JMenu menu,
java.lang.String label)
Change the label for menu, in fact check in the label contains a mnemonic |
void |
changeStyle(java.lang.String sClass,
java.lang.String sName)
Change the style of the application |
void |
changeWorkingDirectory(java.lang.String newWorkDir)
|
static java.lang.String |
correctLabel(java.lang.String label)
|
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 |
export()
Export the calencar on a png file |
GanttGraphicArea |
getArea()
|
ResourceManager |
getHumanResourceManager()
|
java.lang.String |
getProjectName()
|
GanttResourcePanel |
getResourcePanel()
|
static java.lang.String |
getToolTip(java.lang.String msg)
Return the tooltip in html (with yello bgcolor |
java.lang.String |
getXslDir()
|
java.lang.String |
getXslFo()
|
void |
launchOptionsDialog()
Launch the options dialog |
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(Document document)
|
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 |
previewPrint()
Preview the project before print |
void |
printProject()
Print the project |
void |
propertiesTask()
Edit task parameters |
void |
propertiesTask(javax.swing.tree.DefaultMutableTreeNode node)
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) |
boolean |
saveAsURLProject(Document document)
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 |
setAskForSave(boolean afs)
|
void |
setMemonic()
Create memonic for keyboard |
void |
setResourcePanelToGraphicArea()
Copy GanttGraphicArea parameters to Resource panel area |
void |
unlinkRelationship()
Unlink the relationship 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 static final java.lang.String version
public javax.swing.JMenu mProject
public javax.swing.JMenu mMRU
public javax.swing.JMenu mEdit
public javax.swing.JMenu mTask
public javax.swing.JMenu mHuman
public javax.swing.JMenu mHelp
public javax.swing.JMenu mServer
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 miPreview
public javax.swing.JMenuItem miQuit
public javax.swing.JMenuItem miCut
public javax.swing.JMenuItem miCopy
public javax.swing.JMenuItem miPaste
public javax.swing.JMenuItem miOptions
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 miDelHuman
public javax.swing.JMenuItem miPropHuman
public javax.swing.JMenuItem miWebPage
public javax.swing.JMenuItem miTips
public javax.swing.JMenuItem miAbout
public javax.swing.JMenuItem miManual
public javax.swing.JButton bNew
public javax.swing.JButton bOpen
public javax.swing.JButton bSave
public javax.swing.JButton bSaveAs
public javax.swing.JButton bExport
public javax.swing.JButton bPrint
public javax.swing.JButton bPreview
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 description
public java.lang.String organization
public boolean askForSave
public java.lang.String styleClass
public java.lang.String styleName
public boolean automatic
public boolean openTips
public boolean dragTime
public java.lang.String workingDir
public static java.lang.String xslDir
public static java.lang.String xslFo
Constructor Detail |
public GanttProject(java.lang.String filename, boolean isApplet)
public GanttProject(java.lang.String filename)
Method Detail |
public java.lang.String getProjectName()
public java.lang.String getXslDir()
public java.lang.String getXslFo()
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 void changeStyle(java.lang.String sClass, java.lang.String sName)
public static java.lang.String correctLabel(java.lang.String label)
public javax.swing.JMenu changeMenuLabel(javax.swing.JMenu menu, java.lang.String label)
public javax.swing.JMenuItem changeMenuLabel(javax.swing.JMenuItem menu, java.lang.String label)
public static 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 launchOptionsDialog()
public void newTask()
public void deleteTask()
public void propertiesTask()
public void propertiesTask(javax.swing.tree.DefaultMutableTreeNode node)
public void unlinkRelationship()
public void export()
public void printProject()
public void previewPrint()
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 openStartupDocument(Document document)
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 boolean saveAsURLProject(Document document) 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 changeWorkingDirectory(java.lang.String newWorkDir)
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 |