org.rcfaces.core.component
Class DateChooserComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.rcfaces.core.internal.component.CameliaInputComponent
                      extended by org.rcfaces.core.component.AbstractInputComponent
                          extended by org.rcfaces.core.component.AbstractCalendarComponent
                              extended by org.rcfaces.core.component.DateChooserComponent
All Implemented Interfaces:
EditableValueHolder, StateHolder, ValueHolder, IAccessKeyCapability, IBorderCapability, IBorderTypeCapability, ICalendarLayoutCapability, IClientDataCapability, IClientDatesStrategyCapability, IComponentLocaleCapability, IComponentTimeZoneCapability, IDisabledCapability, IErrorEventCapability, IFocusBlurEventCapability, IFontCapability, IForCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IHorizontalTextPositionCapability, IImageCapability, IImageSizeCapability, IImmediateCapability, IInitEventCapability, IKeyDownEventCapability, IKeyEventCapability, IKeyPressEventCapability, IKeyUpEventCapability, ILayoutPositionCapability, ILiteralLocaleCapability, ILiteralTimeZoneCapability, ILookAndFeelCapability, IMarginCapability, IMouseEventCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IReadOnlyCapability, ISelectionEventCapability, IServerDataCapability, ISizeCapability, IStatesImageCapability, IStyleClassCapability, ITabIndexCapability, ITextAlignmentCapability, ITextCapability, ITextPositionCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IValidationEventCapability, IValueChangeEventCapability, IValueLockedCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, IImageButtonFamilly, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IConvertValueHolder, org.rcfaces.core.internal.capability.IRCFacesComponent, org.rcfaces.core.internal.capability.ISubmittedExternalValue, org.rcfaces.core.internal.manager.IClientDataManager, org.rcfaces.core.internal.manager.IContainerManager, org.rcfaces.core.internal.manager.IServerDataManager, org.rcfaces.core.internal.manager.ITransientAttributesManager

public class DateChooserComponent
extends AbstractCalendarComponent
implements IImageButtonFamilly, IValueChangeEventCapability, IForCapability, ICalendarLayoutCapability

The dateChooser Component is a button that shows a calendar and help the user to choose a date. It can be associated to a entry field, the choosen date is then automatically entered in the field. It works like an Image Button Component. The dateChooser Component does not provide an Entry field.

The dateChooser Component has the following capabilities :

The default dateChooser renderer is link to the f_dateChooser javascript class. f_dateChooser extends f_imageButton, fa_calendarPopup

Table of component style classes:

Style Name Description
f_dateChooser Defines styles for the wrapper DIV element.
f_dateChooser_image Defines styles for the wrapper IMG element for the calendar icone .
f_dateChooser_popup Defines styles for the wrapper DIV element for the calendar pop-up.


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent
engine
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.rcfaces.core.component.capability.IBorderTypeCapability
NONE_BORDER_TYPE_NAME
 
Fields inherited from interface org.rcfaces.core.component.capability.ITextPositionCapability
BOTTOM_POSITION, TOP_POSITION
 
Fields inherited from interface org.rcfaces.core.component.capability.IHorizontalTextPositionCapability
CENTER_POSITION, DEFAULT_POSITION, LEFT_POSITION, RIGHT_POSITION, UNKNOWN_POSITION
 
Fields inherited from interface org.rcfaces.core.component.capability.ICalendarLayoutCapability
DEFAULT_LAYOUT, FULL_LAYOUT, LONG_LAYOUT, MEDIUM_LAYOUT, SHORT_LAYOUT
 
Fields inherited from interface org.rcfaces.core.component.capability.IClientDatesStrategyCapability
ALL_DATES_STRATEGY, DEFAULT_DATES_STRATEGY, MONTH_DATES_STRATEGY, YEAR_DATES_STRATEGY
 
Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE
 
Constructor Summary
DateChooserComponent()
           
DateChooserComponent(String componentId)
           
 
Method Summary
 void addValueChangeListener(ValueChangeListener listener)
          Adds a listener to the component for the valueChange event
 String getBorderType()
          Returns a string that indicates the type of border the component should show.
 String getBorderType(FacesContext facesContext)
          See getBorderType() for more details
 int getCalendarLayout()
           
 int getCalendarLayout(FacesContext facesContext)
          See getCalendarLayout() for more details
