|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.ControlPainter com.cc.framework.ui.painter.def.DefPainterBase com.cc.framework.ui.painter.def.DefSchedulerPainter
Painter for the calendar control
Field Summary | |
private DefSchedulerViewPainter |
viewPainter
The internal used portion painter to paint the actual view of the scheduler |
Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
Constructor Summary | |
DefSchedulerPainter(PainterContext painterContext,
SchedulerControl ctrl)
Constructor |
Method Summary | |
protected org.apache.ecs.ConcreteElement |
doCreateBody()
This method creates the body of the scheduler control |
protected org.apache.ecs.ConcreteElement |
doCreateCreateButton()
Creates the New-Button |
protected org.apache.ecs.ConcreteElement |
doCreateElement()
Creates the HTML-Element. |
protected org.apache.ecs.ConcreteElement |
doCreateExportButton(boolean empty)
Creates the Export-Button |
protected org.apache.ecs.ConcreteElement |
doCreateFooter()
Creates an additional footer. |
protected org.apache.ecs.ConcreteElement |
doCreateFrames(AlignmentType alignmentFilter)
Creates a frame container with all frames that match the given filter |
protected org.apache.ecs.ConcreteElement |
doCreateHeader()
Creates an additional header. |
protected org.apache.ecs.ConcreteElement |
doCreatePrintButton(boolean empty)
Creates the Print-Button |
protected org.apache.ecs.ConcreteElement |
doCreateRefreshButton()
Creates the Refresh-Button |
protected JavaScript |
doCreateScript()
Creates the Java Script Code which is needed by the control |
protected java.util.Collection |
doCreateTitleButtons(DefSchedulerViewPainter viewPainter)
Creates the buttons in the frame header |
protected org.apache.ecs.ConcreteElement |
doCreateViewDayButton()
Creates a View-Button |
protected org.apache.ecs.ConcreteElement |
doCreateViewMonthButton()
Creates a View-Button |
protected DefSchedulerViewPainter |
doCreateViewPainter(SchedulerView view)
This methods creates the painter for the Scheduler View |
protected org.apache.ecs.ConcreteElement |
doCreateViewWeekButton()
Creates a View-Button |
protected org.apache.ecs.ConcreteElement |
doCreateViewWorkWeekButton()
Creates a View-Button |
protected org.apache.ecs.ConcreteElement |
doCreateViewYearButton()
Creates a View-Button |
protected SchedulerControl |
getCtrl()
Returns the Control instance |
java.lang.String |
getElementClass(int type)
The method returns the HTML style class required for a list or treelist control. |
protected FrameTitle |
getFrameTitle()
Creates the Title for the Frame |
protected DefSchedulerViewPainter |
getViewPainter()
Retrieves the cached View Painter |
protected boolean |
showFrame()
Checks if the frame should be painted |
Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase |
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private DefSchedulerViewPainter viewPainter
Constructor Detail |
public DefSchedulerPainter(PainterContext painterContext, SchedulerControl ctrl)
painterContext
- The PainterContextctrl
- The Control to renderMethod Detail |
protected SchedulerControl getCtrl()
protected DefSchedulerViewPainter doCreateViewPainter(SchedulerView view)
view
- The current view
protected DefSchedulerViewPainter getViewPainter()
protected boolean showFrame()
true
if the frame should be paintedprotected org.apache.ecs.ConcreteElement doCreateViewDayButton()
protected org.apache.ecs.ConcreteElement doCreateViewWorkWeekButton()
protected org.apache.ecs.ConcreteElement doCreateViewWeekButton()
protected org.apache.ecs.ConcreteElement doCreateViewMonthButton()
protected org.apache.ecs.ConcreteElement doCreateViewYearButton()
protected org.apache.ecs.ConcreteElement doCreateCreateButton()
protected org.apache.ecs.ConcreteElement doCreateRefreshButton()
protected org.apache.ecs.ConcreteElement doCreateExportButton(boolean empty)
empty
- Indicates an empty list
protected org.apache.ecs.ConcreteElement doCreatePrintButton(boolean empty)
empty
- Indicates an empty list
protected java.util.Collection doCreateTitleButtons(DefSchedulerViewPainter viewPainter)
viewPainter
- The current view painter
protected org.apache.ecs.ConcreteElement doCreateBody()
protected org.apache.ecs.ConcreteElement doCreateHeader()
protected org.apache.ecs.ConcreteElement doCreateFooter()
protected org.apache.ecs.ConcreteElement doCreateFrames(AlignmentType alignmentFilter)
alignmentFilter
- the filter
null
protected FrameTitle getFrameTitle()
null
protected org.apache.ecs.ConcreteElement doCreateElement()
ControlPainter
doCreateElement
in class ControlPainter
ControlPainter.doCreateElement()
public java.lang.String getElementClass(int type)
ControlPainter
getElementClass
in class DefPainterBase
ControlPainter.getElementClass(int)
protected JavaScript doCreateScript()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |