LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.form.field.relation
Class LyJQLink

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.form.field.relation.LyJQLink
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalLink, LyViewComponent, LyFreeInterface, LySetSelectedInterface, LyWebComponent

public class LyJQLink
extends LyJQInternalView
implements LyGraphicalLink

This class implements the Link object (as described in the DTD) for web2 viewer.

LINK: Link
A link represents a possible value in an input field of Relation type.

See Also:
LyLink

Field Summary
 
Fields inherited from class leon.view.web.LyWebObject
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalLink
__VERSION
 
Constructor Summary
LyJQLink(LyLink link)
           
 
Method Summary
 java.lang.String getFormattedId()
           
 java.lang.String getReloadScript()
          (non-Javadoc)
 void setSelected(boolean selected)
          (non-Javadoc)
 void writeHtml(LyWebPageWriter pw)
          (non-Javadoc)
 
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, getController, 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

LyJQLink

public LyJQLink(LyLink link)
Method Detail

writeHtml

public void writeHtml(LyWebPageWriter pw)
(non-Javadoc)

Specified by:
writeHtml in interface LyWebComponent
Parameters:
pw - the page writer
See Also:
LyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)

getFormattedId

public java.lang.String getFormattedId()

setSelected

public void setSelected(boolean selected)
(non-Javadoc)

Specified by:
setSelected in interface LyGraphicalLink
Specified by:
setSelected in interface LySetSelectedInterface
Parameters:
selected - Boolean indicating if attribute selected is set or unset.
See Also:
LyGraphicalLink.setSelected(boolean)

getReloadScript

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

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script
See Also:
LyJQInternalView.getReloadScript()

(c) January 2013 - W4 S.A.

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