LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.form.field.date
Class LyJQDate

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.fieldItem.LyJQFieldItem
                  extended by leon.view.web.jquery.component.form.field.date.LyJQDate
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalDate, LyGraphicalFieldItem, LyViewComponent, LyFreeInterface, LySetLabelInterface, LyWebComponent

public class LyJQDate
extends LyJQFieldItem
implements LyGraphicalDate

LyDate internal view implementation class


Field Summary
 
Fields inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem
__VERSION
 
Fields inherited from class leon.view.web.LyWebObject
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalDate
__VERSION
 
Constructor Summary
LyJQDate(LyDate date)
           
 
Method Summary
 java.lang.String getAmPmContent()
          Returns the content of the AM/PM selector.
 java.lang.String[] getAmPmLabels()
          Returns the labels used for AM and PM depending on the locale.
 java.lang.String[] getDateLabels()
          get date labels
 boolean isAmLabel(java.lang.String label)
          Indicates whether AM is selected in an AM/PM date label.
 boolean isAmPm()
          Indicates if AM/PM selector must be displayed.
 boolean isDate()
          Indicates if date input must be displayed.
 boolean isDateInstance()
           
 boolean isPmLabel(java.lang.String label)
          Indicates whether PM is selected in an AM/PM date label.
 boolean isSeconde()
          Indicates if seconds must be displayed.
 boolean isTime()
          Indicates if time input must be displayed.
 void setLabel(java.lang.String label)
          Sets the label of the component.
 
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getReloadScript, getTarget, isEditable, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, writeHtml
 
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty
 
Methods inherited from class leon.view.web.LyWebObject
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, getBounds, getChildrenBounds, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Constructor Detail

LyJQDate

public LyJQDate(LyDate date)
Method Detail

getDateLabels

public java.lang.String[] getDateLabels()
get date labels

Returns:
date labels

isDate

public boolean isDate()
Indicates if date input must be displayed.


isTime

public boolean isTime()
Indicates if time input must be displayed.


isSeconde

public boolean isSeconde()
Indicates if seconds must be displayed.


isAmPm

public boolean isAmPm()
Indicates if AM/PM selector must be displayed.


isAmLabel

public boolean isAmLabel(java.lang.String label)
Indicates whether AM is selected in an AM/PM date label.


isPmLabel

public boolean isPmLabel(java.lang.String label)
Indicates whether PM is selected in an AM/PM date label.


getAmPmLabels

public java.lang.String[] getAmPmLabels()
Returns the labels used for AM and PM depending on the locale.


isDateInstance

public boolean isDateInstance()

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: LySetLabelInterface
Sets the label of the component.

Specified by:
setLabel in interface LyGraphicalDate
Specified by:
setLabel in interface LySetLabelInterface
Overrides:
setLabel in class LyJQFieldItem
Parameters:
label - new label

getAmPmContent

public java.lang.String getAmPmContent()
Returns the content of the AM/PM selector.


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com