protected  Set getCameliaFields()
           
 Date getDefaultSelectedDate()
           
 Date getDefaultSelectedDate(FacesContext facesContext)
           
 String getDisabledImageURL()
          Returns an url string pointing to the image used for the disabled state.
 String getDisabledImageURL(FacesContext facesContext)
          See getDisabledImageURL() for more details
 String getFor()
          Returns a component's id that express the link between the two components.
 String getFor(FacesContext facesContext)
          See getFor() for more details
 String getForValueFormat()
          Returns a string specifying the format to use for the value that will be send to the component specified in the for property.
 String getForValueFormat(FacesContext facesContext)
          Returns a string specifying the format to use for the value that will be send to the component specified in the for property.
 Date getHomeDate()
           
 Date getHomeDate(FacesContext facesContext)
           
 String getHomeDateLabel()
          Returns a string specifying the label associated with the home button.
 String getHomeDateLabel(FacesContext facesContext)
          Returns a string specifying the label associated with the home button.
 String getHoverImageURL()
          Returns an url string pointing to the image used chen the pointer hover the component.
 String getHoverImageURL(FacesContext facesContext)
          See getHoverImageURL() for more details
 IContentAccessors getImageAccessors()
          Returns ImageAccessors associated to the url.
 IContentAccessors getImageAccessors(FacesContext facesContext)
           
 int getImageHeight()
          Returns an int value specifying the height (in pixels) to use for the image shown.
 int getImageHeight(FacesContext facesContext)
          See getImageHeight() for more details
 String getImageURL()
          Returns the URL of the image.
 String getImageURL(FacesContext facesContext)
          See getImageURL() for more details
 int getImageWidth()
          Returns an int value specifying the width (in pixels) to use for the image shown.
 int getImageWidth(FacesContext facesContext)
          See getImageWidth() for more details
 String getPopupStyleClass()
           
 String getPopupStyleClass(FacesContext facesContext)
           
 String getSelectedImageURL()
          Returns an url string pointing to the image used when the component is selected.
 String getSelectedImageURL(FacesContext facesContext)
          See getSelectedImageURL() for more details
 String getText()
          Returns a string value specifying the text shown.
 String getText(FacesContext facesContext)
          See getText() for more details
 int getTextPosition()
          Returns an int value specifying the position of the text in the component.
 int getTextPosition(FacesContext facesContext)
          See getTextPosition() for more details
protected  Converter getTextPositionConverter()
           
 boolean isBorder()
          Returns a boolean value that indicates if the component should show a border or not.
 boolean isBorder(FacesContext facesContext)
          See isBorder() for more details
 boolean isBorderSetted()
          Returns true if the attribute "border" is set.
 boolean isBorderTypeSetted()
          Returns true if the attribute "borderType" is set.
 boolean isCalendarLayoutSetted()
          Returns true if the attribute "calendarLayout" is set.
 boolean isDefaultSelectedDateSetted()
          Returns true if the attribute "defaultSelectedDate" is set.
 boolean isDisabledImageURLSetted()
          Returns true if the attribute "disabledImageURL" is set.
 boolean isForSetted()
          Returns true if the attribute "for" is set.
 boolean isForValueFormatSetted()
          Returns true if the attribute "forValueFormat" is set.
 boolean isHomeDateLabelSetted()
          Returns true if the attribute "homeDateLabel" is set.
 boolean isHomeDateSetted()
          Returns true if the attribute "homeDate" is set.
 boolean isHoverImageURLSetted()
          Returns true if the attribute "hoverImageURL" is set.
 boolean isImageHeightSetted()
          Returns true if the attribute "imageHeight" is set.
 boolean isImageURLSetted()
          Returns true if the attribute "imageURL" is set.
 boolean isImageWidthSetted()
          Returns true if the attribute "imageWidth" is set.
 boolean isPopupStyleClassSetted()
          Returns true if the attribute "popupStyleClass" is set.
 boolean isSelectedImageURLSetted()
          Returns true if the attribute "selectedImageURL" is set.
 boolean isTextPositionSetted()
          Returns true if the attribute "textPosition" is set.
 boolean isTextSetted()
          Returns true if the attribute "text" is set.
 FacesListener[] listValueChangeListeners()
          Returns a list of valueChange listener for the component
 void removeValueChangeListener(ValueChangeListener listener)
          Removes a listener from the component for the valueChange event
 void setBorder(boolean border)
          Sets a boolean value that indicates if the component should show a border or not.
 void setBorderType(String borderType)
          Sets a string that indicates the type of border the component should show.
 void setCalendarLayout(int calendarLayout)
           
 void setCalendarLayout(String layout)
           
 void setDefaultSelectedDate(Date defaultSelectedDate)
           
 void setDefaultSelectedDate(String date)
           
 void setDisabledImageURL(String disabledImageURL)
          Sets an url string pointing to the image used for the disabled state.
 void setFor(String forValue)
          Sets a component's id that express the link between the two components.
 void setForValueFormat(String forValueFormat)
          Sets a string specifying the format to use for the value that will be send to the component specified in the for property.
 void setHomeDate(Date homeDate)
           
 void setHomeDate(String date)
           
 void setHomeDateLabel(String homeDateLabel)
          Sets a string specifying the label associated with the home button.
 void setHoverImageURL(String hoverImageURL)
          Sets an url string pointing to the image used chen the pointer hover the component.
 void setImageHeight(int imageHeight)
          Sets an int value specifying the height (in pixels) to use for the image shown.
 void setImageURL(String imageURL)
          Specify the URL of the image.
 void setImageWidth(int imageWidth)
          Sets an int value specifying the width (in pixels) to use for the image shown.
 void setPopupStyleClass(String popupStyleClass)
           
 void setSelectedImageURL(String selectedImageURL)
          Sets an url string pointing to the image used when the component is selected.
 void setText(String text)
          Sets a string value specifying the text to be shown.
 void setTextPosition(int textPosition)
          Sets an int value specifying the position of the text in the component.
 void setTextPosition(String textPosition)
           
 
Methods inherited from class org.rcfaces.core.component.AbstractCalendarComponent
addSelectionListener, getClientDatesStrategy, getClientDatesStrategy, getComponentLocale, getComponentLocale, getComponentTimeZone, getComponentTimeZone, getCursorDate, getCursorDate, getDate, getDisabledWeekDays, getDisabledWeekDays, getLiteralLocale, getLiteralLocale, getLiteralTimeZone, getLiteralTimeZone, getMaxDate, getMaxDate, getMinDate, getMinDate, getTwoDigitYearStart, getTwoDigitYearStart, isClientDatesStrategySetted, isComponentLocaleSetted, isComponentTimeZoneSetted, isCursorDateSetted, isDisabledWeekDaysSetted, isLiteralLocaleSetted, isLiteralTimeZoneSetted, isMaxDateSetted, isMinDateSetted, isReadOnly, isReadOnly, isReadOnlySetted, isTwoDigitYearStartSetted, listSelectionListeners, removeSelectionListener, setClientDatesStrategy, setClientDatesStrategy, setComponentLocale, setComponentLocale, setComponentTimeZone, setComponentTimeZone, setCursorDate, setCursorDate, setDate, setDisabledWeekDays, setDisabledWeekDays, setLiteralLocale, setLiteralLocale, setLiteralTimeZone, setLiteralTimeZone, setMaxDate, setMaxDate, setMinDate, setMinDate, setReadOnly, setTwoDigitYearStart, setTwoDigitYearStart
 
Methods inherited from class org.rcfaces.core.component.AbstractInputComponent
addBlurListener, addErrorListener, addFocusListener, addInitListener, addKeyDownListener, addKeyPressListener, addKeyUpListener, addMouseOutListener, addMouseOverListener, addPropertyChangeListener, addUserEventListener, addValidationListener, getAccessKey, getAccessKey, getAriaLabel, getAriaLabel, getAriaLevel, getAriaLevel, getBackgroundColor, getBackgroundColor, getBottom, getBottom, getClientData, getClientData, getClientDataCount, getClientDataMap, getClientDataMap, getFontBold, getFontBold, getFontItalic, getFontItalic, getFontName, getFontName, getFontSize, getFontSize, getFontUnderline, getFontUnderline, getForegroundColor, getForegroundColor, getHeight, getHeight, getHelpMessage, getHelpMessage, getHelpURL, getHelpURL, getHiddenMode, getHiddenMode, getLeft, getLeft, getLookId, getLookId, getMarginBottom, getMarginBottom, getMarginLeft, getMarginLeft, getMarginRight, getMarginRight, getMarginTop, getMarginTop, getRight, getRight, getServerData, getServerData, getServerDataCount, getServerDataMap, getServerDataMap, getStyleClass, getStyleClass, getTabIndex, getTabIndex, getTextAlignment, getTextAlignment, getToolTipText, getToolTipText, getTop, getTop, getUnlockedClientAttributeNames, getUnlockedClientAttributeNames, getVisibleState, getVisibleState, getWaiRole, getWaiRole, getWidth, getWidth, getX, getX, getY, getY, isAccessKeySetted, isAriaLabelSetted, isAriaLevelSetted, isBackgroundColorSetted, isBottomSetted, isDisabled, isDisabled, isDisabledSetted, isFontBoldSetted, isFontItalicSetted, isFontNameSetted, isFontSizeSetted, isFontUnderlineSetted, isForegroundColorSetted, isHeightSetted, isHelpMessageSetted, isHelpURLSetted, isHiddenModeSetted, isLeftSetted, isLookIdSetted, isMarginBottomSetted, isMarginLeftSetted, isMarginRightSetted, isMarginTopSetted, isPartialRendering, isPartialRendering, isPartialRenderingSetted, isRightSetted, isStyleClassSetted, isTabIndexSetted, isTextAlignmentSetted, isToolTipTextSetted, isTopSetted, isUnlockedClientAttributeNamesSetted, isValueLocked, isValueLocked, isValueLockedSetted, isVisible, isVisible, isVisibleSetted, isWaiRoleSetted, isWidthSetted, isXSetted, isYSetted, listBlurListeners, listClientDataKeys, listClientDataKeys, listErrorListeners, listFocusListeners, listInitListeners, listKeyDownListeners, listKeyPressListeners, listKeyUpListeners, listMouseOutListeners, listMouseOverListeners, listPropertyChangeListeners, listServerDataKeys, listServerDataKeys, listUserEventListeners, listValidationListeners, removeBlurListener, removeClientData, removeErrorListener, removeFocusListener, removeInitListener, removeKeyDownListener, removeKeyPressListener, removeKeyUpListener, removeMouseOutListener, removeMouseOverListener, removePropertyChangeListener, removeServerData, removeUserEventListener, removeValidationListener, setAccessKey, setAriaLabel, setAriaLevel, setBackgroundColor, setBottom, setClientData, setClientData, setDisabled, setFontBold, setFontItalic, setFontName, setFontSize, setFontUnderline, setForegroundColor, setHeight, setHelpMessage, setHelpURL, setHiddenMode, setHiddenMode, setLeft, setLookId, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPartialRendering, setRight, setServerData, setServerData, setStyleClass, setTabIndex, setTextAlignment, setToolTipText, setTop, setUnlockedClientAttributeNames, setValueLocked, setVisible, setWaiRole, setWidth, setX, setY
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UIInput
addValidator, compareValues, decode, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, removeValidator, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.rcfaces.core.component.familly.IImageButtonFamilly
getTabIndex, isDisabled, isReadOnly
 
Methods inherited from interface org.rcfaces.core.component.capability.ISelectionEventCapability
addSelectionListener, listSelectionListeners, removeSelectionListener
 
Methods inherited from interface org.rcfaces.core.component.capability.IReadOnlyCapability
isReadOnly, setReadOnly
 
Methods inherited from interface org.rcfaces.core.component.capability.IDisabledCapability
isDisabled, setDisabled
 
Methods inherited from interface org.rcfaces.core.component.capability.ITabIndexCapability
getTabIndex, setTabIndex
 
Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability
isImmediate, setImmediate
 
Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager
getChildCount
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, setConverter, setValue
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

CAMELIA_ATTRIBUTES

protected static final Set CAMELIA_ATTRIBUTES
Constructor Detail

DateChooserComponent

public DateChooserComponent()

DateChooserComponent

public DateChooserComponent(String componentId)
Method Detail

setHomeDate

public void setHomeDate(String date)

getHomeDate

public Date getHomeDate(FacesContext facesContext)

setDefaultSelectedDate

public void setDefaultSelectedDate(String date)

getDefaultSelectedDate

public Date getDefaultSelectedDate(FacesContext facesContext)

getTextPositionConverter

protected Converter getTextPositionConverter()

setTextPosition

public void setTextPosition(String textPosition)

setCalendarLayout

public void setCalendarLayout(String layout)

getImageURL

