class GanttTester.TestSettings extends AbstractSettings
CONNECTION_ARROW_RIGHT_TO_LEFT, CONNECTION_ARROW_RIGHT_TO_TOP, CONNECTION_BIRDS_FLIGHT_PATH, CONNECTION_MS_PROJECT_STYLE, DEFAULT_CONNECTION_ARROW, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, VIEW_D_DAY, VIEW_DAY, VIEW_MINUTE, VIEW_MONTH, VIEW_WEEK, VIEW_YEAR, ZOOM_DAY_MAX, ZOOM_DAY_MEDIUM, ZOOM_DAY_NORMAL, ZOOM_HOURS_MAX, ZOOM_HOURS_MEDIUM, ZOOM_HOURS_NORMAL, ZOOM_MINUTES_MAX, ZOOM_MINUTES_MEDIUM, ZOOM_MINUTES_NORMAL, ZOOM_MONTH_MAX, ZOOM_MONTH_MEDIUM, ZOOM_MONTH_NORMAL, ZOOM_SECONDS_MAX, ZOOM_SECONDS_MEDIUM, ZOOM_SECONDS_NORMAL, ZOOM_YEAR_MAX, ZOOM_YEAR_MEDIUM, ZOOM_YEAR_NORMAL, ZOOM_YEAR_SMALL, ZOOM_YEAR_VERY_SMALL| Constructor and Description |
|---|
TestSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
adjustForLetters()
Letters have different width.
|
boolean |
allowArrowKeysToScrollChart()
Whether arrow keys are enabled to scroll chart left/right/up/down.
|
boolean |
allowBlankAreaDragAndDropToMoveDates()
If true, it lets the move forwards or backwards in time by clicking in a "blank" area and dragging the mouse.
|
boolean |
allowBlankAreaVerticalDragAndDropToMoveChart()
Relies on
ISettings.allowBlankAreaDragAndDropToMoveDates() being true. |
boolean |
allowCheckpointResizing()
Whether checkpoints can be resized (assuming resizing is on
ISettings.enableResizing()). |
boolean |
drawFullPercentageBar()
The percentage bar always draws as a line in the center of the event but normally it only draws the part that
displays the % complete.
|
boolean |
drawHeader()
Whether to draw the header or not.
|
boolean |
drawHorizontalLines()
Whether to draw horizontal lines between the events.
|
boolean |
drawLockedDateMarks()
When dates are locked down to a certain day, the chart will draw a special marker on the lock start and end dates
to point out that it's locked between certain constraints.
|
boolean |
drawSelectionMarkerAroundSelectedEvent()
If true, draws a dotted selection marker around the currently selected event to visualize the selection.
|
boolean |
enableAutoScroll()
Whether to enable auto scroll which causes the chart to scroll either left or right when events are dragged or
resized beyond the bounds of the chart.
|
boolean |
enableDragAndDrop()
Whether event drag-and-drop is turned on or off.
|
boolean |
enableResizing()
Whether event-resizing is turned on or off.
|
boolean |
enableZooming()
If zooming in/out should be enabled or disabled.
|
boolean |
flipBlankAreaDragDirection()
If for some reason the drag left vs.
|
int |
getArrowConnectionType()
What type of arrow connection to draw.
|
java.util.Locale |
getDefaultLocale()
Locale used for calendars and wherever needed.
|
int |
getInitialView()
What view is used when the chart is initially drawn.
|
int |
getSectionSide()
Which side the section bar should be drawn on.
|
boolean |
getUseAdvancedTooltips()
Whether to use Advanced Tooltips by default.
|
int |
getVerticalEventDragging()
What style of vertical event dragging that is enabled.
|
boolean |
lockHeaderOnVerticalScroll()
Whether the header should always be visible regardless of vertical scroll position.
|
boolean |
moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent()
If this returns true, only linked events that come after the source drag event (time/date-wise) will be
moved/resized (normally all linked events are moved/resized regardless of time/date).
|
boolean |
moveLinkedEventsWhenEventsAreMoved()
Whether users can hold down
SHIFT (or whatever the settings say) to move an event, and all dependent
events will move with the selected event. |
boolean |
scaleImageToDayWidth()
Whether to allow an image to exceed the width of one day when zooming in / out.
|
boolean |
showArrows()
If to draw arrows on connecting lines or not.
|
boolean |
showBoldScopeText()
Whether the name of the scope is drawn in bold or plain.
|
boolean |
showDateTipsOnScrolling()
Whether to show a date tooltip when scrolling horizontally (changing dates) and vertically.
|
boolean |
showGradientEventBars()
Whether to draw the color on the events using gradients.
|
boolean |
showHolidayToolTips()
Configure whether a tooltip pops up when hovering the mouse over a holiday
|
boolean |
showOnlyDependenciesForSelectedItems()
Whether to only show the dependency connections only when an event is selected, as opposed to always showing the
lines.
|
boolean |
showToolTips()
Whether to show tooltips when mouse is lingering over events.
|
boolean |
showZoomLevelBox()
Whether when a user zooms in or out (only via
CTRL (or whatever the settings say) +
Scroll Wheel) to display a box in the bottom left corner that shows the zoom level. |
boolean |
startCalendarOnFirstDayOfWeek()
Moves the calendar to start on the first day of the week of the either current date or the date set in
ISettings.getStartupCalendarDate()
Please note, if the
ISettings.getCalendarStartupDateOffset() is set to other than zero, these two methods will most likely
clash. |
boolean |
zoomToMousePointerDateOnWheelZooming()
When you zoom in with the mouse, it can either act as a normal zoom (uses leftmost date as start date) or it can
zoom in where the mouse pointer is at the time of the zoom in.
|
allowHeaderSelection, allowInfiniteHorizontalScrollBar, allowPhaseOverlap, allowScopeMenu, alwaysDragAllEvents, drawEventsDownToTheHourAndMinute, drawEventString, drawFillsToBottomWhenUsingGanttSections, drawGanttSectionBarToBottom, drawSectionBar, drawSectionDetails, drawVerticalLines, enableAddEvent, enableLastDraw, enableTodayLineUpdater, fireEmptyEventSelection, forceMouseWheelVerticalScroll, getAdvancedTooltipXOffset, getArrowHeadEventSpacer, getArrowHeadVerticalAdjuster, getCalendarStartupDateOffset, getDateFormat, getDayHeaderTextDisplayFormatBottom, getDayHeaderTextDisplayFormatTop, getDayHorizontalSpacing, getDayVerticalSpacing, getDayWidth, getDDayRootCalendar, getDDaySplitCount, getDefaultAdvancedTooltipHelpText, getDefaultAdvancedTooltipText, getDefaultAdvancedTooltipTextExtended, getDefaultAdvancedTooltipTitle, getDefaultAdvandedTooltipHelpImage, getDefaultAdvandedTooltipImage, getDefaultEventColor, getDefaultGradientEventColor, getDragAllModifierKey, getEventHeight, getEventPercentageBarHeight, getEventsBottomSpacer, getEventSpacer, getEventsTopSpacer, getHeaderDayHeight, getHeaderMonthHeight, getHourDateFormat, getInitialZoomLevel, getLockImage, getMinimumSectionHeight, getMinuteDateFormat, getMinuteHeaderTextDisplayFormatBottom, getMinuteHeaderTextDisplayFormatTop, getMinZoomLevel, getMonthDayWidth, getMonthHeaderTextDisplayFormatBottom, getMonthHeaderTextDisplayFormatTop, getMoveAreaNegativeSensitivity, getNumberOfDaysToAppendForEndOfDay, getPercentageBarAlpha, getPeriodEnd, getPeriodStart, getPhasesHeaderHeight, getRemainderPercentageBarAlpha, getResizeBorderSensitivity, getReverseDependencyLineHorizontalSpacer, getRevisedLineSpacer, getSectionBarDividerHeight, getSectionBarWidth, getSectionDetailContentReplacer, getSectionDetailText, getSectionDetailTitle, getSectionDetailWidth, getSectionTextSpacer, getStartupCalendarDate, getTextDisplayFormat, getTextSpacerConnected, getTextSpacerNonConnected, getTodayLineStyle, getTodayLineVerticalOffset, getTodayLineWidth, getToolTipContentReplacer, getVerticalDragResistance, getVerticalTickMarkOffset, getWeekHeaderTextDisplayFormatBottom, getWeekHeaderTextDisplayFormatTop, getYearHeaderTextDisplayFormatBottom, getYearHeaderTextDisplayFormatTop, getYearMonthDayWidth, getZoomWheelModifierKey, onVerticalDragDropShowInsertMarker, printFooter, printSelectedVerticallyComplete, roundHourlyEventsOffToNearestHour, scrollChartVerticallyOnMouseWheel, shiftHorizontalCenteredEventString, showBarsIn3D, showDateTips, showDefaultMenuItemsOnEventRightClick, showDeleteMenuOption, showMenuItemsOnRightClick, showNumberOfDaysOnBars, showPlannedDates, showPropertiesMenuOption, showResizeDateTipOnBorders, showSectionDetailMore, useSplitArrowConnectionspublic boolean lockHeaderOnVerticalScroll()
ISettingslockHeaderOnVerticalScroll in interface ISettingslockHeaderOnVerticalScroll in class AbstractSettingspublic boolean drawHeader()
ISettingsdrawHeader in interface ISettingsdrawHeader in class AbstractSettingspublic int getSectionSide()
ISettingsSWT.LEFT or SWT.RIGHT.getSectionSide in interface ISettingsgetSectionSide in class AbstractSettingsSWT.LEFT.public boolean drawHorizontalLines()
ISettingsdrawHorizontalLines in interface ISettingsdrawHorizontalLines in class AbstractSettingsGanttComposite#setDrawHorizontalLinesOverride(Boolean)public int getVerticalEventDragging()
ISettingsISettings.getVerticalDragResistance().getVerticalEventDragging in interface ISettingsgetVerticalEventDragging in class AbstractSettingsVerticalDragModes. Default is VerticalDragModes.NO_VERTICAL_DRAGpublic int getInitialView()
ISettingsgetInitialView in interface ISettingsgetInitialView in class AbstractSettingspublic boolean moveLinkedEventsWhenEventsAreMoved()
ISettingsSHIFT (or whatever the settings say) to move an event, and all dependent
events will move with the selected event.moveLinkedEventsWhenEventsAreMoved in interface ISettingsmoveLinkedEventsWhenEventsAreMoved in class AbstractSettingsISettings.getDragAllModifierKey()public boolean moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent()
ISettingsmoveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent in interface ISettingsmoveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent in class AbstractSettingspublic java.util.Locale getDefaultLocale()
ISettingsgetDefaultLocale in interface ISettingsgetDefaultLocale in class AbstractSettingspublic boolean enableAutoScroll()
ISettingsenableAutoScroll in interface ISettingsenableAutoScroll in class AbstractSettingspublic boolean enableResizing()
ISettingsenableResizing in interface ISettingsenableResizing in class AbstractSettingspublic boolean enableDragAndDrop()
ISettingsenableDragAndDrop in interface ISettingsenableDragAndDrop in class AbstractSettingspublic boolean adjustForLetters()
ISettingsadjustForLetters in interface ISettingsadjustForLetters in class AbstractSettingspublic int getArrowConnectionType()
ISettingsISettings.CONNECTION_ARROW_RIGHT_TO_TOP - Arrow line (and arrow head if turned on) will be drawn into the
events top and bottom corners.
ISettings.CONNECTION_ARROW_RIGHT_TO_LEFT - Arrow line (and arrow head if turned on) will be drawn into the
events middle left or right side.
ISettings.CONNECTION_MS_PROJECT_STYLE - Arrow line (and arrow head if turned on) will be drawn as
logically as possible from above event to below. Lines are rounded in corners and arrows will go to middle to top
of below event or to side depending on where event is situated.
ISettings.CONNECTION_BIRDS_FLIGHT_PATH - Straight "as the bird flies" line between events without any bends.
getArrowConnectionType in interface ISettingsgetArrowConnectionType in class AbstractSettingsCONNECTION_MS_PROJECT_STYLE.ISettings.CONNECTION_MS_PROJECT_STYLEpublic boolean showArrows()
ISettingsshowArrows in interface ISettingsshowArrows in class AbstractSettingspublic boolean showBoldScopeText()
ISettingsshowBoldScopeText in interface ISettingsshowBoldScopeText in class AbstractSettingspublic boolean showToolTips()
ISettingsshowToolTips in interface ISettingsshowToolTips in class AbstractSettingspublic boolean showGradientEventBars()
ISettingsGanttEvent.setGradientStatusColor(Color) and GanttEvent.setStatusColor(Color).showGradientEventBars in interface ISettingsshowGradientEventBars in class AbstractSettingsGanttEvent.setGradientStatusColor(Color),
GanttEvent.setStatusColor(Color)public boolean showOnlyDependenciesForSelectedItems()
ISettingsshowOnlyDependenciesForSelectedItems in interface ISettingsshowOnlyDependenciesForSelectedItems in class AbstractSettingspublic boolean showZoomLevelBox()
ISettingsCTRL (or whatever the settings say) +
Scroll Wheel) to display a box in the bottom left corner that shows the zoom level.showZoomLevelBox in interface ISettingsshowZoomLevelBox in class AbstractSettingsISettings.getZoomWheelModifierKey()public boolean allowBlankAreaDragAndDropToMoveDates()
ISettingsallowBlankAreaDragAndDropToMoveDates in interface ISettingsallowBlankAreaDragAndDropToMoveDates in class AbstractSettingspublic boolean flipBlankAreaDragDirection()
ISettingsISettings.allowBlankAreaDragAndDropToMoveDates() is active.flipBlankAreaDragDirection in interface ISettingsflipBlankAreaDragDirection in class AbstractSettingsISettings.allowBlankAreaDragAndDropToMoveDates()public boolean drawSelectionMarkerAroundSelectedEvent()
ISettingsdrawSelectionMarkerAroundSelectedEvent in interface ISettingsdrawSelectionMarkerAroundSelectedEvent in class AbstractSettingspublic boolean allowCheckpointResizing()
ISettingsISettings.enableResizing()).allowCheckpointResizing in interface ISettingsallowCheckpointResizing in class AbstractSettingsISettings.enableResizing()public boolean startCalendarOnFirstDayOfWeek()
ISettingsISettings.getStartupCalendarDate()
Please note, if the
ISettings.getCalendarStartupDateOffset() is set to other than zero, these two methods will most likely
clash.
This setting has no effect on D-Day charts.startCalendarOnFirstDayOfWeek in interface ISettingsstartCalendarOnFirstDayOfWeek in class AbstractSettingsISettings.getCalendarStartupDateOffset(),
ISettings.getStartupCalendarDate()public boolean enableZooming()
ISettingsenableZooming in interface ISettingsenableZooming in class AbstractSettingspublic boolean drawFullPercentageBar()
ISettingsdrawFullPercentageBar in interface ISettingsdrawFullPercentageBar in class AbstractSettingspublic boolean getUseAdvancedTooltips()
ISettingsgetUseAdvancedTooltips in interface ISettingsgetUseAdvancedTooltips in class AbstractSettingspublic boolean drawLockedDateMarks()
ISettingsdrawLockedDateMarks in interface ISettingsdrawLockedDateMarks in class AbstractSettingspublic boolean showDateTipsOnScrolling()
ISettingsshowDateTipsOnScrolling in interface ISettingsshowDateTipsOnScrolling in class AbstractSettingsISettings.showDateTips()public boolean zoomToMousePointerDateOnWheelZooming()
ISettingszoomToMousePointerDateOnWheelZooming in interface ISettingszoomToMousePointerDateOnWheelZooming in class AbstractSettingspublic boolean allowBlankAreaVerticalDragAndDropToMoveChart()
ISettingsISettings.allowBlankAreaDragAndDropToMoveDates() being true. If so, this will additionally determine if the user
can blank-area drag the chart in a vertical manner to move the chart in that direction as well.
Holding down the shift key will double the speed of the vertical dragallowBlankAreaVerticalDragAndDropToMoveChart in interface ISettingsallowBlankAreaVerticalDragAndDropToMoveChart in class AbstractSettingspublic boolean scaleImageToDayWidth()
ISettingsscaleImageToDayWidth in interface ISettingsscaleImageToDayWidth in class AbstractSettingspublic boolean allowArrowKeysToScrollChart()
ISettingsallowArrowKeysToScrollChart in interface ISettingsallowArrowKeysToScrollChart in class AbstractSettingspublic boolean showHolidayToolTips()
ISettingsshowHolidayToolTips in interface ISettingsshowHolidayToolTips in class AbstractSettingstrue to show a "holiday" popup with the configured name of the holiday,
false if not (default)