public class IlvGanttTimeScale extends IlvTimeScale
IlvTimeScale.
As default, it contains the following predefined rows:
IlvYearTimeScaleRow, for the decade row IlvYearTimeScaleRow, for the year row IlvQuarterTimeScaleRow, for the quarter row IlvMonthTimeScaleRow, for the month row IlvWeekTimeScaleRow, for the week row IlvDayTimeScaleRow, for the day row IlvHourTimeScaleRow, for the hour row IlvMinuteTimeScaleRow, for the minutes row IlvGanttTimeScaleVisibilityPolicy where only
two of these predefined rows are visible at a time, depending on the zoom
level of the time scale.

The Gantt timescale supports alternate locales by utilizing resource files. The resource files are documented here.
IlvTimeScale.PaintContextJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
static int |
DAY_ROW
This is the index of the day row.
|
static int |
DECADE_ROW
This is the index of the decade row.
|
static int |
HOUR_ROW
This is the index of the hour row.
|
static int |
MINUTE_ROW
This is the index of the quarter-of-an-hour row.
|
static int |
MONTH_ROW
This is the index of the month row.
|
static int |
QUARTER_ROW
This is the index of the quarter row.
|
static int |
WEEK_ROW
This is the index of the week row.
|
static int |
YEAR_ROW
This is the index of the year row.
|
listenerList, 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_DURATIONABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
IlvGanttTimeScale()
Creates an instance of
IlvGanttTimeScale. |
| Modifier and Type | Method and Description |
|---|---|
void |
setRow(int index,
IlvTimeScaleRow row)
This method is overridden to take into account the fixed number of rows in
this class.
|
addRow, addTimeScrollListener, adjustRowsVisibility, computeCalendar, createPaintContext, getCalendar, getCalendar, getLocation, getMaxVisibleTime, getMinVisibleDuration, getMinVisibleTime, getPaintContext, getPreferredSize, getRow, getRow, getTime, getTimeConverter, getTimeScaleRow, getTimeZone, getTotalRowSize, getULocale, getVisibilityPolicy, getVisibleDuration, getVisibleInterval, getVisibleTime, hideRow, isConstantZoomFactorOnWidthChange, isIntegerZoomAllowed, isOpaqueTranslation, isTranslationAllowed, isVisibilityAdjusted, isZoomAllowed, paint, paintComponent, paintRows, paintSeparator, removeRow, removeTimeScrollListener, repaint, revalidate, setBounds, setComponentOrientation, setConstantZoomFactorOnWidthChange, setIntegerZoomAllowed, setLocale, setMaxVisibleTime, setMinVisibleDuration, setMinVisibleTime, setOpaqueTranslation, setRow, setTimeConverter, setTimeZone, setTranslationAllowed, setULocale, setVisibilityAdjusted, setVisibilityPolicy, setVisibleDuration, setVisibleInterval, setVisibleTime, setZoomAllowed, showRow, updateUIaddAncestorListener, 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, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, 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, 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, getAccessibleContext, 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, resize, resize, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int DECADE_ROW
public static final int YEAR_ROW
public static final int QUARTER_ROW
public static final int MONTH_ROW
public static final int WEEK_ROW
public static final int DAY_ROW
public static final int HOUR_ROW
public static final int MINUTE_ROW
public IlvGanttTimeScale()
IlvGanttTimeScale.public void setRow(int index,
IlvTimeScaleRow row)
setRow in class IlvTimeScaleindex - The index must be from 0 to 7.row - The new IlvTimeScaleRow that must be an
IlvBasicTimeScaleRow object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.