Class Holiday
- java.lang.Object
-
- org.eclipse.nebula.widgets.ganttchart.Holiday
-
public class Holiday extends java.lang.ObjectOne Holiday Object represents one Holiday/Spare/Special Day in the GANTT chart.
This object can take an additional tooltip which pops up when hovering the mouse over a holiday.
The Tooltip is only displayed when the tooltip is not null andISettings.showHolidayToolTips()is configured to return true.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) org.eclipse.swt.graphics.RectanglegetBounds()java.util.CalendargetDate()java.lang.StringgetTooltip()booleanhasTooltip()(package private) voidresetBounds()(package private) voidupdateBounds(org.eclipse.swt.graphics.Rectangle rec)voidupdateX(int x)voidupdateY(int y)
-
-
-
Method Detail
-
resetBounds
void resetBounds()
-
updateBounds
void updateBounds(org.eclipse.swt.graphics.Rectangle rec)
-
getBounds
org.eclipse.swt.graphics.Rectangle getBounds()
-
getTooltip
public java.lang.String getTooltip()
-
getDate
public java.util.Calendar getDate()
-
updateX
public void updateX(int x)
-
updateY
public void updateY(int y)
-
hasTooltip
public boolean hasTooltip()
-
-