|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.item.LyJQItem
public class LyJQItem
LyWeb2Item
Field Summary | |
---|---|
LyItem |
_item
|
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.LyGraphicalItem |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetVisibleInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQItem(LyItem item)
|
Method Summary | |
---|---|
int |
getImageHeight(java.lang.String key)
getImageHeight return height of the image |
int |
getImageWidth(java.lang.String key)
getImageWidth return width of the image |
java.lang.String |
getLabel()
Get dialog |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
boolean |
isItem()
method used by the lymenu velocity template |
boolean |
isMenu()
method used by the lymenu velocity template |
boolean |
isSep()
Check if the component is a seperator. |
boolean |
isVisible()
|
void |
setChecked(boolean checked)
Updates attribute checked to the given value. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
setImage(java.lang.String image)
Updates attribute image to the given value. |
void |
setLabel(java.lang.String label)
Updates attribute label to the given value. |
void |
setVisible(boolean status)
Sets the visibility status of this component. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
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 |
Field Detail |
---|
public LyItem _item
Constructor Detail |
---|
public LyJQItem(LyItem item)
viewComponent
- Method Detail |
---|
public java.lang.String getLabel()
public int getImageWidth(java.lang.String key)
public int getImageHeight(java.lang.String key)
public boolean isItem()
public boolean isMenu()
public boolean isSep()
public void setVisible(boolean status)
LySetVisibleInterface
setVisible
in interface LySetVisibleInterface
status
- new visibility status, if true the component will be shown, if false it will be
hidenLySetVisibleInterface.setVisible(boolean)
public void setLabel(java.lang.String label)
LyGraphicalItem
setLabel
in interface LyGraphicalItem
setLabel
in interface LySetLabelInterface
label
- New value of label.LyGraphicalItem.setLabel(java.lang.String)
public void setEnabled(boolean enabled)
LyGraphicalItem
setEnabled
in interface LyGraphicalItem
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.LyGraphicalItem.setEnabled(boolean)
public void setChecked(boolean checked)
LyGraphicalItem
setChecked
in interface LyGraphicalItem
checked
- Boolean indicating if attribute checked is set or unset.LyGraphicalItem.setChecked(boolean)
public void setImage(java.lang.String image)
LyGraphicalItem
setImage
in interface LyGraphicalItem
setImage
in interface LySetImageInterface
image
- New value of image.LyGraphicalItem.setImage(java.lang.String)
public boolean isVisible()
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
LyJQInternalView.getReloadScript()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |