com.cc.framework.ui.control
Class CalendarControl

java.lang.Object
  extended bycom.cc.framework.ui.control.Control
      extended bycom.cc.framework.ui.control.TextControl
          extended bycom.cc.framework.ui.control.CalendarControl
All Implemented Interfaces:
AccessControlled, ActionBehavior, ClientHandler, DataModel, java.io.Serializable, StateModel, TextDataModel, TextStateModel

public class CalendarControl
extends TextControl

The calendar makes it easy to fill out date value field(s) by selecting the date from a popup calendar.

Since:
1.0
Version:
$Revision: 1.20 $
Author:
Gernot Schulz
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class com.cc.framework.ui.control.TextControl
 
Fields inherited from class com.cc.framework.ui.control.Control
log
 
Fields inherited from interface com.cc.framework.ui.model.StateModel
PROP_CONTROL
 
Constructor Summary
CalendarControl()
          Constructor
CalendarControl(CalendarDesignModel designModel)
          Constructor for CalendarControl
 
Method Summary
 java.lang.String getButtonAlt()
           
 java.lang.String getButtonTooltip()
           
 java.lang.String getFormat()
           
 java.lang.String getLayout()
           
 CalendarMode getMode()
          Returns the mode in which the user can invoke the calendar.
 boolean getShowButton()
           
 java.lang.String getShowFormat()
           
 
Methods inherited from class com.cc.framework.ui.control.TextControl
filter, getConverter, getDataModel, getDesignModel, getInputType, getMaxLength, getSize, getStateModel, getValue, reset, setDesignModel, setValue, setValue
 
Methods inherited from class com.cc.framework.ui.control.Control
addButton, allowAjaxRendering, execute, execute, execute, execute, execute, execute, execute, getAction, getAjaxId, getButtons, getControlName, getDesignRules, getFrameworkString, getHandler, getHandlers, getHeight, getHelp, getId, getLocaleName, getName, getPermission, getPrincipal, getProperty, getRunAt, getStyle, getStyleClass, getStyleId, getSummary, getTabIndex, getTooltip, getTransaction, getUniqueStyleId, getWidth, isAjaxEnabled, isDisabled, isFormElement, markDirty, onHelp, setAjaxAttribute, setHandler, setPrincipal, show, showButton, synchronizeState, synchronizeState
 
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.StateModel
synchronizeState
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values
Constructor Detail

CalendarControl

public CalendarControl()
Constructor


CalendarControl

public CalendarControl(CalendarDesignModel designModel)
Constructor for CalendarControl

Parameters:
designModel - TextDesignModel
Method Detail

getLayout

public java.lang.String getLayout()
Returns:
returns the HTML-Template to render the Control

getFormat

public java.lang.String getFormat()
Returns:
returns the Date Format

getShowFormat

public java.lang.String getShowFormat()
Returns:
returns where to display the format mask

getButtonAlt

public java.lang.String getButtonAlt()
Returns:
returns the alt attribute for the calendar icon

getButtonTooltip

public java.lang.String getButtonTooltip()
Returns:
returns the tooltip for the calendar icon

getShowButton

public boolean getShowButton()
Returns:
the state if the button should be displayed

getMode

public CalendarMode getMode()
Returns the mode in which the user can invoke the calendar.

Returns:
The mode


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