com.cc.framework.ui.painter.def.scheduler
Class DefWorkWeekPainter

java.lang.Object
  extended bycom.cc.framework.ui.painter.ControlPortionPainter
      extended bycom.cc.framework.ui.painter.def.scheduler.DefSchedulerViewPainter
          extended bycom.cc.framework.ui.painter.def.scheduler.DefDayViewPainter
              extended bycom.cc.framework.ui.painter.def.scheduler.DefWorkWeekPainter

public class DefWorkWeekPainter
extends DefDayViewPainter

The Working Week View Calendar Painter

Version:
$Revision: 1.8 $
Author:
Harald Schulz

Nested Class Summary
 
Nested classes inherited from class com.cc.framework.ui.painter.def.scheduler.DefDayViewPainter
DefDayViewPainter.AppointmentInfo, DefDayViewPainter.DayInfo
 
Nested classes inherited from class com.cc.framework.ui.painter.def.scheduler.DefSchedulerViewPainter
DefSchedulerViewPainter.CompositeElement
 
Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.def.scheduler.DefDayViewPainter
 
Fields inherited from class com.cc.framework.ui.painter.def.scheduler.DefSchedulerViewPainter
DATEFORMAT_DATETIME, DATEFORMAT_DAY, DATEFORMAT_DETAIL, DATEFORMAT_HOUR, DATEFORMAT_MONTH_OF_YEAR, DATEFORMAT_TIME, DATEFORMAT_WEEK, DATEFORMAT_WEEKDAY, DATEFORMAT_WEEKDAY_SHORT, LABELFORMAT_LONG, LABELFORMAT_SHORT, STATE_APPOINTMENTS, STATE_DAY_IN_MONTH, STATE_FIRST_DAY, STATE_FIRST_MONTH, STATE_HIDDEN, STATE_LAST_MONTH, STATE_LEFTMOST_MONTH, STATE_RIGHTMOST_MONTH, STATE_TODAY
 
Fields inherited from class com.cc.framework.ui.painter.ControlPortionPainter
 
Constructor Summary
DefWorkWeekPainter()
           
 
Method Summary
 org.apache.ecs.ConcreteElement doCreateNavigationButton(boolean up)
          Creates the Roll-Button
protected  java.text.DateFormat getDateFormat(int formatterId)
          Retrieves the formatter for the given format id
protected  java.util.Calendar[] getDays()
          Collect all working days of the current week
 
Methods inherited from class com.cc.framework.ui.painter.def.scheduler.DefDayViewPainter
doCreateAllDayArea, doCreateBody, doCreateDayHeader, doCreateDayLabel, doCreateMetricRow, doCreateOverflowIndicatorRow, getAppointmentColumns, getAppointmentsOutOfBoundsCount, getDayLabel, getDayTooltip, getHourLabel, getTotalColumns, getTotalRows
 
Methods inherited from class com.cc.framework.ui.painter.def.scheduler.DefSchedulerViewPainter
addPopup, addPopupWindow, addPopupWindow, createClockImage, createDateFormatter, createNavigationButton, doCreateAppointment, doCreateAppointmentList, doCreateHeader, doCreateMoreButton, doCreateView, getAppointmentLabel, getAppointmentTimeStr, getAppointmentTooltip, getCtrl, getDayClass, getDayOfWeekMask, getDayState, getDetail, getFirstDayOfWeek, getPopups, getPriorityImage, hasPopups, markAsToday, setControlPainter, showDay, showFrame
 
Methods inherited from class com.cc.framework.ui.painter.ControlPortionPainter
attr, attr, attr, createActionPainter, createActionPainter, createImage, createImage, createImage, createSpacer, getColor, getControlPainter, getElementClass, getFrameworkString, getFrameworkString, getImage, getImage, getImageSrc, getImageSrc, getLocale, getPageContext, getPainterContext, getPrincipal, getSafeLocale, html, html, html, isRunAtClient, localize, removeHtml, removeHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefWorkWeekPainter

public DefWorkWeekPainter()
Method Detail

getDateFormat

protected java.text.DateFormat getDateFormat(int formatterId)
Description copied from class: DefSchedulerViewPainter
Retrieves the formatter for the given format id

Overrides:
getDateFormat in class DefDayViewPainter
See Also:
DefSchedulerViewPainter.getDateFormat(int)

doCreateNavigationButton

public org.apache.ecs.ConcreteElement doCreateNavigationButton(boolean up)
Description copied from class: DefSchedulerViewPainter
Creates the Roll-Button

Overrides:
doCreateNavigationButton in class DefDayViewPainter
See Also:
DefSchedulerViewPainter.doCreateNavigationButton(boolean)

getDays

protected java.util.Calendar[] getDays()
Collect all working days of the current week

Overrides:
getDays in class DefDayViewPainter
Returns:
Array with Date Objects
See Also:
DefDayViewPainter.getDays()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.