LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.form.field.href
Class LyJQHRefs

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.href.LyJQHRefs
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalHRefs, LyViewComponent, LyFreeInterface, LySetHRefsInterface, LySetLabelInterface, LyWebComponent

public class LyJQHRefs
extends LyJQFieldItem
implements LyGraphicalHRefs

LyHrefs internal view implementation


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.LyGraphicalHRefs
__VERSION
 
Constructor Summary
LyJQHRefs(LyHRefs hRefs)
          Constructor.
 
Method Summary
 void addHRef(LyHRef hRefs, int pos)
          add href script
 boolean containsImage(LyHRefs hRefs)
          Indicates if at least one of the href has an image.
 int getHeight(LyHRefs hrefs)
           
 int getMultipleWidth()
           
 java.lang.String getReloadScript()
          (non-Javadoc)
 boolean isHrefs()
           
 void refreshHrefs()
          refresh href component
 void removeHRef(LyHRef hRefs)
          (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
 

Constructor Detail

LyJQHRefs

public LyJQHRefs(LyHRefs hRefs)
Constructor.

Parameters:
hRefs - the hrefs component
Method Detail

getHeight

public int getHeight(LyHRefs hrefs)

getMultipleWidth

public int getMultipleWidth()

containsImage

public boolean containsImage(LyHRefs hRefs)
Indicates if at least one of the href has an image.

Returns:
true if at least one of the href has an image, false otherwise

addHRef

public void addHRef(LyHRef hRefs,
                    int pos)
add href script

Specified by:
addHRef in interface LyGraphicalHRefs
Specified by:
addHRef in interface LySetHRefsInterface
Parameters:
hRefs - The hRefs to add to hRefs list.
pos - Position where the sub-component is inserted.

removeHRef

public void removeHRef(LyHRef hRefs)
(non-Javadoc)

Specified by:
removeHRef in interface LyGraphicalHRefs
Specified by:
removeHRef in interface LySetHRefsInterface
Parameters:
hRefs - The hRefs to remove to hRefs list.
See Also:
LyGraphicalHRefs.removeHRef(leon.view.LyHRef)

refreshHrefs

public void refreshHrefs()
refresh href component


getReloadScript

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

Overrides:
getReloadScript in class LyJQFieldItem
Returns:
reload component script
See Also:
LyJQFieldItem.getReloadScript()

isHrefs

public boolean isHrefs()

(c) January 2013 - W4 S.A.

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