LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

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

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.LyJQHRef
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalHRef, LyViewComponent, LyFreeInterface, LySetImageInterface, LySetLabelInterface, LySetSensitiveInterface, LySetVisitedInterface, LyWebComponent

public class LyJQHRef
extends LyJQFieldItem
implements LyGraphicalHRef

LyHref jquery internal view


Field Summary
static java.lang.String LOCATION
          The location:// String value used within Path representation.
 
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.LyGraphicalHRef
__VERSION
 
Constructor Summary
LyJQHRef(LyHRef hRef)
          Constructor.
 
Method Summary
 java.lang.String getId(LyHRef href)
           
 java.lang.String getImage(LyHRef href)
          Gets the HRef image.
 java.lang.String getTarget()
          get href target
 boolean isHref()
           
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setLabel(java.lang.String label)
          Sets the label of the component.
 void setSensitive(boolean sensitive)
          Updates attribute sensitive to the given value.
 void setVisited(boolean visited)
          Updates attribute visited to the given value.
 boolean startId(java.lang.String id)
           
 
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getReloadScript, 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
 

Field Detail

LOCATION

public static java.lang.String LOCATION
The location:// String value used within Path representation.

Constructor Detail

LyJQHRef

public LyJQHRef(LyHRef hRef)
Constructor.

Parameters:
hRef - the href component
Method Detail

getImage

public java.lang.String getImage(LyHRef href)
Gets the HRef image.

Returns:
the image
See Also:
setImage(String)

getId

public java.lang.String getId(LyHRef href)

startId

public boolean startId(java.lang.String id)

getTarget

public java.lang.String getTarget()
get href target

Overrides:
getTarget in class LyJQFieldItem
Returns:
target

setImage

public void setImage(java.lang.String image)
Description copied from interface: LyGraphicalHRef
Updates attribute image to the given value.

Specified by:
setImage in interface LyGraphicalHRef
Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setSensitive

public void setSensitive(boolean sensitive)
Description copied from interface: LyGraphicalHRef
Updates attribute sensitive to the given value.

Specified by:
setSensitive in interface LyGraphicalHRef
Specified by:
setSensitive in interface LySetSensitiveInterface
Parameters:
sensitive - Boolean indicating if attribute sensitive is set or unset.

setVisited

public void setVisited(boolean visited)
Description copied from interface: LyGraphicalHRef
Updates attribute visited to the given value.

Specified by:
setVisited in interface LyGraphicalHRef
Specified by:
setVisited in interface LySetVisitedInterface
Parameters:
visited - Boolean indicating if attribute visited is set or unset.

setLabel

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

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

isHref

public boolean isHref()

(c) January 2013 - W4 S.A.

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