public interface ISettings2 extends ISettings
AbstractSettings
is now implementing this interface.
You can change some settings by creating your own class and overriding your desired methods, instructions as follows:
public class MySettings extends AbstractSettings { // override your methods here }Once you've overridden the settings you wish to change, simply pass an instance of your implementation class to the constructor of GanttChart:
GanttChart.GanttChart(org.eclipse.swt.widgets.Composite, int, ISettings)
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
Modifier and Type | Method and Description |
---|---|
boolean |
enableTodayLineUpdater()
Start the updating tread for TodayLine (red line marking current time)
|
java.lang.String |
getMinuteDateFormat()
The date format to use when displaying dates in string format in the minutes view.
|
java.lang.String |
getMinuteHeaderTextDisplayFormatBottom()
The SimpleDateFormat of the text shown in the bottom header for the minute view.
|
java.lang.String |
getMinuteHeaderTextDisplayFormatTop()
The SimpleDateFormat of the text shown in the top header for the minute view.
|
adjustForLetters, allowArrowKeysToScrollChart, allowBlankAreaDragAndDropToMoveDates, allowBlankAreaVerticalDragAndDropToMoveChart, allowCheckpointResizing, allowHeaderSelection, allowInfiniteHorizontalScrollBar, allowPhaseOverlap, allowScopeMenu, alwaysDragAllEvents, drawEventsDownToTheHourAndMinute, drawEventString, drawFillsToBottomWhenUsingGanttSections, drawFullPercentageBar, drawGanttSectionBarToBottom, drawHeader, drawHorizontalLines, drawLockedDateMarks, drawSectionBar, drawSectionDetails, drawSelectionMarkerAroundSelectedEvent, drawVerticalLines, enableAddEvent, enableAutoScroll, enableDragAndDrop, enableLastDraw, enableResizing, enableZooming, fireEmptyEventSelection, flipBlankAreaDragDirection, forceMouseWheelVerticalScroll, getAdvancedTooltipXOffset, getArrowConnectionType, getArrowHeadEventSpacer, getArrowHeadVerticalAdjuster, getCalendarStartupDateOffset, getDateFormat, getDayHeaderTextDisplayFormatBottom, getDayHeaderTextDisplayFormatTop, getDayHorizontalSpacing, getDayVerticalSpacing, getDayWidth, getDDayRootCalendar, getDDaySplitCount, getDefaultAdvancedTooltipHelpText, getDefaultAdvancedTooltipText, getDefaultAdvancedTooltipTextExtended, getDefaultAdvancedTooltipTitle, getDefaultAdvandedTooltipHelpImage, getDefaultAdvandedTooltipImage, getDefaultEventColor, getDefaultGradientEventColor, getDefaultLocale, getDragAllModifierKey, getEventHeight, getEventPercentageBarHeight, getEventsBottomSpacer, getEventSpacer, getEventsTopSpacer, getHeaderDayHeight, getHeaderMonthHeight, getHourDateFormat, getInitialView, getInitialZoomLevel, getLockImage, getMinimumSectionHeight, getMinZoomLevel, getMonthDayWidth, getMonthHeaderTextDisplayFormatBottom, getMonthHeaderTextDisplayFormatTop, getMoveAreaNegativeSensitivity, getNumberOfDaysToAppendForEndOfDay, getPercentageBarAlpha, getPeriodEnd, getPeriodStart, getPhasesHeaderHeight, getRemainderPercentageBarAlpha, getResizeBorderSensitivity, getReverseDependencyLineHorizontalSpacer, getRevisedLineSpacer, getSectionBarDividerHeight, getSectionBarWidth, getSectionDetailContentReplacer, getSectionDetailText, getSectionDetailTitle, getSectionDetailWidth, getSectionSide, getSectionTextSpacer, getStartupCalendarDate, getTextDisplayFormat, getTextSpacerConnected, getTextSpacerNonConnected, getTodayLineStyle, getTodayLineVerticalOffset, getTodayLineWidth, getToolTipContentReplacer, getUseAdvancedTooltips, getVerticalDragResistance, getVerticalEventDragging, getVerticalTickMarkOffset, getWeekHeaderTextDisplayFormatBottom, getWeekHeaderTextDisplayFormatTop, getYearHeaderTextDisplayFormatBottom, getYearHeaderTextDisplayFormatTop, getYearMonthDayWidth, getZoomWheelModifierKey, lockHeaderOnVerticalScroll, moveAndResizeOnlyDependentEventsThatAreLaterThanLinkedMoveEvent, moveLinkedEventsWhenEventsAreMoved, onVerticalDragDropShowInsertMarker, printFooter, printSelectedVerticallyComplete, roundHourlyEventsOffToNearestHour, scaleImageToDayWidth, scrollChartVerticallyOnMouseWheel, shiftHorizontalCenteredEventString, showArrows, showBarsIn3D, showBoldScopeText, showDateTips, showDateTipsOnScrolling, showDefaultMenuItemsOnEventRightClick, showDeleteMenuOption, showGradientEventBars, showHolidayToolTips, showMenuItemsOnRightClick, showNumberOfDaysOnBars, showOnlyDependenciesForSelectedItems, showPlannedDates, showPropertiesMenuOption, showResizeDateTipOnBorders, showSectionDetailMore, showToolTips, showZoomLevelBox, startCalendarOnFirstDayOfWeek, useSplitArrowConnections, zoomToMousePointerDateOnWheelZooming
java.lang.String getMinuteDateFormat()
DateFormat
,
DateFormatSymbols
java.lang.String getMinuteHeaderTextDisplayFormatTop()
SimpleDateFormat
string. May not be null.java.lang.String getMinuteHeaderTextDisplayFormatBottom()
boolean enableTodayLineUpdater()
true
Start Thread
false
Skip Thread