|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 CalendarDesignModel
CalendarDesignModel.getFormat()
public java.lang.String getLayout()
getLayout
in interface CalendarDesignModel
CalendarDesignModel.getLayout()
public void setFormat(java.lang.String format)
CalendarDesignModel
setFormat
in interface CalendarDesignModel
format
- The date and time formatCalendarDesignModel.setFormat(java.lang.String)
public void setLayout(java.lang.String layout)
CalendarDesignModel
setLayout
in interface CalendarDesignModel
layout
- URI of the HTML LayoutCalendarDesignModel.setLayout(java.lang.String)
public java.lang.String getShowFormat()
CalendarDesignModel
getShowFormat
in interface CalendarDesignModel
CalendarDesignModel.getShowFormat()
public void setShowFormat(java.lang.String showFormat)
CalendarDesignModel
setShowFormat
in interface CalendarDesignModel
showFormat
- AlignmentCalendarDesignModel.setShowFormat(java.lang.String)
public void setButtonAlt(java.lang.String buttonAlt)
CalendarDesignModel
setButtonAlt
in interface CalendarDesignModel
buttonAlt
- The alt attribute if no image is displayedCalendarDesignModel.setButtonAlt(java.lang.String)
public void setButtonTooltip(java.lang.String buttonTooltip)
CalendarDesignModel
setButtonTooltip
in interface CalendarDesignModel
buttonTooltip
- The tooltipCalendarDesignModel.setButtonTooltip(java.lang.String)
public java.lang.String getButtonTooltip()
CalendarDesignModel
getButtonTooltip
in interface CalendarDesignModel
CalendarDesignModel.getButtonTooltip()
public java.lang.String getButtonAlt()
CalendarDesignModel
getButtonAlt
in interface CalendarDesignModel
CalendarDesignModel.getButtonAlt()
public void setShowButton(boolean show)
CalendarDesignModel
setShowButton
in interface CalendarDesignModel
show
- The State: true
if the button should be
displayed; false
otherwiseCalendarDesignModel.setShowButton(boolean)
public boolean getShowButton()
CalendarDesignModel
getShowButton
in interface CalendarDesignModel
true
if the button should be displayed;
false
otherwiseCalendarDesignModel.getShowButton()
public CalendarMode getMode()
CalendarDesignModel
getMode
in interface CalendarDesignModel
CalendarDesignModel.getMode()
public void setMode(CalendarMode mode)
CalendarDesignModel
setMode
in interface CalendarDesignModel
mode
- 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 |