|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.ClientHandlerImp
com.cc.framework.ui.model.imp.ControlDesignModelImp
com.cc.framework.ui.model.imp.TextDesignModelImp
com.cc.framework.ui.model.imp.CalendarDesignModelImp
The design model for the Calendar control
| Field Summary | |
private java.lang.String |
buttonAlt
The alt attribute. |
private java.lang.String |
buttonTooltip
An additional tooltip displayed if the user moves the mose over the Calendar icon |
private java.lang.String |
format
Date Format |
private java.lang.String |
layout
The HTML/JSP Template to use |
private CalendarMode |
mode
The mode controls how the calendar window should behave. |
private static long |
serialVersionUID
Serial Version UID |
private boolean |
showButton
If this flag is set to false the button behind the input field will be hidden |
private java.lang.String |
showFormat
Specifies if and where the format mask should be displayed |
| Fields inherited from class com.cc.framework.ui.model.imp.TextDesignModelImp |
|
| Fields inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
|
| Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
| Constructor Summary | |
CalendarDesignModelImp()
Constructor for ColorPickerDesignModelImp |
|
| Method Summary | |
java.lang.String |
getButtonAlt()
Returns the alt attribute for the calendar image |
java.lang.String |
getButtonTooltip()
Returns the tooltip for the calendar image |
java.lang.String |
getFormat()
Returns the date and time format mask |
java.lang.String |
getLayout()
|
CalendarMode |
getMode()
Returns the mode in which the user can invoke the calendar. |
boolean |
getShowButton()
Returns if Button for the PopUp should be displayed |
java.lang.String |
getShowFormat()
Returns the alignment for the mask if displayed |
void |
setButtonAlt(java.lang.String buttonAlt)
Sets the alt attribute for the calendar image |
void |
setButtonTooltip(java.lang.String buttonTooltip)
Sets the tooltip for the calendar image |
void |
setFormat(java.lang.String format)
Sets the date and format mask like "yyyy.mm.dd HH.mm.ss" |
void |
setLayout(java.lang.String layout)
Sets the HTML-Layout which configures the Control |
void |
setMode(CalendarMode mode)
Sets the mode in which the user can invoke the calendar. |
void |
setShowButton(boolean show)
Shows the button behind the input field to open the calendar |
void |
setShowFormat(java.lang.String showFormat)
Specifies if and where the mask should be displayed none (default) = displays no format mask right = displays the format mask behind the icon bottom = displays the format mask under the input field |
| Methods inherited from class com.cc.framework.ui.model.imp.TextDesignModelImp |
filter, getConverter, getInputType, getMaxLength, getSize, setConverter, setFilter, setInputType, setMaxLength, setSize |
| Methods inherited from class com.cc.framework.ui.model.imp.ControlDesignModelImp |
addDesignRule, enableAjax, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getWidth, hasShadow, isAjaxEnabled, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTooltip, setTransaction, setWidth, show |
| Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cc.framework.ui.model.TextDesignModel |
filter, getConverter, getInputType, getMaxLength, getSize, getTooltip, setConverter, setFilter, setInputType, setMaxLength, setSize, setTooltip |
| Methods inherited from interface com.cc.framework.ui.model.ControlDesignModel |
addDesignRule, getAction, getBorder, getDesignRules, getHeight, getHelp, getId, getLocaleName, getName, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTransaction, getWidth, hasShadow, isDisabled, isDynamicDesignModel, isFormElement, setAction, setBorder, setDisabled, setDynamicDesignModel, setFormElement, setHeight, setHelp, setId, setLocaleName, setName, setPermission, setProperty, setRunAt, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabIndex, setTransaction, setWidth |
| Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
| Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
| Methods inherited from interface com.cc.framework.ui.model.ActionBehavior |
isAjaxEnabled |
| Methods inherited from interface com.cc.framework.ui.model.AjaxSupport |
enableAjax, isAjaxEnabled |
| Field Detail |
private static final long serialVersionUID
private java.lang.String format
private java.lang.String layout
private java.lang.String showFormat
private java.lang.String buttonTooltip
private java.lang.String buttonAlt
private boolean showButton
private CalendarMode mode
| Constructor Detail |
public CalendarDesignModelImp()
| Method Detail |
public java.lang.String getFormat()
CalendarDesignModel
getFormat in interface CalendarDesignModelCalendarDesignModel.getFormat()public java.lang.String getLayout()
getLayout in interface CalendarDesignModelCalendarDesignModel.getLayout()public void setFormat(java.lang.String format)
CalendarDesignModel
setFormat in interface CalendarDesignModelformat - The date and time formatCalendarDesignModel.setFormat(java.lang.String)public void setLayout(java.lang.String layout)
CalendarDesignModel
setLayout in interface CalendarDesignModellayout - URI of the HTML LayoutCalendarDesignModel.setLayout(java.lang.String)public java.lang.String getShowFormat()
CalendarDesignModel
getShowFormat in interface CalendarDesignModelCalendarDesignModel.getShowFormat()public void setShowFormat(java.lang.String showFormat)
CalendarDesignModel
setShowFormat in interface CalendarDesignModelshowFormat - AlignmentCalendarDesignModel.setShowFormat(java.lang.String)public void setButtonAlt(java.lang.String buttonAlt)
CalendarDesignModel
setButtonAlt in interface CalendarDesignModelbuttonAlt - The alt attribute if no image is displayedCalendarDesignModel.setButtonAlt(java.lang.String)public void setButtonTooltip(java.lang.String buttonTooltip)
CalendarDesignModel
setButtonTooltip in interface CalendarDesignModelbuttonTooltip - The tooltipCalendarDesignModel.setButtonTooltip(java.lang.String)public java.lang.String getButtonTooltip()
CalendarDesignModel
getButtonTooltip in interface CalendarDesignModelCalendarDesignModel.getButtonTooltip()public java.lang.String getButtonAlt()
CalendarDesignModel
getButtonAlt in interface CalendarDesignModelCalendarDesignModel.getButtonAlt()public void setShowButton(boolean show)
CalendarDesignModel
setShowButton in interface CalendarDesignModelshow - The State: true if the button should be
displayed; false otherwiseCalendarDesignModel.setShowButton(boolean)public boolean getShowButton()
CalendarDesignModel
getShowButton in interface CalendarDesignModeltrue if the button should be displayed;
false otherwiseCalendarDesignModel.getShowButton()public CalendarMode getMode()
CalendarDesignModel
getMode in interface CalendarDesignModelCalendarDesignModel.getMode()public void setMode(CalendarMode mode)
CalendarDesignModel
setMode in interface CalendarDesignModelmode - The modeCalendarDesignModel.setMode(com.cc.framework.ui.model.CalendarMode)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||