Class Holiday
java.lang.Object
org.eclipse.nebula.widgets.ganttchart.Holiday
public class Holiday
extends java.lang.Object
One 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 and
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 and
ISettings.showHolidayToolTips()
is configured to return true.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description (package private) org.eclipse.swt.graphics.Rectangle
getBounds()
java.util.Calendar
getDate()
java.lang.String
getTooltip()
boolean
hasTooltip()
(package private) void
resetBounds()
(package private) void
updateBounds(org.eclipse.swt.graphics.Rectangle rec)
void
updateX(int x)
void
updateY(int y)
-
Constructor Details
-
Method Details
-
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()
-