Interface IColorManager
- All Superinterfaces:
IFillBackgroundColors
- All Known Implementing Classes:
AbstractColorManager
,ColorThemeGrayBlue
,ColorThemeHighContrastBlack
,ColorThemeSilver
,ColorThemeWindowsBlue
,DefaultColorManager
public interface IColorManager extends IFillBackgroundColors
Interface holding all color methods, such as line colors, background fills, etc.
-
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
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
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
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
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
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.Methods inherited from interface org.eclipse.nebula.widgets.ganttchart.IFillBackgroundColors
getHolidayBackgroundColorBottom, getHolidayBackgroundColorTop, getSaturdayBackgroundColorBottom, getSaturdayBackgroundColorTop, getSelectedDayColorBottom, getSelectedDayColorTop, getSelectedDayHeaderColorBottom, getSelectedDayHeaderColorTop, getSundayBackgroundColorBottom, getSundayBackgroundColorTop, getWeekdayBackgroundColorBottom, getWeekdayBackgroundColorTop
-
Method Details
-
getLineColor
org.eclipse.swt.graphics.Color getLineColor()The color used for drawing lines.- Returns:
- Color
-
getWeekDividerLineColor
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).- Returns:
- Color
-
getTextColor
org.eclipse.swt.graphics.Color getTextColor()The color used for drawing text.- Returns:
- Color
-
getWeekdayTextColor
org.eclipse.swt.graphics.Color getWeekdayTextColor()The foreground color of the letters of the week in the bottom header.- Returns:
- Color
-
getSaturdayTextColor
org.eclipse.swt.graphics.Color getSaturdayTextColor()The color used for drawing the Saturday letter.- Returns:
- Color
-
getSundayTextColor
org.eclipse.swt.graphics.Color getSundayTextColor()The color used for drawing the Sunday letter.- Returns:
- Color
-
getTextHeaderBackgroundColorTop
org.eclipse.swt.graphics.Color getTextHeaderBackgroundColorTop()The top gradient background color used in the header where the full date is written.- Returns:
- Color
-
getTextHeaderBackgroundColorBottom
org.eclipse.swt.graphics.Color getTextHeaderBackgroundColorBottom()The bottom gradient background color used in the header where the full date is written.- Returns:
- Color
-
getTimeHeaderBackgroundColorTop
org.eclipse.swt.graphics.Color getTimeHeaderBackgroundColorTop()The top gradient background color used in the header where the days and time is written.- Returns:
- Color
-
getTimeHeaderBackgroundColorBottom
org.eclipse.swt.graphics.Color getTimeHeaderBackgroundColorBottom()The bottom gradient background color used in the header where the days and time is written.- Returns:
- Color
-
getPhaseHeaderBackgroundColorTop
org.eclipse.swt.graphics.Color getPhaseHeaderBackgroundColorTop()The top gradient background color used in the header where phases are written.- Returns:
- Color
-
getPhaseHeaderBackgroundColorBottom
org.eclipse.swt.graphics.Color getPhaseHeaderBackgroundColorBottom()The bottom gradient background color used in the header where phases are written.- Returns:
- Color
-
getPercentageBarColorTop
org.eclipse.swt.graphics.Color getPercentageBarColorTop()The top gradient color of the percentage bar drawn inside an event.- Returns:
- Color
-
getPercentageBarColorBottom
org.eclipse.swt.graphics.Color getPercentageBarColorBottom()The bottom gradient color of the percentage bar drawn inside an event.- Returns:
- Color
-
getPercentageBarRemainderColorTop
org.eclipse.swt.graphics.Color getPercentageBarRemainderColorTop()The top gradient color of the remainder percentage bar drawn inside an event. This only draws if drawFullPercentageBar() in settings returns true.- Returns:
- Color
-
getPercentageBarRemainderColorBottom
org.eclipse.swt.graphics.Color getPercentageBarRemainderColorBottom()The bottom gradient color of the remainder percentage bar drawn inside an event. This only draws if drawFullPercentageBar() in settings returns true.- Returns:
- Color
-
getArrowColor
org.eclipse.swt.graphics.Color getArrowColor()The color used for dependency lines and arrowheads.- Returns:
- Color
-
getReverseArrowColor
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. For any other line style it is ignored.- Returns:
- Color
-
getEventBorderColor
org.eclipse.swt.graphics.Color getEventBorderColor()The color used to draw the border around an event.- Returns:
- Color
-
getFadeOffColor1
org.eclipse.swt.graphics.Color getFadeOffColor1()The top most drop-shadow color vertically.- Returns:
- Color
-
getFadeOffColor2
org.eclipse.swt.graphics.Color getFadeOffColor2()The middle most drop-shadow color vertically.- Returns:
- Color
-
getFadeOffColor3
org.eclipse.swt.graphics.Color getFadeOffColor3()The bottom most drop-shadow color vertically.- Returns:
- Color
-
getTodayBackgroundColorTop
org.eclipse.swt.graphics.Color getTodayBackgroundColorTop()The top gradient background color used to represent the current day.- Returns:
- Color
-
getTodayBackgroundColorBottom
org.eclipse.swt.graphics.Color getTodayBackgroundColorBottom()The bottom gradient background color used to represent the current day.- Returns:
- Color
-
getRevisedStartColor
org.eclipse.swt.graphics.Color getRevisedStartColor()The color used to draw the revised start date of an event.- Returns:
- Color
-
getRevisedEndColor
org.eclipse.swt.graphics.Color getRevisedEndColor()The color used to draw the revised end date of an event.- Returns:
- Color
-
getZoomBackgroundColorBottom
org.eclipse.swt.graphics.Color getZoomBackgroundColorBottom()The bottom gradient background color used to draw the zoom box.- Returns:
- Color
-
getZoomBackgroundColorTop
org.eclipse.swt.graphics.Color getZoomBackgroundColorTop()The top gradient background color used to draw the zoom box.- Returns:
- Color
-
getZoomBorderColor
org.eclipse.swt.graphics.Color getZoomBorderColor()The color used to draw the zoom level box border.- Returns:
- Color
-
getZoomTextColor
org.eclipse.swt.graphics.Color getZoomTextColor()The color used to draw the text in the zoom box.- Returns:
- Color
-
getTooltipBackgroundColor
org.eclipse.swt.graphics.Color getTooltipBackgroundColor()The background color used in all tooltips.- Returns:
- Color
-
getTooltipForegroundColor
org.eclipse.swt.graphics.Color getTooltipForegroundColor()The foreground color used in all tooltips.- Returns:
- Color
-
getTooltipForegroundColorFaded
org.eclipse.swt.graphics.Color getTooltipForegroundColorFaded()The faded foreground color used in all tooltips (for less important text).- Returns:
- Color
-
getScopeBorderColor
org.eclipse.swt.graphics.Color getScopeBorderColor()The border color used for drawing scopes.- Returns:
- Color
-
getScopeGradientColorTop
org.eclipse.swt.graphics.Color getScopeGradientColorTop()One of the gradient colors for drawing scopes.- Returns:
- Color
-
getScopeGradientColorBottom
org.eclipse.swt.graphics.Color getScopeGradientColorBottom()One of the gradient colors for drawing scopes.- Returns:
- Color
-
getBlack
org.eclipse.swt.graphics.Color getBlack()The color black. Used in few places.- Returns:
- Color
-
getWhite
org.eclipse.swt.graphics.Color getWhite()The color white. Used in few places.- Returns:
- Color
-
getTopHorizontalLinesColor
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.- Returns:
- Color for top horizontal lines.
-
getHourTimeDividerColor
org.eclipse.swt.graphics.Color getHourTimeDividerColor()The color for the dividing line between each section of the bottom header in the day view.- Returns:
- Color
-
getWeekTimeDividerColor
org.eclipse.swt.graphics.Color getWeekTimeDividerColor()The color for the dividing line between each section of the bottom header in the week view.- Returns:
- Color
-
getMonthTimeDividerColor
org.eclipse.swt.graphics.Color getMonthTimeDividerColor()The color for the dividing line between each section of the bottom header in the month view.- Returns:
- Color
-
getYearTimeDividerColor
org.eclipse.swt.graphics.Color getYearTimeDividerColor()The color for the dividing line between each section of the bottom header in the year view.- Returns:
- Color
-
getTodayLineColor
org.eclipse.swt.graphics.Color getTodayLineColor()The color used for drawing the vertical "today" line that shows where the todays date is.- Returns:
- Color
-
getTodayLineAlpha
int getTodayLineAlpha()The alpha value of the Today line.- Returns:
- Alpha value between 0 and 255.
-
getWeekDividerAlpha
int getWeekDividerAlpha()The alpha value of the week divider line.- Returns:
- Alpha value between 0 and 255.
-
useAlphaDrawing
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. 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.- Returns:
- true if Alpha drawing should be on. Default is false.
-
useAlphaDrawingOn3DEventDropShadows
boolean useAlphaDrawingOn3DEventDropShadows()Separate flag from useAlphaDrawing. If this is set to true drop shadows on 3D events will be drawn using alpha channels.- Returns:
- true if Alpha drawing should be on for drop shadows on 3D events. Default is true.
-
getTickMarkColor
org.eclipse.swt.graphics.Color getTickMarkColor()The tick mark is the small line that separates dates in the top part of the header.- Returns:
- Tick mark color
-
getAdvancedTooltipDividerColor
org.eclipse.swt.graphics.Color getAdvancedTooltipDividerColor()The divider color in the advanced tooltip dialog- Returns:
- Color
-
getAdvancedTooltipDividerShadowColor
org.eclipse.swt.graphics.Color getAdvancedTooltipDividerShadowColor()The dropshadow color of the divider line in the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipInnerFillTopColor
org.eclipse.swt.graphics.Color getAdvancedTooltipInnerFillTopColor()The top gradient fill color of the background of the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipInnerFillBottomColor
org.eclipse.swt.graphics.Color getAdvancedTooltipInnerFillBottomColor()The bottom gradient fill color of the background of the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipTextColor
org.eclipse.swt.graphics.Color getAdvancedTooltipTextColor()The default foreground color used for displaying text in the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipBorderColor
org.eclipse.swt.graphics.Color getAdvancedTooltipBorderColor()The border color of the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipShadowCornerInnerColor
org.eclipse.swt.graphics.Color getAdvancedTooltipShadowCornerInnerColor()The fadeoff pixels used to make corners more rounded in the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipShadowCornerOuterColor
org.eclipse.swt.graphics.Color getAdvancedTooltipShadowCornerOuterColor()The fadeoff pixels used to make corners more rounded in the advanced tooltip dialog.- Returns:
- Color
-
getAdvancedTooltipShadowInnerCornerColor
org.eclipse.swt.graphics.Color getAdvancedTooltipShadowInnerCornerColor()The fadeoff shadow pixels used to make corners more rounded in the advanced tooltip dialog.- Returns:
- Color
-
getActiveSessionBarColorLeft
org.eclipse.swt.graphics.Color getActiveSessionBarColorLeft()The left gradient color of a section bar.- Returns:
- Color
-
getActiveSessionBarColorRight
org.eclipse.swt.graphics.Color getActiveSessionBarColorRight()The right gradient color of a section bar.- Returns:
- Color
-
getNonActiveSessionBarColorLeft
org.eclipse.swt.graphics.Color getNonActiveSessionBarColorLeft()The left gradient color of the section bar that is outside of any actual section.- Returns:
- Color
-
getNonActiveSessionBarColorRight
org.eclipse.swt.graphics.Color getNonActiveSessionBarColorRight()The right gradient color of the section bar that is outside of any actual section.- Returns:
- Color
-
getSessionBarDividerColorLeft
org.eclipse.swt.graphics.Color getSessionBarDividerColorLeft()The left gradient color of the section divider bar that is drawn between sections.- Returns:
- Color
-
getSessionBarDividerColorRight
org.eclipse.swt.graphics.Color getSessionBarDividerColorRight()The right gradient color of the section divider bar that is drawn between sections.- Returns:
- Color
-
getOriginalLocationColor
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). This is the color used to draw the indication box.- Returns:
- Color
-
getVerticalInsertMarkerColor
org.eclipse.swt.graphics.Color getVerticalInsertMarkerColor()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.- Returns:
- Color
-
getPeriodLineColor
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.- Returns:
- Color
-
getSectionDetailAreaForegroundColor
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.- Parameters:
section
- The GanttSection for which the foreground color is requested.- Returns:
- Color
-
getSectionDetailAreaBackgroundColor
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.- Parameters:
section
- The GanttSection for which the background color is requested.- Returns:
- Color
-
drawSectionDetailGradientTopDown
boolean drawSectionDetailGradientTopDown()Specify the direction of the gradient background of the section detail area.- Returns:
true
if the gradient should sweep from top to bottom, else sweeps from left to right
-