Class SchoolYearAdapter
java.lang.Object
be.gaudry.swing.edu.planning.scheduler.adapter.SchoolYearAdapter
- All Implemented Interfaces:
IPeriod
,be.gaudry.swing.schedule.model.Resource
,be.gaudry.swing.schedule.model.Task
,Serializable
public class SchoolYearAdapter
extends Object
implements be.gaudry.swing.schedule.model.Resource, be.gaudry.swing.schedule.model.Task
- Since:
- 1.0 28 janv. 2009
- Author:
- Steph GAUDRY
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe date when theIPeriod
stops.org.joda.time.Interval
String representation of the DefaultPeriod including thestart date
and theend date
.getLabel()
be.gaudry.swing.schedule.model.Resource
The date when theIPeriod
starts.getTasks()
getValueAt(int colIndex)
boolean
boolean
void
setEndDate(Date endDate)
void
setStartDate(Date startDate)
toString()
-
Constructor Details
-
SchoolYearAdapter
- Parameters:
schoolYear
-
-
-
Method Details
-
toString
- Specified by:
toString
in interfacebe.gaudry.swing.schedule.model.Resource
- Overrides:
toString
in classObject
- See Also:
SchoolYear.toString()
-
getChildResources
- Specified by:
getChildResources
in interfacebe.gaudry.swing.schedule.model.Resource
-
getTasks
- Specified by:
getTasks
in interfacebe.gaudry.swing.schedule.model.Resource
-
getValueAt
- Specified by:
getValueAt
in interfacebe.gaudry.swing.schedule.model.Resource
-
hasChildren
public boolean hasChildren()- Specified by:
hasChildren
in interfacebe.gaudry.swing.schedule.model.Resource
-
getInterval
public org.joda.time.Interval getInterval()- Specified by:
getInterval
in interfacebe.gaudry.swing.schedule.model.Task
-
getLabel
- Specified by:
getLabel
in interfacebe.gaudry.swing.schedule.model.Task
-
getResource
public be.gaudry.swing.schedule.model.Resource getResource()- Specified by:
getResource
in interfacebe.gaudry.swing.schedule.model.Task
-
getToolTipText
- Specified by:
getToolTipText
in interfacebe.gaudry.swing.schedule.model.Task
-
isGraphicallyEditable
public boolean isGraphicallyEditable()- Specified by:
isGraphicallyEditable
in interfacebe.gaudry.swing.schedule.model.Task
-
getEndDate
Description copied from interface:IPeriod
The date when theIPeriod
stops.- Specified by:
getEndDate
in interfaceIPeriod
- Returns:
- the endDate
-
getStartDate
Description copied from interface:IPeriod
The date when theIPeriod
starts.- Specified by:
getStartDate
in interfaceIPeriod
- Returns:
- the startDate
-
setEndDate
- Specified by:
setEndDate
in interfaceIPeriod
- Parameters:
endDate
- the endDate to set- See Also:
IPeriod.getEndDate()
-
setStartDate
- Specified by:
setStartDate
in interfaceIPeriod
- Parameters:
startDate
- the startDate to set- See Also:
IPeriod.getStartDate()
-
getIntervalString
Description copied from interface:IPeriod
String representation of the DefaultPeriod including thestart date
and theend date
.- Specified by:
getIntervalString
in interfaceIPeriod
- Returns:
- the
IPeriod
String representation
-