LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.form.field.list
Class LyJQList

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.list.LyJQList
All Implemented Interfaces:
LyGetValueInterface, LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalList, LyViewComponent, LyFreeInterface, LySetIdleInterface, LySetLabelInterface, LySetListOptionsInterface, LyWebComponent

public class LyJQList
extends LyJQFieldItem
implements LyGraphicalList, LySetIdleInterface, LyGetValueInterface

LyList internal view implementation


Field Summary
static java.lang.String LIST_ADD_OPTION
           
static java.lang.String LIST_REFRESH_SCRIPT
           
static java.lang.String LIST_REMOVE_OPTION
           
 
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.LyGraphicalList
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetIdleInterface
__VERSION
 
Fields inherited from interface leon.view.getinterface.LyGetValueInterface
__VERSION
 
Constructor Summary
LyJQList(LyList list)
           
 
Method Summary
 void addListOption(LyListOption listOption, int pos)
          (non-Javadoc)
 java.util.List<LyListOption> getListOptions()
           
 java.lang.String getReloadScript()
          refresh script
 java.lang.String getValue()
          (non-Javadoc)
 boolean isList()
           
 void refreshList()
          reapplicate refresh script on list after a modif has been done
 void removeListOption(LyListOption listOption)
          (non-Javadoc)
 void setIdle(boolean status)
          (non-Javadoc)
 
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getTarget, isEditable, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, setLabel, 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
 

Field Detail

LIST_ADD_OPTION

public static final java.lang.String LIST_ADD_OPTION
See Also:
Constant Field Values

LIST_REMOVE_OPTION

public static final java.lang.String LIST_REMOVE_OPTION
See Also:
Constant Field Values

LIST_REFRESH_SCRIPT

public static final java.lang.String LIST_REFRESH_SCRIPT
See Also:
Constant Field Values
Constructor Detail

LyJQList

public LyJQList(LyList list)
Method Detail

getValue

public java.lang.String getValue()
(non-Javadoc)

Specified by:
getValue in interface LyGetValueInterface
See Also:
LyGetValueInterface.getValue()

setIdle

public void setIdle(boolean status)
(non-Javadoc)

Specified by:
setIdle in interface LySetIdleInterface
Parameters:
status - new idle status (LySetIdleInterface interface)
See Also:
LySetIdleInterface.setIdle(boolean)

addListOption

public void addListOption(LyListOption listOption,
                          int pos)
(non-Javadoc)

Specified by:
addListOption in interface LyGraphicalList
Specified by:
addListOption in interface LySetListOptionsInterface
Parameters:
listOption - The listOptions to add to listOptions list.
pos - Position where the sub-component is inserted.
See Also:
LyGraphicalList.addListOption(leon.view.LyListOption, int)

removeListOption

public void removeListOption(LyListOption listOption)
(non-Javadoc)

Specified by:
removeListOption in interface LyGraphicalList
Specified by:
removeListOption in interface LySetListOptionsInterface
Parameters:
listOption - The listOptions to remove to listOptions list.
See Also:
LyGraphicalList.removeListOption(leon.view.LyListOption)

getListOptions

public java.util.List<LyListOption> getListOptions()
Returns:
list options

refreshList

public void refreshList()
reapplicate refresh script on list after a modif has been done


getReloadScript

public java.lang.String getReloadScript()
refresh script

Overrides:
getReloadScript in class LyJQFieldItem
Returns:
reload component script

isList

public boolean isList()

(c) January 2013 - W4 S.A.

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