public String getImageURL()
Description copied from interface: IImageCapability
Returns the URL of the image.

Specified by:
getImageURL in interface IImageCapability

getImageURL

public String getImageURL(FacesContext facesContext)
See getImageURL() for more details

Specified by:
getImageURL in interface IImageButtonFamilly

isImageURLSetted

public final boolean isImageURLSetted()
Returns true if the attribute "imageURL" is set.

Returns:
true if the attribute is set.

setImageURL

public void setImageURL(String imageURL)
Description copied from interface: IImageCapability
Specify the URL of the image.

Specified by:
setImageURL in interface IImageCapability

getDisabledImageURL

public String getDisabledImageURL()
Description copied from interface: IStatesImageCapability
Returns an url string pointing to the image used for the disabled state.

Specified by:
getDisabledImageURL in interface IStatesImageCapability
Returns:
url

getDisabledImageURL

public String getDisabledImageURL(FacesContext facesContext)
See getDisabledImageURL() for more details

Specified by:
getDisabledImageURL in interface IImageButtonFamilly

isDisabledImageURLSetted

public final boolean isDisabledImageURLSetted()
Returns true if the attribute "disabledImageURL" is set.

Returns:
true if the attribute is set.

setDisabledImageURL

public void setDisabledImageURL(String disabledImageURL)
Description copied from interface: IStatesImageCapability
Sets an url string pointing to the image used for the disabled state.

Specified by:
setDisabledImageURL in interface IStatesImageCapability
Parameters:
disabledImageURL - url

getHoverImageURL

public String getHoverImageURL()
Description copied from interface: IStatesImageCapability
Returns an url string pointing to the image used chen the pointer hover the component.

Specified by:
getHoverImageURL in interface IStatesImageCapability
Returns:
url

getHoverImageURL

public String getHoverImageURL(FacesContext facesContext)
See getHoverImageURL() for more details

Specified by:
getHoverImageURL in interface IImageButtonFamilly

isHoverImageURLSetted

public final boolean isHoverImageURLSetted()
Returns true if the attribute "hoverImageURL" is set.

Returns:
true if the attribute is set.

setHoverImageURL

public void setHoverImageURL(String hoverImageURL)
Description copied from interface: IStatesImageCapability
Sets an url string pointing to the image used chen the pointer hover the component.

Specified by:
setHoverImageURL in interface IStatesImageCapability
Parameters:
hoverImageURL - url

getSelectedImageURL

public String getSelectedImageURL()
Description copied from interface: IStatesImageCapability
Returns an url string pointing to the image used when the component is selected.

Specified by:
getSelectedImageURL in interface IStatesImageCapability
Returns:
url

getSelectedImageURL

public String getSelectedImageURL(FacesContext facesContext)
See getSelectedImageURL() for more details

Specified by:
getSelectedImageURL in interface IImageButtonFamilly

isSelectedImageURLSetted

public final boolean isSelectedImageURLSetted()
Returns true if the attribute "selectedImageURL" is set.

Returns:
true if the attribute is set.

setSelectedImageURL

public void setSelectedImageURL(String selectedImageURL)
Description copied from interface: IStatesImageCapability
Sets an url string pointing to the image used when the component is selected.

Specified by:
setSelectedImageURL in interface IStatesImageCapability
Parameters:
selectedImageURL - url

isBorder

public boolean isBorder()
Description copied from interface: IBorderCapability
Returns a boolean value that indicates if the component should show a border or not.

Specified by:
isBorder in interface IBorderCapability
Returns:
border

isBorder

public boolean isBorder(FacesContext facesContext)
See isBorder() for more details

Specified by:
isBorder in interface IImageButtonFamilly

isBorderSetted

public final boolean isBorderSetted()
Returns true if the attribute "border" is set.

Returns:
true if the attribute is set.

setBorder

public void setBorder(boolean border)
Description copied from interface: IBorderCapability
Sets a boolean value that indicates if the component should show a border or not.

Specified by:
setBorder in interface IBorderCapability
Parameters:
border - boolean

getBorderType

public String getBorderType()
Description copied from interface: IBorderTypeCapability
Returns a string that indicates the type of border the component should show.

Specified by:
getBorderType in interface IBorderTypeCapability
Returns:
none|solid|relief|flat|rounded

getBorderType

public String getBorderType(FacesContext facesContext)
See getBorderType() for more details

