|
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.struts.LyStrutsFieldItem
leon.view.web.struts.LyStrutsPanel
leon.view.web.struts.LyStrutsSelectBar
public class LyStrutsSelectBar
This class implements the Select Bar object (as described in the dtd) for struts viewer.
SELECTBAR: Navigation Bar
A navigation bar allows displaying a set of page numbers (or page names) in order to go directly
to the selected page. This bar must be associated to an area presenting paginated data (a long
list for example).
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
DECO_BORDER_PARAMETER
Constant used to generate CSS class name for border. |
static int |
DECO_SELECTBAR_PARAMETER
Constant used to generate CSS class name for select bar. |
static int |
DECO_SELECTITEM_PARAMETER
Constant used to generate CSS class name for select item. |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsSelectBar(LySelectBar selectBar)
Constructor. |
Method Summary | |
---|---|
void |
addComponent(LyComponent component,
int pos)
(non-Javadoc). |
java.lang.String |
buildToolPath(java.lang.String toolPath,
LyWebPageWriter pw)
(non-Javadoc). |
int[] |
getLocation()
(non-Javadoc). |
int[] |
getSize()
(non-Javadoc). |
void |
initialize()
Initialization method. |
void |
refresh()
(non-Javadoc). |
void |
removeComponent(LyComponent component)
(non-Javadoc). |
void |
setLabel(java.lang.String label)
(non-Javadoc). |
void |
setStartItem(int startItem)
(non-Javadoc). |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
Methods inherited from class leon.view.web.struts.LyStrutsPanel |
---|
getPopupMenuView, setPopupMenu |
Methods inherited from class leon.view.web.struts.LyStrutsFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getFormName, getHtmlForm, getId, isEditable, isNetscape, isOptional, needCheck |
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 |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int DECO_BORDER_PARAMETER
public static int DECO_SELECTBAR_PARAMETER
public static int DECO_SELECTITEM_PARAMETER
Constructor Detail |
---|
public LyStrutsSelectBar(LySelectBar selectBar)
selectBar
- the select bar componentMethod Detail |
---|
public java.lang.String buildToolPath(java.lang.String toolPath, LyWebPageWriter pw)
buildToolPath(java.lang.String,
leon.view.web.LyWebPageWriter)
public void initialize()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void refresh()
refresh
in class LyWebObject
LyWebObject.refresh()
public int[] getLocation()
getLocation
in interface LyGetBoundsInterface
LyGetBoundsInterface.getLocation()
public int[] getSize()
getSize
in interface LyGetBoundsInterface
LyGetBoundsInterface.getSize()
public void setStartItem(int startItem)
setStartItem
in interface LyGraphicalSelectBar
startItem
- New value of startItem.LyGraphicalSelectBar.setStartItem(int)
public void setLabel(java.lang.String label)
setLabel
in interface LyGraphicalSelectBar
setLabel
in interface LySetLabelInterface
setLabel
in class LyStrutsFieldItem
label
- new labelLyStrutsFieldItem.setLabel(java.lang.String)
public void addComponent(LyComponent component, int pos)
addComponent
in interface LyGraphicalSelectBar
component
- The components to add to components list.pos
- Position where the sub-component is inserted.LyGraphicalSelectBar.addComponent(leon.view.LyComponent, int)
public void removeComponent(LyComponent component)
removeComponent
in interface LyGraphicalSelectBar
component
- The components to remove to components list.LyGraphicalSelectBar.removeComponent(leon.view.LyComponent)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |