|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.painter.ControlPainter
com.cc.framework.ui.painter.def.DefPainterBase
com.cc.framework.ui.painter.def.DefRecurrencePatternPainter
Painter for the Recurrence Pattern control
| Field Summary |
| Fields inherited from class com.cc.framework.ui.painter.ControlPainter |
log |
| Constructor Summary | |
DefRecurrencePatternPainter(PainterContext painterContext,
RecurrencePatternControl ctrl)
Constructor |
|
| Method Summary | |
protected org.apache.ecs.ConcreteElement |
doCreateDay(java.lang.String prefix,
java.util.Locale locale)
Creates the Section for the "daily" recurrence pattern |
protected org.apache.ecs.html.Option[] |
doCreateDayMaskOptions(java.util.Locale locale,
int selected)
Creates an option list with the day mask options |
protected org.apache.ecs.ConcreteElement |
doCreateElement()
Creates the HTML-Element. |
protected org.apache.ecs.html.Option[] |
doCreateInstanceOptions(java.util.Locale locale,
int selected)
Creates an option list with the instance options |
protected org.apache.ecs.ConcreteElement |
doCreateMonthly(java.lang.String prefix,
java.util.Locale locale)
Creates the Section for the "monthly" recurrence pattern |
protected org.apache.ecs.html.Option[] |
doCreateMonthOptions(java.util.Locale locale,
int selected)
Creates an option list with the twelve month names |
protected org.apache.ecs.ConcreteElement |
doCreateNone(java.lang.String prefix,
java.util.Locale locale)
Creates the Section for the "none" recurrence pattern |
protected JavaScript |
doCreateScript(java.lang.String prefix)
Creates the Java Script Code which is needed by the control |
protected org.apache.ecs.ConcreteElement |
doCreateSection(RecurrenceType type,
org.apache.ecs.ConcreteElement body)
Creates the wrapper element for a section |
protected org.apache.ecs.ElementContainer |
doCreateTypeMenu(java.lang.String prefix,
java.util.Locale locale)
Creates the RecurrenceType options on the left side |
protected org.apache.ecs.ConcreteElement |
doCreateWeekly(java.lang.String prefix,
java.util.Locale locale)
Creates the Section for the "weekly" recurrence pattern |
protected org.apache.ecs.ConcreteElement |
doCreateYearly(java.lang.String prefix,
java.util.Locale locale)
Creates the Section for the "yearly" recurrence pattern |
protected org.apache.ecs.ElementContainer |
formatElements(java.lang.String patternId,
org.apache.ecs.ConcreteElement[] elements)
This method works similar to java.text.MessageFormat with the only difference that it concatenates ConcreteElement's into an ElementContainer |
protected RecurrencePatternControl |
getCtrl()
Retrieves the control for this painter |
protected java.lang.String |
htmlfw(java.lang.String resourceId)
Utility function to HTL encode a framework string |
protected boolean |
isDisabled()
Checks if the control should be rendered in disabled mode |
| Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase |
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon, getElementClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefRecurrencePatternPainter(PainterContext painterContext,
RecurrencePatternControl ctrl)
painterContext - The PainterContextctrl - The Control to render| Method Detail |
protected RecurrencePatternControl getCtrl()
protected boolean isDisabled()
true when the control should be rendered
as read onlyprotected java.lang.String htmlfw(java.lang.String resourceId)
resourceId - Resource Identifier
protected org.apache.ecs.ElementContainer formatElements(java.lang.String patternId,
org.apache.ecs.ConcreteElement[] elements)
patternId - Formatting pattern resource Idelements - The elements that should be placed in the markups
protected org.apache.ecs.ConcreteElement doCreateElement()
ControlPainter
doCreateElement in class ControlPainterControlPainter.doCreateElement()protected JavaScript doCreateScript(java.lang.String prefix)
prefix - The controls prefix
protected org.apache.ecs.ElementContainer doCreateTypeMenu(java.lang.String prefix,
java.util.Locale locale)
prefix - The controls prefixlocale - Locale to use
protected org.apache.ecs.ConcreteElement doCreateSection(RecurrenceType type,
org.apache.ecs.ConcreteElement body)
type - recurrence type of the sectionbody - sections body
protected org.apache.ecs.ConcreteElement doCreateNone(java.lang.String prefix,
java.util.Locale locale)
prefix - The controls prefixlocale - Locale to use
protected org.apache.ecs.ConcreteElement doCreateDay(java.lang.String prefix,
java.util.Locale locale)
prefix - The controls prefixlocale - Locale to use
protected org.apache.ecs.ConcreteElement doCreateWeekly(java.lang.String prefix,
java.util.Locale locale)
prefix - The controls prefixlocale - Locale to use
protected org.apache.ecs.ConcreteElement doCreateMonthly(java.lang.String prefix,
java.util.Locale locale)
prefix - The controls prefixlocale - Locale to use
protected org.apache.ecs.ConcreteElement doCreateYearly(java.lang.String prefix,
java.util.Locale locale)
prefix - The controls prefixlocale - Locale to use
protected org.apache.ecs.html.Option[] doCreateDayMaskOptions(java.util.Locale locale,
int selected)
locale - Locale to useselected - The selected mask
protected org.apache.ecs.html.Option[] doCreateMonthOptions(java.util.Locale locale,
int selected)
locale - Locale to useselected - The selected month index
protected org.apache.ecs.html.Option[] doCreateInstanceOptions(java.util.Locale locale,
int selected)
locale - Locale to useselected - The selected instance
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||