leon.view.web.struts
Class LyStrutsHRefs
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsFieldItem
leon.view.web.struts.LyStrutsHRefs
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalHRefs, LyViewComponent, LyFreeInterface, LySetHRefsInterface, LySetLabelInterface, LyWebComponent
public class LyStrutsHRefs
- extends LyStrutsFieldItem
- implements LyGraphicalHRefs
This class implements the HRefs object (as described in the dtd) for web viewer.
HREFS: List of Hyperlinks
An input field of Hyperlinks type allows to display a graphical component containing a set of
hyperlinks. Such a component is a simple list of hyperlinks such as described below. It does not
contain any attribute.
Field Summary |
static java.lang.String |
__VERSION
|
Method Summary |
void |
addHRef(LyHRef hRef,
int pos)
Inserts a sub-component hRefs at given position. |
void |
refresh()
Refresh frame containing this web object. |
void |
removeHRef(LyHRef hRef)
Removes a sub-component hRefs. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.struts.LyStrutsFieldItem |
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getFormName, getHtmlForm, getId, isEditable, isNetscape, isOptional, needCheck, setLabel |
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, 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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyStrutsHRefs
public LyStrutsHRefs(LyHRefs hRefs)
- Constructor.
- Parameters:
hRefs
- the hrefs component
refresh
public void refresh()
- Refresh frame containing this web object.
Overriden in order to refresh directly the parent of this href if it is a form field, else
calls the super impplementation.
- Overrides:
refresh
in class LyWebObject
- See Also:
LyWebObject.refresh()
writeHtml
public void writeHtml(LyWebPageWriter pw)
- Description copied from interface:
LyWebComponent
- Write HTML description corresponding to this component.
- Specified by:
writeHtml
in interface LyWebComponent
- Parameters:
pw
- the page writer
removeHRef
public void removeHRef(LyHRef hRef)
- Description copied from interface:
LyGraphicalHRefs
- Removes a sub-component hRefs.
- Specified by:
removeHRef
in interface LyGraphicalHRefs
- Specified by:
removeHRef
in interface LySetHRefsInterface
- Parameters:
hRef
- The hRefs to remove to hRefs list.
addHRef
public void addHRef(LyHRef hRef,
int pos)
- Description copied from interface:
LyGraphicalHRefs
- Inserts a sub-component hRefs at given position.
- Specified by:
addHRef
in interface LyGraphicalHRefs
- Specified by:
addHRef
in interface LySetHRefsInterface
- Parameters:
hRef
- The hRefs to add to hRefs list.pos
- Position where the sub-component is inserted.
Website: W4 S.A., contact us: support@w4global.com