public class IlvGanttChart extends IlvHierarchyChart
The Gantt chart supports alternate locales by utilizing resource files. The resource files are documented here .
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyHORIZONTAL, ROW_VERTICAL_SCROLL, SCROLL_TIME_LEFT_KEYSTROKE, SCROLL_TIME_RIGHT_KEYSTROKE, SCROLL_VERTICAL_DOWN_KEYSTROKE, SCROLL_VERTICAL_UP_KEYSTROKE, SMOOTH_VERTICAL_SCROLL, TIME_CONVERTER_PROPERTY, VERTICAL, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, ZOOM_IN_KEYSTROKE, ZOOM_OUT_KEYSTROKElistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDEFAULT_MINIMUM_DURATIONAPPLIED_RULE_MASK, BAD_CLASS_MASK, BAD_PROP_MASK, BAD_PROP_WITH_STACK_MASK, CREATED_MASK, DECL_MASK, DECL_VALUE_MASK, FAILED_CONVERSIONS_MASK, TIME_REPORT_MASK, WARNING_PROP_MASKABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
IlvGanttChart()
Creates a new
IlvGanttChart. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvJTableColumn[] |
createDefaultTableColumns()
Creates the default table columns for the chart.
|
IlvActivity[] |
getSelectedActivities()
Retrieves the activities that are selected in the Gantt chart.
|
void |
select(IlvActivity activity,
boolean selected)
Selects or deselects an activity.
|
addChartDividerListener, addGanttModelListener, addHeaderListener, addSelectionListener, addTimeScrollListener, addVerticalExpansionListener, addVerticalScrollListener, baseTextDirectionChanged, collapseRow, componentOrientationChanged, computeVerticalScrollPosition, deSelectAllRows, expandAllRows, expandAllRows, expandRow, getActionForGanttPanelKeyStroke, getActionForTablePanelKeyStroke, getActivityFactory, getActivityRendererFactory, getBaseTextDirection, getComponentManager, getConditionForGanttPanelKeyStroke, getConditionForTablePanelKeyStroke, getConstraintFactory, getConstraintGraphicFactory, getDisplayedRowAtPosition, getDisplayedRowIndexAtPosition, getDividerBorder, getDividerLocation, getDividerSize, getFirstVisibleRow, getGanttModel, getGanttSheet, getGanttSheetBackground, getHeaderHeight, getInsideBorder, getMaxVerticalPosition, getMaxVisibleTime, getMinimumGanttSheetWidth, getMinimumTableWidth, getMinVisibleDuration, getMinVisibleTime, getMouseWheelPreferredOrientation, getProject, getRegisteredGanttPanelKeyStrokes, getRegisteredTablePanelKeyStrokes, getReservationFactory, getResolvedBaseTextDirection, getResourceFactory, getRootRow, getRowHeight, getRowHeight, getRowType, getScrollTimeLeftAction, getScrollTimeRightAction, getScrollVerticalDownAction, getScrollVerticalUpAction, getSelectedConstraints, getSelectedGraphics, getSelectedRows, getStyleSheet, getStyleSheetDebugMask, getStyleSheets, getStyleSheets, getStylingManager, getTable, getTableBackground, getTableFont, getTableForeground, getTableGridColor, getTableHeaderBackground, getTableHeaderFont, getTableHeaderForeground, getTimeConverter, getTimeScale, getTimeScaleBackground, getTimeScaleFont, getTimeScaleForeground, getTimeScrollBar, getULocale, getVerticalExtent, getVerticalPosition, getVerticalScrollBarPolicy, getVerticalScrollMode, getVisibleDuration, getVisibleInterval, getVisibleIntervalAnimationSteps, getVisibleRow, getVisibleRowAtPosition, getVisibleRowBounds, getVisibleRowBounds, getVisibleRowCount, getVisibleRowIndex, getVisibleRowIndexAtPosition, getVisibleTime, getZoomInAction, getZoomOutAction, isConstantZoomFactorOnWidthChange, isConstraintLayerVisible, isDisplayingConstraints, isDividerOneTouchExpandable, isDividerOpaqueMove, isFixedRowHeight, isGanttSheetToolTipsEnabled, isGanttSheetVisible, isGraphicSelected, isHorizontalScrollBarVisible, isMouseWheelEnabled, isMultipleRowActivityGraphicsEnabled, isRootRowVisible, isRowExpanded, isRowSelected, isRowVisible, isSelectionAdjusting, isTableVisible, makeRowDisplayed, makeRowVisible, registerFunction, registerGanttPanelKeyboardAction, registerTablePanelKeyboardAction, removeChartDividerListener, removeGanttModelListener, removeHeaderListener, removeSelectionListener, removeTimeScrollListener, removeVerticalExpansionListener, removeVerticalScrollListener, select, selectedGraphicsIterator, selectedRowsIterator, selectRow, selectRow, setActivityFactory, setActivityRendererFactory, setBaseTextDirection, setComponentOrientation, setConstantZoomFactorOnWidthChange, setConstraintFactory, setConstraintGraphicFactory, setConstraintLayerVisible, setDisplayingConstraints, setDividerBorder, setDividerLocation, setDividerOneTouchExpandable, setDividerOpaqueMove, setDividerSize, setGanttModel, setGanttSheetBackground, setGanttSheetToolTipsEnabled, setGanttSheetVisible, setHorizontalScrollBarVisible, setInsideBorder, setLocale, setMaxVerticalPosition, setMaxVisibleTime, setMinimumGanttSheetWidth, setMinimumTableWidth, setMinVisibleDuration, setMinVisibleTime, setMouseWheelEnabled, setMouseWheelPreferredOrientation, setMultipleRowActivityGraphicsEnabled, setProject, setReservationFactory, setResourceFactory, setRootRowVisible, setRowHeight, setRowHeight, setSelectionAdjusting, setStyleSheet, setStyleSheetDebugMask, setStyleSheets, setStyleSheets, setTableBackground, setTableFont, setTableForeground, setTableGridColor, setTableHeaderBackground, setTableHeaderFont, setTableHeaderForeground, setTableVisible, setTimeConverter, setTimeScale, setTimeScaleBackground, setTimeScaleFont, setTimeScaleForeground, setULocale, setVerticalExtent, setVerticalPosition, setVerticalScrollBarPolicy, setVerticalScrollMode, setVisibleDuration, setVisibleInterval, setVisibleIntervalAnimationSteps, setVisibleTime, unregisterGanttPanelKeyboardAction, unregisterTablePanelKeyboardAction, updateUI, visibleRowsIterator, visibleRowsIteratorgetAccessibleContext, getUI, getUIClassID, paramString, setUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, removePropertyChangeListenerpublic IlvActivity[] getSelectedActivities()
public void select(IlvActivity activity, boolean selected)
activity - The activity to be selected or deselected.selected - Indicates whether the specified activity should be
selected or not.protected IlvJTableColumn[] createDefaultTableColumns()
IlvAbstractJTableColumn, has a
String identifier which can be used to filter the
visible columns through CSS, and a String TableHeader,
coming from resource file for localization.
| String Identifier | Class | Resource for Header label | English label | French label |
| Name | IlvTreeColumn |
TableColumn.Name.label | Name | Nom |
| Start | IlvStringColumn |
TableColumn.Start.label | Start | Début |
| End | IlvStringColumn |
TableColumn.End.label | End | Fin |
| ID | IlvStringColumn |
TableColumn.ID.label | ID | ID |
| Resources | IlvStringColumn |
TableColumn.Resources.label | Resources | Ressources |
createDefaultTableColumns in class IlvHierarchyChart© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.