Specified by:
getBorderType in interface IImageButtonFamilly

isBorderTypeSetted

public final boolean isBorderTypeSetted()
Returns true if the attribute "borderType" is set.

Returns:
true if the attribute is set.

setBorderType

public void setBorderType(String borderType)
Description copied from interface: IBorderTypeCapability
Sets a string that indicates the type of border the component should show.

Specified by:
setBorderType in interface IBorderTypeCapability
Parameters:
borderType - none|solid|relief|flat|rounded

getText

public String getText()
Description copied from interface: ITextCapability
Returns a string value specifying the text shown.

Specified by:
getText in interface ITextCapability
Returns:
text

getText

public String getText(FacesContext facesContext)
See getText() for more details

Specified by:
getText in interface IImageButtonFamilly

isTextSetted

public final boolean isTextSetted()
Returns true if the attribute "text" is set.

Returns:
true if the attribute is set.

setText

public void setText(String text)
Description copied from interface: ITextCapability
Sets a string value specifying the text to be shown.

Specified by:
setText in interface ITextCapability
Parameters:
text - text

getTextPosition

public int getTextPosition()
Description copied from interface: IHorizontalTextPositionCapability
Returns an int value specifying the position of the text in the component.

Specified by:
getTextPosition in interface IHorizontalTextPositionCapability
Returns:
0x08:right|0x10:left

getTextPosition

public int getTextPosition(FacesContext facesContext)
See getTextPosition() for more details

Specified by:
getTextPosition in interface IImageButtonFamilly

isTextPositionSetted

public final boolean isTextPositionSetted()
Returns true if the attribute "textPosition" is set.

Returns:
true if the attribute is set.

setTextPosition

public void setTextPosition(int textPosition)
Description copied from interface: IHorizontalTextPositionCapability
Sets an int value specifying the position of the text in the component.

Specified by:
setTextPosition in interface IHorizontalTextPositionCapability
Parameters:
textPosition - 0x00:right|0x10:left

getImageHeight

public int getImageHeight()
Description copied from interface: IImageSizeCapability
Returns an int value specifying the height (in pixels) to use for the image shown.

Specified by:
getImageHeight in interface IImageSizeCapability
Returns:
image height in pixels

getImageHeight

public int getImageHeight(FacesContext facesContext)
See getImageHeight() for more details

Specified by:
getImageHeight in interface IImageButtonFamilly

isImageHeightSetted

public final boolean isImageHeightSetted()
Returns true if the attribute "imageHeight" is set.

Returns:
true if the attribute is set.

setImageHeight

public void setImageHeight(int imageHeight)
Description copied from interface: IImageSizeCapability
Sets an int value specifying the height (in pixels) to use for the image shown.

Specified by:
setImageHeight in interface IImageSizeCapability
Parameters:
imageHeight - image height in pixels

getImageWidth

public int getImageWidth()
Description copied from interface: IImageSizeCapability
Returns an int value specifying the width (in pixels) to use for the image shown.

Specified by:
getImageWidth in interface IImageSizeCapability
Returns:
image width in pixels

getImageWidth

public int getImageWidth(FacesContext facesContext)
See getImageWidth() for more details

Specified by:
getImageWidth in interface IImageButtonFamilly

isImageWidthSetted

public final boolean isImageWidthSetted()
Returns true if the attribute "imageWidth" is set.

Returns:
true if the attribute is set.

setImageWidth

public void setImageWidth(int imageWidth)
Description copied from interface: IImageSizeCapability
Sets an int value specifying the width (in pixels) to use for the image shown.

Specified by:
setImageWidth in interface IImageSizeCapability
Parameters:
imageWidth - image width in pixels

getImageAccessors

public IContentAccessors getImageAccessors(FacesContext facesContext)
Specified by:
getImageAccessors in interface IImageButtonFamilly

getImageAccessors

public IContentAccessors getImageAccessors()
Description copied from interface: IImageCapability
Returns ImageAccessors associated to the url. (or java.awt.Image binding)

Specified by:
getImageAccessors in interface IImageCapability
Returns:
IImageAccessors object.

addValueChangeListener

public final void addValueChangeListener(ValueChangeListener listener)
Description copied from interface: IValueChangeEventCapability
Adds a listener to the component for the valueChange event

