Class ColorThemeSilver
java.lang.Object
org.eclipse.nebula.widgets.ganttchart.themes.ColorThemeSilver
- All Implemented Interfaces:
IColorManager
,IFillBackgroundColors
public class ColorThemeSilver extends java.lang.Object implements IColorManager
-
Constructor Summary
Constructors Constructor Description ColorThemeSilver()
-
Method Summary
Modifier and Type Method Description boolean
drawSectionDetailGradientTopDown()
Specify the direction of the gradient background of the section detail area.org.eclipse.swt.graphics.Color
getActiveSessionBarColorLeft()
The left gradient color of a section bar.org.eclipse.swt.graphics.Color
getActiveSessionBarColorRight()
The right gradient color of a section bar.org.eclipse.swt.graphics.Color
getAdvancedTooltipBorderColor()
The border color of the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipDividerColor()
The divider color in the advanced tooltip dialogorg.eclipse.swt.graphics.Color
getAdvancedTooltipDividerShadowColor()
The dropshadow color of the divider line in the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipInnerFillBottomColor()
The bottom gradient fill color of the background of the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipInnerFillTopColor()
The top gradient fill color of the background of the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipShadowCornerInnerColor()
The fadeoff pixels used to make corners more rounded in the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipShadowCornerOuterColor()
The fadeoff pixels used to make corners more rounded in the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipShadowInnerCornerColor()
The fadeoff shadow pixels used to make corners more rounded in the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getAdvancedTooltipTextColor()
The default foreground color used for displaying text in the advanced tooltip dialog.org.eclipse.swt.graphics.Color
getArrowColor()
The color used for dependency lines and arrowheads.org.eclipse.swt.graphics.Color
getBlack()
The color black.org.eclipse.swt.graphics.Color
getEventBorderColor()
The color used to draw the border around an event.org.eclipse.swt.graphics.Color
getFadeOffColor1()
The top most drop-shadow color vertically.org.eclipse.swt.graphics.Color
getFadeOffColor2()
The middle most drop-shadow color vertically.org.eclipse.swt.graphics.Color
getFadeOffColor3()
The bottom most drop-shadow color vertically.org.eclipse.swt.graphics.Color
getHolidayBackgroundColorBottom()
The bottom background gradient color used for drawing the holiday column.org.eclipse.swt.graphics.Color
getHolidayBackgroundColorTop()
The top background gradient color used for drawing the holiday column.org.eclipse.swt.graphics.Color
getHourTimeDividerColor()
The color for the dividing line between each section of the bottom header in the day view.org.eclipse.swt.graphics.Color
getLineColor()
The color used for drawing lines.org.eclipse.swt.graphics.Color
getMonthTimeDividerColor()
The color for the dividing line between each section of the bottom header in the month view.org.eclipse.swt.graphics.Color
getNonActiveSessionBarColorLeft()
The left gradient color of the section bar that is outside of any actual section.org.eclipse.swt.graphics.Color
getNonActiveSessionBarColorRight()
The right gradient color of the section bar that is outside of any actual section.org.eclipse.swt.graphics.Color
getOriginalLocationColor()
For vertical drag/drops a box is drawn where the event was prior to the DND started to indicate what the original location of the event was (so the user can find their way back).org.eclipse.swt.graphics.Color
getPercentageBarColorBottom()
The bottom gradient color of the percentage bar drawn inside an event.org.eclipse.swt.graphics.Color
getPercentageBarColorTop()
The top gradient color of the percentage bar drawn inside an event.org.eclipse.swt.graphics.Color
getPercentageBarRemainderColorBottom()
The bottom gradient color of the remainder percentage bar drawn inside an event.org.eclipse.swt.graphics.Color
getPercentageBarRemainderColorTop()
The top gradient color of the remainder percentage bar drawn inside an event.org.eclipse.swt.graphics.Color
getPeriodLineColor()
The color used for drawing the vertical period start and end line that shows where the period start and end dates are.org.eclipse.swt.graphics.Color
getPhaseHeaderBackgroundColorBottom()
The bottom gradient background color used in the header where phases are written.org.eclipse.swt.graphics.Color
getPhaseHeaderBackgroundColorTop()
The top gradient background color used in the header where phases are written.org.eclipse.swt.graphics.Color
getReverseArrowColor()
The color used for reverse dependency lines and arrowheads when the connection type is set to MS PROJECT style.org.eclipse.swt.graphics.Color
getRevisedEndColor()
The color used to draw the revised end date of an event.org.eclipse.swt.graphics.Color
getRevisedStartColor()
The color used to draw the revised start date of an event.org.eclipse.swt.graphics.Color
getSaturdayBackgroundColorBottom()
The bottom background gradient color used for drawing the Saturday column.org.eclipse.swt.graphics.Color
getSaturdayBackgroundColorTop()
The top background gradient color used for drawing the Saturday column.org.eclipse.swt.graphics.Color
getSaturdayTextColor()
The color used for drawing the Saturday letter.org.eclipse.swt.graphics.Color
getScopeBorderColor()
The border color used for drawing scopes.org.eclipse.swt.graphics.Color
getScopeGradientColorBottom()
One of the gradient colors for drawing scopes.org.eclipse.swt.graphics.Color
getScopeGradientColorTop()
One of the gradient colors for drawing scopes.org.eclipse.swt.graphics.Color
getSectionDetailAreaBackgroundColor(GanttSection section)
The background color used to draw the gradient background of the section detail area of the given GanttSection.org.eclipse.swt.graphics.Color
getSectionDetailAreaForegroundColor(GanttSection section)
The foreground color used to draw the gradient background of the section detail area of the given GanttSection.org.eclipse.swt.graphics.Color
getSelectedDayColorBottom()
The bottom background gradient color used for drawing selected columns.org.eclipse.swt.graphics.Color
getSelectedDayColorTop()
The top background gradient color used for drawing selected columns.org.eclipse.swt.graphics.Color
getSelectedDayHeaderColorBottom()
The bottom background gradient color used for drawing selected columns in the header section.org.eclipse.swt.graphics.Color
getSelectedDayHeaderColorTop()
The top background gradient color used for drawing selected columns in the header section.org.eclipse.swt.graphics.Color
getSessionBarDividerColorLeft()
The left gradient color of the section divider bar that is drawn between sections.org.eclipse.swt.graphics.Color
getSessionBarDividerColorRight()
The right gradient color of the section divider bar that is drawn between sections.org.eclipse.swt.graphics.Color
getSundayBackgroundColorBottom()
The bottom background gradient color used for drawing the Sunday column.org.eclipse.swt.graphics.Color
getSundayBackgroundColorTop()
The top background gradient color used for drawing the Sunday column.org.eclipse.swt.graphics.Color
getSundayTextColor()
The color used for drawing the Sunday letter.org.eclipse.swt.graphics.Color
getTextColor()
The color used for drawing text.org.eclipse.swt.graphics.Color
getTextHeaderBackgroundColorBottom()
The bottom gradient background color used in the header where the full date is written.org.eclipse.swt.graphics.Color
getTextHeaderBackgroundColorTop()
The top gradient background color used in the header where the full date is written.org.eclipse.swt.graphics.Color
getTickMarkColor()
The tick mark is the small line that separates dates in the top part of the header.org.eclipse.swt.graphics.Color
getTimeHeaderBackgroundColorBottom()
The bottom gradient background color used in the header where the days and time is written.org.eclipse.swt.graphics.Color
getTimeHeaderBackgroundColorTop()
The top gradient background color used in the header where the days and time is written.org.eclipse.swt.graphics.Color
getTodayBackgroundColorBottom()
The bottom gradient background color used to represent the current day.org.eclipse.swt.graphics.Color
getTodayBackgroundColorTop()
The top gradient background color used to represent the current day.int
getTodayLineAlpha()
The alpha value of the Today line.org.eclipse.swt.graphics.Color
getTodayLineColor()
The color used for drawing the vertical "today" line that shows where the todays date is.org.eclipse.swt.graphics.Color
getTooltipBackgroundColor()
The background color used in all tooltips.org.eclipse.swt.graphics.Color
getTooltipForegroundColor()
The foreground color used in all tooltips.org.eclipse.swt.graphics.Color
getTooltipForegroundColorFaded()
The faded foreground color used in all tooltips (for less important text).org.eclipse.swt.graphics.Color
getTopHorizontalLinesColor()
The top horizontal lines are all the horizontal lines that span across the header from the left side to the right.org.eclipse.swt.graphics.Color
getVerticalInsertMarkerColor()
This is the color used to draw the vertical insert marker for vertical drag and drop.org.eclipse.swt.graphics.Color
getWeekdayBackgroundColorBottom()
The bottom background gradient color used for drawing the weekday column.org.eclipse.swt.graphics.Color
getWeekdayBackgroundColorTop()
The top background gradient color used for drawing the weekday column.org.eclipse.swt.graphics.Color
getWeekdayTextColor()
The foreground color of the letters of the week in the bottom header.int
getWeekDividerAlpha()
The alpha value of the week divider line.org.eclipse.swt.graphics.Color
getWeekDividerLineColor()
The color used for drawing the vertical line showing where the next week starts (or the previous week ends).org.eclipse.swt.graphics.Color
getWeekTimeDividerColor()
The color for the dividing line between each section of the bottom header in the week view.org.eclipse.swt.graphics.Color
getWhite()
The color white.org.eclipse.swt.graphics.Color
getYearTimeDividerColor()
The color for the dividing line between each section of the bottom header in the year view.org.eclipse.swt.graphics.Color
getZoomBackgroundColorBottom()
The bottom gradient background color used to draw the zoom box.org.eclipse.swt.graphics.Color
getZoomBackgroundColorTop()
The top gradient background color used to draw the zoom box.org.eclipse.swt.graphics.Color
getZoomBorderColor()
The color used to draw the zoom level box border.org.eclipse.swt.graphics.Color
getZoomTextColor()
The color used to draw the text in the zoom box.boolean
useAlphaDrawing()
Alpha colors can slow down the drawing considerably, only enable on a fast system and you're 100% certain that systems other than yours (3rd party) will be able to handle it as well.boolean
useAlphaDrawingOn3DEventDropShadows()
Separate flag from useAlphaDrawing.
-
Constructor Details
-
ColorThemeSilver
public ColorThemeSilver()
-
-
Method Details
-
getArrowColor
public org.eclipse.swt.graphics.Color getArrowColor()Description copied from interface:IColorManager
The color used for dependency lines and arrowheads.- Specified by:
getArrowColor
in interfaceIColorManager
- Returns:
- Color
-
getReverseArrowColor
public org.eclipse.swt.graphics.Color getReverseArrowColor()Description copied from interface:IColorManager
The color used for reverse dependency lines and arrowheads when the connection type is set to MS PROJECT style. For any other line style it is ignored.- Specified by:
getReverseArrowColor
in interfaceIColorManager
- Returns:
- Color
-
getBlack
public org.eclipse.swt.graphics.Color getBlack()Description copied from interface:IColorManager
The color black. Used in few places.- Specified by:
getBlack
in interfaceIColorManager
- Returns:
- Color
-
getEventBorderColor
public org.eclipse.swt.graphics.Color getEventBorderColor()Description copied from interface:IColorManager
The color used to draw the border around an event.- Specified by:
getEventBorderColor
in interfaceIColorManager
- Returns:
- Color
-
getFadeOffColor1
public org.eclipse.swt.graphics.Color getFadeOffColor1()Description copied from interface:IColorManager
The top most drop-shadow color vertically.- Specified by:
getFadeOffColor1
in interfaceIColorManager
- Returns:
- Color
-
getFadeOffColor2
public org.eclipse.swt.graphics.Color getFadeOffColor2()Description copied from interface:IColorManager
The middle most drop-shadow color vertically.- Specified by:
getFadeOffColor2
in interfaceIColorManager
- Returns:
- Color
-
getFadeOffColor3
public org.eclipse.swt.graphics.Color getFadeOffColor3()Description copied from interface:IColorManager
The bottom most drop-shadow color vertically.- Specified by:
getFadeOffColor3
in interfaceIColorManager
- Returns:
- Color
-
getLineColor
public org.eclipse.swt.graphics.Color getLineColor()Description copied from interface:IColorManager
The color used for drawing lines.- Specified by:
getLineColor
in interfaceIColorManager
- Returns:
- Color
-
getWeekDividerLineColor
public org.eclipse.swt.graphics.Color getWeekDividerLineColor()Description copied from interface:IColorManager
The color used for drawing the vertical line showing where the next week starts (or the previous week ends).- Specified by:
getWeekDividerLineColor
in interfaceIColorManager
- Returns:
- Color
-
getPercentageBarColorTop
public org.eclipse.swt.graphics.Color getPercentageBarColorTop()Description copied from interface:IColorManager
The top gradient color of the percentage bar drawn inside an event.- Specified by:
getPercentageBarColorTop
in interfaceIColorManager
- Returns:
- Color
-
getPercentageBarColorBottom
public org.eclipse.swt.graphics.Color getPercentageBarColorBottom()Description copied from interface:IColorManager
The bottom gradient color of the percentage bar drawn inside an event.- Specified by:
getPercentageBarColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getPercentageBarRemainderColorTop
public org.eclipse.swt.graphics.Color getPercentageBarRemainderColorTop()Description copied from interface:IColorManager
The top gradient color of the remainder percentage bar drawn inside an event. This only draws if drawFullPercentageBar() in settings returns true.- Specified by:
getPercentageBarRemainderColorTop
in interfaceIColorManager
- Returns:
- Color
-
getPercentageBarRemainderColorBottom
public org.eclipse.swt.graphics.Color getPercentageBarRemainderColorBottom()Description copied from interface:IColorManager
The bottom gradient color of the remainder percentage bar drawn inside an event. This only draws if drawFullPercentageBar() in settings returns true.- Specified by:
getPercentageBarRemainderColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getTextColor
public org.eclipse.swt.graphics.Color getTextColor()Description copied from interface:IColorManager
The color used for drawing text.- Specified by:
getTextColor
in interfaceIColorManager
- Returns:
- Color
-
getTodayBackgroundColorTop
public org.eclipse.swt.graphics.Color getTodayBackgroundColorTop()Description copied from interface:IColorManager
The top gradient background color used to represent the current day.- Specified by:
getTodayBackgroundColorTop
in interfaceIColorManager
- Returns:
- Color
-
getTodayBackgroundColorBottom
public org.eclipse.swt.graphics.Color getTodayBackgroundColorBottom()Description copied from interface:IColorManager
The bottom gradient background color used to represent the current day.- Specified by:
getTodayBackgroundColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getTextHeaderBackgroundColorTop
public org.eclipse.swt.graphics.Color getTextHeaderBackgroundColorTop()Description copied from interface:IColorManager
The top gradient background color used in the header where the full date is written.- Specified by:
getTextHeaderBackgroundColorTop
in interfaceIColorManager
- Returns:
- Color
-
getTextHeaderBackgroundColorBottom
public org.eclipse.swt.graphics.Color getTextHeaderBackgroundColorBottom()Description copied from interface:IColorManager
The bottom gradient background color used in the header where the full date is written.- Specified by:
getTextHeaderBackgroundColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getTimeHeaderBackgroundColorBottom
public org.eclipse.swt.graphics.Color getTimeHeaderBackgroundColorBottom()Description copied from interface:IColorManager
The bottom gradient background color used in the header where the days and time is written.- Specified by:
getTimeHeaderBackgroundColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getTimeHeaderBackgroundColorTop
public org.eclipse.swt.graphics.Color getTimeHeaderBackgroundColorTop()Description copied from interface:IColorManager
The top gradient background color used in the header where the days and time is written.- Specified by:
getTimeHeaderBackgroundColorTop
in interfaceIColorManager
- Returns:
- Color
-
getHourTimeDividerColor
public org.eclipse.swt.graphics.Color getHourTimeDividerColor()Description copied from interface:IColorManager
The color for the dividing line between each section of the bottom header in the day view.- Specified by:
getHourTimeDividerColor
in interfaceIColorManager
- Returns:
- Color
-
getMonthTimeDividerColor
public org.eclipse.swt.graphics.Color getMonthTimeDividerColor()Description copied from interface:IColorManager
The color for the dividing line between each section of the bottom header in the month view.- Specified by:
getMonthTimeDividerColor
in interfaceIColorManager
- Returns:
- Color
-
getWeekTimeDividerColor
public org.eclipse.swt.graphics.Color getWeekTimeDividerColor()Description copied from interface:IColorManager
The color for the dividing line between each section of the bottom header in the week view.- Specified by:
getWeekTimeDividerColor
in interfaceIColorManager
- Returns:
- Color
-
getYearTimeDividerColor
public org.eclipse.swt.graphics.Color getYearTimeDividerColor()Description copied from interface:IColorManager
The color for the dividing line between each section of the bottom header in the year view.- Specified by:
getYearTimeDividerColor
in interfaceIColorManager
- Returns:
- Color
-
getWeekdayBackgroundColorTop
public org.eclipse.swt.graphics.Color getWeekdayBackgroundColorTop()Description copied from interface:IFillBackgroundColors
The top background gradient color used for drawing the weekday column.- Specified by:
getWeekdayBackgroundColorTop
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getWeekdayBackgroundColorBottom
public org.eclipse.swt.graphics.Color getWeekdayBackgroundColorBottom()Description copied from interface:IFillBackgroundColors
The bottom background gradient color used for drawing the weekday column.- Specified by:
getWeekdayBackgroundColorBottom
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getWhite
public org.eclipse.swt.graphics.Color getWhite()Description copied from interface:IColorManager
The color white. Used in few places.- Specified by:
getWhite
in interfaceIColorManager
- Returns:
- Color
-
getSaturdayBackgroundColorTop
public org.eclipse.swt.graphics.Color getSaturdayBackgroundColorTop()Description copied from interface:IFillBackgroundColors
The top background gradient color used for drawing the Saturday column.- Specified by:
getSaturdayBackgroundColorTop
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getSaturdayBackgroundColorBottom
public org.eclipse.swt.graphics.Color getSaturdayBackgroundColorBottom()Description copied from interface:IFillBackgroundColors
The bottom background gradient color used for drawing the Saturday column.- Specified by:
getSaturdayBackgroundColorBottom
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getSaturdayTextColor
public org.eclipse.swt.graphics.Color getSaturdayTextColor()Description copied from interface:IColorManager
The color used for drawing the Saturday letter.- Specified by:
getSaturdayTextColor
in interfaceIColorManager
- Returns:
- Color
-
getSundayBackgroundColorTop
public org.eclipse.swt.graphics.Color getSundayBackgroundColorTop()Description copied from interface:IFillBackgroundColors
The top background gradient color used for drawing the Sunday column.- Specified by:
getSundayBackgroundColorTop
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getSundayBackgroundColorBottom
public org.eclipse.swt.graphics.Color getSundayBackgroundColorBottom()Description copied from interface:IFillBackgroundColors
The bottom background gradient color used for drawing the Sunday column.- Specified by:
getSundayBackgroundColorBottom
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getHolidayBackgroundColorTop
public org.eclipse.swt.graphics.Color getHolidayBackgroundColorTop()Description copied from interface:IFillBackgroundColors
The top background gradient color used for drawing the holiday column.- Specified by:
getHolidayBackgroundColorTop
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getHolidayBackgroundColorBottom
public org.eclipse.swt.graphics.Color getHolidayBackgroundColorBottom()Description copied from interface:IFillBackgroundColors
The bottom background gradient color used for drawing the holiday column.- Specified by:
getHolidayBackgroundColorBottom
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getWeekdayTextColor
public org.eclipse.swt.graphics.Color getWeekdayTextColor()Description copied from interface:IColorManager
The foreground color of the letters of the week in the bottom header.- Specified by:
getWeekdayTextColor
in interfaceIColorManager
- Returns:
- Color
-
getSundayTextColor
public org.eclipse.swt.graphics.Color getSundayTextColor()Description copied from interface:IColorManager
The color used for drawing the Sunday letter.- Specified by:
getSundayTextColor
in interfaceIColorManager
- Returns:
- Color
-
getRevisedEndColor
public org.eclipse.swt.graphics.Color getRevisedEndColor()Description copied from interface:IColorManager
The color used to draw the revised end date of an event.- Specified by:
getRevisedEndColor
in interfaceIColorManager
- Returns:
- Color
-
getRevisedStartColor
public org.eclipse.swt.graphics.Color getRevisedStartColor()Description copied from interface:IColorManager
The color used to draw the revised start date of an event.- Specified by:
getRevisedStartColor
in interfaceIColorManager
- Returns:
- Color
-
getZoomBackgroundColorTop
public org.eclipse.swt.graphics.Color getZoomBackgroundColorTop()Description copied from interface:IColorManager
The top gradient background color used to draw the zoom box.- Specified by:
getZoomBackgroundColorTop
in interfaceIColorManager
- Returns:
- Color
-
getZoomBackgroundColorBottom
public org.eclipse.swt.graphics.Color getZoomBackgroundColorBottom()Description copied from interface:IColorManager
The bottom gradient background color used to draw the zoom box.- Specified by:
getZoomBackgroundColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getZoomBorderColor
public org.eclipse.swt.graphics.Color getZoomBorderColor()Description copied from interface:IColorManager
The color used to draw the zoom level box border.- Specified by:
getZoomBorderColor
in interfaceIColorManager
- Returns:
- Color
-
getZoomTextColor
public org.eclipse.swt.graphics.Color getZoomTextColor()Description copied from interface:IColorManager
The color used to draw the text in the zoom box.- Specified by:
getZoomTextColor
in interfaceIColorManager
- Returns:
- Color
-
getTooltipBackgroundColor
public org.eclipse.swt.graphics.Color getTooltipBackgroundColor()Description copied from interface:IColorManager
The background color used in all tooltips.- Specified by:
getTooltipBackgroundColor
in interfaceIColorManager
- Returns:
- Color
-
getTooltipForegroundColor
public org.eclipse.swt.graphics.Color getTooltipForegroundColor()Description copied from interface:IColorManager
The foreground color used in all tooltips.- Specified by:
getTooltipForegroundColor
in interfaceIColorManager
- Returns:
- Color
-
getTooltipForegroundColorFaded
public org.eclipse.swt.graphics.Color getTooltipForegroundColorFaded()Description copied from interface:IColorManager
The faded foreground color used in all tooltips (for less important text).- Specified by:
getTooltipForegroundColorFaded
in interfaceIColorManager
- Returns:
- Color
-
getScopeBorderColor
public org.eclipse.swt.graphics.Color getScopeBorderColor()Description copied from interface:IColorManager
The border color used for drawing scopes.- Specified by:
getScopeBorderColor
in interfaceIColorManager
- Returns:
- Color
-
getScopeGradientColorBottom
public org.eclipse.swt.graphics.Color getScopeGradientColorBottom()Description copied from interface:IColorManager
One of the gradient colors for drawing scopes.- Specified by:
getScopeGradientColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getScopeGradientColorTop
public org.eclipse.swt.graphics.Color getScopeGradientColorTop()Description copied from interface:IColorManager
One of the gradient colors for drawing scopes.- Specified by:
getScopeGradientColorTop
in interfaceIColorManager
- Returns:
- Color
-
getTopHorizontalLinesColor
public org.eclipse.swt.graphics.Color getTopHorizontalLinesColor()Description copied from interface:IColorManager
The top horizontal lines are all the horizontal lines that span across the header from the left side to the right.- Specified by:
getTopHorizontalLinesColor
in interfaceIColorManager
- Returns:
- Color for top horizontal lines.
-
getTodayLineColor
public org.eclipse.swt.graphics.Color getTodayLineColor()Description copied from interface:IColorManager
The color used for drawing the vertical "today" line that shows where the todays date is.- Specified by:
getTodayLineColor
in interfaceIColorManager
- Returns:
- Color
-
getTodayLineAlpha
public int getTodayLineAlpha()Description copied from interface:IColorManager
The alpha value of the Today line.- Specified by:
getTodayLineAlpha
in interfaceIColorManager
- Returns:
- Alpha value between 0 and 255.
-
getWeekDividerAlpha
public int getWeekDividerAlpha()Description copied from interface:IColorManager
The alpha value of the week divider line.- Specified by:
getWeekDividerAlpha
in interfaceIColorManager
- Returns:
- Alpha value between 0 and 255.
-
useAlphaDrawing
public boolean useAlphaDrawing()Description copied from interface:IColorManager
Alpha colors can slow down the drawing considerably, only enable on a fast system and you're 100% certain that systems other than yours (3rd party) will be able to handle it as well. If this setting is false (default is false), all getAlpha() methods will be ignored. Alpha drawing is used for various lines that may overlay other sections as well as for drop shadows.- Specified by:
useAlphaDrawing
in interfaceIColorManager
- Returns:
- true if Alpha drawing should be on. Default is false.
-
useAlphaDrawingOn3DEventDropShadows
public boolean useAlphaDrawingOn3DEventDropShadows()Description copied from interface:IColorManager
Separate flag from useAlphaDrawing. If this is set to true drop shadows on 3D events will be drawn using alpha channels.- Specified by:
useAlphaDrawingOn3DEventDropShadows
in interfaceIColorManager
- Returns:
- true if Alpha drawing should be on for drop shadows on 3D events. Default is true.
-
getTickMarkColor
public org.eclipse.swt.graphics.Color getTickMarkColor()Description copied from interface:IColorManager
The tick mark is the small line that separates dates in the top part of the header.- Specified by:
getTickMarkColor
in interfaceIColorManager
- Returns:
- Tick mark color
-
getAdvancedTooltipBorderColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipBorderColor()Description copied from interface:IColorManager
The border color of the advanced tooltip dialog.- Specified by:
getAdvancedTooltipBorderColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipDividerColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipDividerColor()Description copied from interface:IColorManager
The divider color in the advanced tooltip dialog- Specified by:
getAdvancedTooltipDividerColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipDividerShadowColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipDividerShadowColor()Description copied from interface:IColorManager
The dropshadow color of the divider line in the advanced tooltip dialog.- Specified by:
getAdvancedTooltipDividerShadowColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipInnerFillBottomColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipInnerFillBottomColor()Description copied from interface:IColorManager
The bottom gradient fill color of the background of the advanced tooltip dialog.- Specified by:
getAdvancedTooltipInnerFillBottomColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipInnerFillTopColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipInnerFillTopColor()Description copied from interface:IColorManager
The top gradient fill color of the background of the advanced tooltip dialog.- Specified by:
getAdvancedTooltipInnerFillTopColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipShadowCornerInnerColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipShadowCornerInnerColor()Description copied from interface:IColorManager
The fadeoff pixels used to make corners more rounded in the advanced tooltip dialog.- Specified by:
getAdvancedTooltipShadowCornerInnerColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipShadowCornerOuterColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipShadowCornerOuterColor()Description copied from interface:IColorManager
The fadeoff pixels used to make corners more rounded in the advanced tooltip dialog.- Specified by:
getAdvancedTooltipShadowCornerOuterColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipShadowInnerCornerColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipShadowInnerCornerColor()Description copied from interface:IColorManager
The fadeoff shadow pixels used to make corners more rounded in the advanced tooltip dialog.- Specified by:
getAdvancedTooltipShadowInnerCornerColor
in interfaceIColorManager
- Returns:
- Color
-
getAdvancedTooltipTextColor
public org.eclipse.swt.graphics.Color getAdvancedTooltipTextColor()Description copied from interface:IColorManager
The default foreground color used for displaying text in the advanced tooltip dialog.- Specified by:
getAdvancedTooltipTextColor
in interfaceIColorManager
- Returns:
- Color
-
getActiveSessionBarColorLeft
public org.eclipse.swt.graphics.Color getActiveSessionBarColorLeft()Description copied from interface:IColorManager
The left gradient color of a section bar.- Specified by:
getActiveSessionBarColorLeft
in interfaceIColorManager
- Returns:
- Color
-
getActiveSessionBarColorRight
public org.eclipse.swt.graphics.Color getActiveSessionBarColorRight()Description copied from interface:IColorManager
The right gradient color of a section bar.- Specified by:
getActiveSessionBarColorRight
in interfaceIColorManager
- Returns:
- Color
-
getNonActiveSessionBarColorLeft
public org.eclipse.swt.graphics.Color getNonActiveSessionBarColorLeft()Description copied from interface:IColorManager
The left gradient color of the section bar that is outside of any actual section.- Specified by:
getNonActiveSessionBarColorLeft
in interfaceIColorManager
- Returns:
- Color
-
getNonActiveSessionBarColorRight
public org.eclipse.swt.graphics.Color getNonActiveSessionBarColorRight()Description copied from interface:IColorManager
The right gradient color of the section bar that is outside of any actual section.- Specified by:
getNonActiveSessionBarColorRight
in interfaceIColorManager
- Returns:
- Color
-
getSessionBarDividerColorLeft
public org.eclipse.swt.graphics.Color getSessionBarDividerColorLeft()Description copied from interface:IColorManager
The left gradient color of the section divider bar that is drawn between sections.- Specified by:
getSessionBarDividerColorLeft
in interfaceIColorManager
- Returns:
- Color
-
getSessionBarDividerColorRight
public org.eclipse.swt.graphics.Color getSessionBarDividerColorRight()Description copied from interface:IColorManager
The right gradient color of the section divider bar that is drawn between sections.- Specified by:
getSessionBarDividerColorRight
in interfaceIColorManager
- Returns:
- Color
-
getSelectedDayColorBottom
public org.eclipse.swt.graphics.Color getSelectedDayColorBottom()Description copied from interface:IFillBackgroundColors
The bottom background gradient color used for drawing selected columns.- Specified by:
getSelectedDayColorBottom
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getSelectedDayColorTop
public org.eclipse.swt.graphics.Color getSelectedDayColorTop()Description copied from interface:IFillBackgroundColors
The top background gradient color used for drawing selected columns.- Specified by:
getSelectedDayColorTop
in interfaceIFillBackgroundColors
- Returns:
-
getSelectedDayHeaderColorBottom
public org.eclipse.swt.graphics.Color getSelectedDayHeaderColorBottom()Description copied from interface:IFillBackgroundColors
The bottom background gradient color used for drawing selected columns in the header section.- Specified by:
getSelectedDayHeaderColorBottom
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getSelectedDayHeaderColorTop
public org.eclipse.swt.graphics.Color getSelectedDayHeaderColorTop()Description copied from interface:IFillBackgroundColors
The top background gradient color used for drawing selected columns in the header section.- Specified by:
getSelectedDayHeaderColorTop
in interfaceIFillBackgroundColors
- Returns:
- Color
-
getPhaseHeaderBackgroundColorBottom
public org.eclipse.swt.graphics.Color getPhaseHeaderBackgroundColorBottom()Description copied from interface:IColorManager
The bottom gradient background color used in the header where phases are written.- Specified by:
getPhaseHeaderBackgroundColorBottom
in interfaceIColorManager
- Returns:
- Color
-
getPhaseHeaderBackgroundColorTop
public org.eclipse.swt.graphics.Color getPhaseHeaderBackgroundColorTop()Description copied from interface:IColorManager
The top gradient background color used in the header where phases are written.- Specified by:
getPhaseHeaderBackgroundColorTop
in interfaceIColorManager
- Returns:
- Color
-
getOriginalLocationColor
public org.eclipse.swt.graphics.Color getOriginalLocationColor()Description copied from interface:IColorManager
For vertical drag/drops a box is drawn where the event was prior to the DND started to indicate what the original location of the event was (so the user can find their way back). This is the color used to draw the indication box.- Specified by:
getOriginalLocationColor
in interfaceIColorManager
- Returns:
- Color
-
getVerticalInsertMarkerColor
public org.eclipse.swt.graphics.Color getVerticalInsertMarkerColor()Description copied from interface:IColorManager
This is the color used to draw the vertical insert marker for vertical drag and drop. This is the line drawn between events to show where the DND would take place if the currently DND event is dropped.- Specified by:
getVerticalInsertMarkerColor
in interfaceIColorManager
- Returns:
- Color
-
getPeriodLineColor
public org.eclipse.swt.graphics.Color getPeriodLineColor()Description copied from interface:IColorManager
The color used for drawing the vertical period start and end line that shows where the period start and end dates are.- Specified by:
getPeriodLineColor
in interfaceIColorManager
- Returns:
- Color
-
getSectionDetailAreaForegroundColor
Description copied from interface:IColorManager
The foreground color used to draw the gradient background of the section detail area of the given GanttSection. This way it is possible to implement highlighting in the detail area based on the set data value.- Specified by:
getSectionDetailAreaForegroundColor
in interfaceIColorManager
- Parameters:
section
- The GanttSection for which the foreground color is requested.- Returns:
- Color
-
getSectionDetailAreaBackgroundColor
Description copied from interface:IColorManager
The background color used to draw the gradient background of the section detail area of the given GanttSection. This way it is possible to implement highlighting in the detail area based on the set data value.- Specified by:
getSectionDetailAreaBackgroundColor
in interfaceIColorManager
- Parameters:
section
- The GanttSection for which the background color is requested.- Returns:
- Color
-
drawSectionDetailGradientTopDown
public boolean drawSectionDetailGradientTopDown()Description copied from interface:IColorManager
Specify the direction of the gradient background of the section detail area.- Specified by:
drawSectionDetailGradientTopDown
in interfaceIColorManager
- Returns:
true
if the gradient should sweep from top to bottom, else sweeps from left to right
-