LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

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

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

public class LyAbstractGanttPanelManager._LySensitiveItem
extends java.lang.Object

Defines a sensitive item area.


Field Summary
static short INTERVAL_CENTER_PART
          The center part.
static short INTERVAL_LEFT_PART
          The left part.
static short INTERVAL_RIGHT_PART
          The right part.
 
Constructor Summary
LyAbstractGanttPanelManager._LySensitiveItem(java.awt.Rectangle rectangle, LyGanttElement element, short part, java.util.Date beginDate, java.util.Date endDate)
          Class constructor of a new _LySensitiveItem object with the specified attributes.
 
Method Summary
 java.util.Date getBeginDate()
          Returns the begin date of the item.
 java.util.Date getEndDate()
          Returns the end date of the item.
 LyGanttElement getGanttElement()
          Returns the Gantt element associated to this sensitive item.
 short getIntervalPart()
          Indicates which part of the interval represents the item.
 java.awt.Rectangle getRectangle()
          Indicates the sensitive area of this item.
 java.lang.String toString()
          Returns the content of this class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INTERVAL_LEFT_PART

public static final short INTERVAL_LEFT_PART
The left part.

See Also:
Constant Field Values

INTERVAL_CENTER_PART

public static final short INTERVAL_CENTER_PART
The center part.

See Also:
Constant Field Values

INTERVAL_RIGHT_PART

public static final short INTERVAL_RIGHT_PART
The right part.

See Also:
Constant Field Values
Constructor Detail

LyAbstractGanttPanelManager._LySensitiveItem

public LyAbstractGanttPanelManager._LySensitiveItem(java.awt.Rectangle rectangle,
                                                    LyGanttElement element,
                                                    short part,
                                                    java.util.Date beginDate,
                                                    java.util.Date endDate)
Class constructor of a new _LySensitiveItem object with the specified attributes.

Parameters:
rectangle - the sensitive area
element - the Gantt element
part - the interval part of the item
beginDate - the begin date
endDate - the end date
Method Detail

getRectangle

public java.awt.Rectangle getRectangle()
Indicates the sensitive area of this item.

Returns:
the sensitive area of this item

getGanttElement

public LyGanttElement getGanttElement()
Returns the Gantt element associated to this sensitive item.

Returns:
the associated Gantt element

getIntervalPart

public short getIntervalPart()
Indicates which part of the interval represents the item.

Returns:
INTERVAL_LEFT_PART, INTERVAL_CENTER_PART or INTERVAL_RIGHT_PART

getBeginDate

public java.util.Date getBeginDate()
Returns the begin date of the item.

Returns:
the begin date

getEndDate

public java.util.Date getEndDate()
Returns the end date of the item.

Returns:
the end date

toString

public java.lang.String toString()
Returns the content of this class.

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

(c) January 2013 - W4 S.A.

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