LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.component
Class LyAbstractGanttPanelManager._LySpecialDay

java.lang.Object
  extended by leon.view.win.swing.component.LyAbstractGanttPanelManager._LySpecialDay
Enclosing class:
LyAbstractGanttPanelManager

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

Internal class representing a special day for the planning.


Field Summary
static short TYPE_DAY
          A generic day.
static short TYPE_DAY_OF_WEEK
          A day of week.
static short TYPE_DAY_OF_YEAR
          A day of year.
 
Constructor Summary
LyAbstractGanttPanelManager._LySpecialDay(short type, java.util.Calendar calendar, java.awt.Color color)
          Default constructor for a special day object.
 
Method Summary
 java.awt.Color getColor()
          Returns the associated color of this day.
 boolean matchDate(java.util.Calendar calendar)
          Indicates if the special day corresponds to the date of the 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
A day of week.

See Also:
Constant Field Values

TYPE_DAY_OF_YEAR

public static final short TYPE_DAY_OF_YEAR
A day of year.

See Also:
Constant Field Values

TYPE_DAY

public static final short TYPE_DAY
A generic day.

See Also:
Constant Field Values
Constructor Detail

LyAbstractGanttPanelManager._LySpecialDay

public LyAbstractGanttPanelManager._LySpecialDay(short type,
                                                 java.util.Calendar calendar,
                                                 java.awt.Color color)
Default constructor for a special day object.

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

matchDate

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

Parameters:
calendar - Represents the day to test.
Returns:
true if the specified day is the same as this special day, false otherwise

getColor

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

Returns:
the color of this special day

(c) January 2013 - W4 S.A.

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