Specified by:
addValueChangeListener in interface EditableValueHolder
Specified by:
addValueChangeListener in interface IValueChangeEventCapability
Overrides:
addValueChangeListener in class UIInput
Parameters:
listener - the valueChange listener to add

removeValueChangeListener

public final void removeValueChangeListener(ValueChangeListener listener)
Description copied from interface: IValueChangeEventCapability
Removes a listener from the component for the valueChange event

Specified by:
removeValueChangeListener in interface EditableValueHolder
Specified by:
removeValueChangeListener in interface IValueChangeEventCapability
Overrides:
removeValueChangeListener in class UIInput
Parameters:
listener - the valueChange listener to remove

listValueChangeListeners

public final FacesListener[] listValueChangeListeners()
Description copied from interface: IValueChangeEventCapability
Returns a list of valueChange listener for the component

Specified by:
listValueChangeListeners in interface IValueChangeEventCapability
Returns:
valueChange listeners' list

getFor

public String getFor()
Description copied from interface: IForCapability
Returns a component's id that express the link between the two components.

Specified by:
getFor in interface IForCapability
Returns:
id for a linked component

getFor

public String getFor(FacesContext facesContext)
See getFor() for more details


isForSetted

public final boolean isForSetted()
Returns true if the attribute "for" is set.

Returns:
true if the attribute is set.

setFor

public void setFor(String forValue)
Description copied from interface: IForCapability
Sets a component's id that express the link between the two components.

Specified by:
setFor in interface IForCapability
Parameters:
forValue - id for a linked component

getCalendarLayout

public int getCalendarLayout()
Specified by:
getCalendarLayout in interface ICalendarLayoutCapability

getCalendarLayout

public int getCalendarLayout(FacesContext facesContext)
See getCalendarLayout() for more details


isCalendarLayoutSetted

public final boolean isCalendarLayoutSetted()
Returns true if the attribute "calendarLayout" is set.

Returns:
true if the attribute is set.

setCalendarLayout

public void setCalendarLayout(int calendarLayout)
Specified by:
setCalendarLayout in interface ICalendarLayoutCapability

getForValueFormat

public String getForValueFormat()
Returns a string specifying the format to use for the value that will be send to the component specified in the for property.

Returns:
value format

getForValueFormat

public String getForValueFormat(FacesContext facesContext)
Returns a string specifying the format to use for the value that will be send to the component specified in the for property.

Returns:
value format

setForValueFormat

public void setForValueFormat(String forValueFormat)
Sets a string specifying the format to use for the value that will be send to the component specified in the for property.

Parameters:
forValueFormat - value format

isForValueFormatSetted

public boolean isForValueFormatSetted()
Returns true if the attribute "forValueFormat" is set.

Returns:
true if the attribute is set.

getHomeDate

public Date getHomeDate()

setHomeDate

public void setHomeDate(Date homeDate)

isHomeDateSetted

public boolean isHomeDateSetted()
Returns true if the attribute "homeDate" is set.

Returns:
true if the attribute is set.

getDefaultSelectedDate

public Date getDefaultSelectedDate()

setDefaultSelectedDate

public void setDefaultSelectedDate(Date defaultSelectedDate)

isDefaultSelectedDateSetted

public boolean isDefaultSelectedDateSetted()
Returns true if the attribute "defaultSelectedDate" is set.

Returns:
true if the attribute is set.

getHomeDateLabel

public String getHomeDateLabel()
Returns a string specifying the label associated with the home button.

Returns:
the label used

getHomeDateLabel

public String getHomeDateLabel(FacesContext facesContext)
Returns a string specifying the label associated with the home button.

Returns:
the label used

setHomeDateLabel

public void setHomeDateLabel(String homeDateLabel)
Sets a string specifying the label associated with the home button.

Parameters:
homeDateLabel - the label to use

isHomeDateLabelSetted

public boolean isHomeDateLabelSetted()
Returns true if the attribute "homeDateLabel" is set.

Returns:
true if the attribute is set.

getPopupStyleClass

public String getPopupStyleClass()

getPopupStyleClass

public String getPopupStyleClass(FacesContext facesContext)

setPopupStyleClass

public void setPopupStyleClass(String popupStyleClass)

isPopupStyleClassSetted

public boolean isPopupStyleClassSetted()
Returns true if the attribute "popupStyleClass" is set.

Returns:
true if the attribute is set.

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class AbstractCalendarComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.