LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts.gantt
Class LyStrutsGanttCanvas._LySpecialDay

java.lang.Object
  extended by leon.view.web.struts.gantt.LyStrutsGanttCanvas._LySpecialDay
Enclosing class:
LyStrutsGanttCanvas

public static class LyStrutsGanttCanvas._LySpecialDay
extends java.lang.Object

Internal class representing a special day for the planning.


Field Summary
static short TYPE_DAY
          The type day.
static short TYPE_DAY_OF_WEEK
          The type day of week.
static short TYPE_DAY_OF_YEAR
          The type day of year.
 
Constructor Summary
LyStrutsGanttCanvas._LySpecialDay(short type, java.util.Calendar calendar, java.awt.Color color)
          Constructor.
 
Method Summary
 java.awt.Color getColor()
          Gets the color of this day.
 boolean matchDate(java.util.Calendar calendar)
          Indicates if the special day corresponds to the date of given calendar.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_DAY_OF_WEEK

public static final short TYPE_DAY_OF_WEEK
The type day of week.

See Also:
Constant Field Values

TYPE_DAY_OF_YEAR

public static final short TYPE_DAY_OF_YEAR
The type day of year.

See Also:
Constant Field Values

TYPE_DAY

public static final short TYPE_DAY
The type day.

See Also:
Constant Field Values
Constructor Detail

LyStrutsGanttCanvas._LySpecialDay

public LyStrutsGanttCanvas._LySpecialDay(short type,
                                         java.util.Calendar calendar,
                                         java.awt.Color color)
Constructor.

Parameters:
type - the type of the special day
calendar - the calendar of the special day
color - the color of the special day
Method Detail

matchDate

public boolean matchDate(java.util.Calendar calendar)
Indicates if the special day corresponds to the date of given calendar.

Parameters:
calendar - the given calendar
Returns:
true if the day corresponds to the date of the calendar, false otherwise

getColor

public java.awt.Color getColor()
Gets the color of this day.

Returns:
the color of the day

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com