|
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.LyComponent
leon.view.LyFieldItem
leon.view.LyPanel
leon.view.LySelectBar
public class LySelectBar
The LySelectBar class is a generated Java implementation that corresponds to the element SELECTBAR of the descriptive grammar of the views (views.dtd). <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).
See also tag SELECTBAR of grammar leon_views.dtd.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LySelectBar(java.lang.String id)
Constructor with all required attributes. |
Method Summary | |
---|---|
void |
addSelectItem(LySelectItem selectItem)
Adds a sub-component selectItem. |
void |
addSep()
Adds a separator. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getColor()
Gets value of color. |
LyComponent |
getComponent(int i)
Get sub-component Component of index i. |
int |
getComponentCount()
Get sub-component Component count. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
java.lang.String |
getController()
Gets value of controller. |
java.lang.String |
getDisabledColor()
Gets value of disabledColor. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getFontTitle()
Gets value of fontTitle. |
LyFormField |
getFormField()
Get sub-component FormField. |
java.lang.String |
getHighlightColor()
Gets value of highlightColor. |
java.lang.String |
getHrefColor()
Gets value of hrefColor. |
java.lang.String |
getId()
Gets value of id. |
int |
getItemCount()
Gets value of itemCount. |
java.lang.String |
getLabel()
Gets value of label. |
java.lang.String |
getPageFirstImage()
Gets value of pageFirstImage. |
java.lang.String |
getPageLastImage()
Gets value of pageLastImage. |
java.lang.String |
getPageNextImage()
Gets value of pageNextImage. |
java.lang.String |
getPagePreviousImage()
Gets value of pagePreviousImage. |
java.lang.String |
getPageShowNextImage()
Gets value of pageShowNextImage. |
java.lang.String |
getPageShowPreviousImage()
Gets value of pageShowPreviousImage. |
int |
getStartItem()
Gets value of startItem. |
LySelectBar |
getTemplate()
Gets value of template. |
java.lang.String |
getVisitedColor()
Gets value of visitedColor. |
void |
insertSelectItem(LySelectItem selectItem,
int pos)
Inserts a sub-component selectItem at given position. |
void |
insertSep(int pos)
Inserts a separator at the given position. |
boolean |
isDefaultColor()
Checks whether the color attribute is valuated to the default value. |
boolean |
isDefaultDisabledColor()
Checks whether the disabledColor attribute is valuated to the default value. |
boolean |
isDefaultFont()
Checks whether the font attribute is valuated to the default value. |
boolean |
isDefaultFontColor()
Checks whether the fontColor attribute is valuated to the default value. |
boolean |
isDefaultFontTitle()
Checks whether the fontTitle attribute is valuated to the default value. |
boolean |
isDefaultHighlightColor()
Checks whether the highlightColor attribute is valuated to the default value. |
boolean |
isDefaultHrefColor()
Checks whether the hrefColor attribute is valuated to the default value. |
boolean |
isDefaultPageFirstImage()
Checks whether the pageFirstImage attribute is valuated to the default value. |
boolean |
isDefaultPageLastImage()
Checks whether the pageLastImage attribute is valuated to the default value. |
boolean |
isDefaultPageNextImage()
Checks whether the pageNextImage attribute is valuated to the default value. |
boolean |
isDefaultPagePreviousImage()
Checks whether the pagePreviousImage attribute is valuated to the default value. |
boolean |
isDefaultPageShowNextImage()
Checks whether the pageShowNextImage attribute is valuated to the default value. |
boolean |
isDefaultPageShowPreviousImage()
Checks whether the pageShowPreviousImage attribute is valuated to the default value. |
boolean |
isDefaultVisitedColor()
Checks whether the visitedColor attribute is valuated to the default value. |
void |
removeSelectItem(LySelectItem selectItem)
Removes a sub-component selectItem. |
void |
removeSep(int pos)
Removes a separator at the given position. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
void |
setController(java.lang.String controller)
Initializes attribute controller to the given value. |
void |
setDisabledColor(java.lang.String disabledColor)
Initializes attribute disabledColor to the given value. |
void |
setFont(java.lang.String font)
Initializes attribute font to the given value. |
void |
setFontColor(java.lang.String fontColor)
Initializes attribute fontColor to the given value. |
void |
setFontTitle(java.lang.String fontTitle)
Initializes attribute fontTitle to the given value. |
void |
setFormField(LyFormField formField)
Sets sub-component formField. |
void |
setHighlightColor(java.lang.String highlightColor)
Initializes attribute highlightColor to the given value. |
void |
setHrefColor(java.lang.String hrefColor)
Initializes attribute hrefColor to the given value. |
void |
setItemCount(int itemCount)
Initializes attribute itemCount to the given value. |
void |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setPageFirstImage(java.lang.String pageFirstImage)
Initializes attribute pageFirstImage to the given value. |
void |
setPageLastImage(java.lang.String pageLastImage)
Initializes attribute pageLastImage to the given value. |
void |
setPageNextImage(java.lang.String pageNextImage)
Initializes attribute pageNextImage to the given value. |
void |
setPagePreviousImage(java.lang.String pagePreviousImage)
Initializes attribute pagePreviousImage to the given value. |
void |
setPageShowNextImage(java.lang.String pageShowNextImage)
Initializes attribute pageShowNextImage to the given value. |
void |
setPageShowPreviousImage(java.lang.String pageShowPreviousImage)
Initializes attribute pageShowPreviousImage to the given value. |
void |
setStartItem(int startItem)
Sets attribute startItem to the given value. |
void |
setTemplate(LySelectBar template)
Initializes attribute template to the given value. |
void |
setVisitedColor(java.lang.String visitedColor)
Initializes attribute visitedColor to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
Methods inherited from class leon.view.LyPanel |
---|
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, updateViewContent, validateInput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LySelectBar(java.lang.String id)
id
- Identifier of the navigation bar.Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LySelectBar getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public int getStartItem()
public int getItemCount()
public java.lang.String getController()
getController
in interface LyGetControllerInterface
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getHrefColor()
public boolean isDefaultHrefColor()
public java.lang.String getDisabledColor()
public boolean isDefaultDisabledColor()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public java.lang.String getHighlightColor()
public boolean isDefaultHighlightColor()
public java.lang.String getVisitedColor()
public boolean isDefaultVisitedColor()
public java.lang.String getFontTitle()
public boolean isDefaultFontTitle()
public java.lang.String getPageFirstImage()
public boolean isDefaultPageFirstImage()
public java.lang.String getPagePreviousImage()
public boolean isDefaultPagePreviousImage()
public java.lang.String getPageShowPreviousImage()
public boolean isDefaultPageShowPreviousImage()
public java.lang.String getPageLastImage()
public boolean isDefaultPageLastImage()
public java.lang.String getPageNextImage()
public boolean isDefaultPageNextImage()
public java.lang.String getPageShowNextImage()
public boolean isDefaultPageShowNextImage()
public LyComponent getComponent(int i)
i
- the index of the Component to get.
public int getComponentCount()
public LyFormField getFormField()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setTemplate(LySelectBar template)
template
- New value of template.public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
setLabel
in class LyFieldItem
label
- New value of label.public void setStartItem(int startItem)
startItem
- New value of startItem.public void setItemCount(int itemCount)
itemCount
- New value of itemCount.public void setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setColor(java.lang.String color)
color
- New value of color.public void setHrefColor(java.lang.String hrefColor)
hrefColor
- New value of hrefColor.public void setDisabledColor(java.lang.String disabledColor)
disabledColor
- New value of disabledColor.public void setFont(java.lang.String font)
font
- New value of font.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setHighlightColor(java.lang.String highlightColor)
highlightColor
- New value of highlightColor.public void setVisitedColor(java.lang.String visitedColor)
visitedColor
- New value of visitedColor.public void setFontTitle(java.lang.String fontTitle)
fontTitle
- New value of fontTitle.public void setPageFirstImage(java.lang.String pageFirstImage)
pageFirstImage
- New value of pageFirstImage.public void setPagePreviousImage(java.lang.String pagePreviousImage)
pagePreviousImage
- New value of pagePreviousImage.public void setPageShowPreviousImage(java.lang.String pageShowPreviousImage)
pageShowPreviousImage
- New value of pageShowPreviousImage.public void setPageLastImage(java.lang.String pageLastImage)
pageLastImage
- New value of pageLastImage.public void setPageNextImage(java.lang.String pageNextImage)
pageNextImage
- New value of pageNextImage.public void setPageShowNextImage(java.lang.String pageShowNextImage)
pageShowNextImage
- New value of pageShowNextImage.public void addSelectItem(LySelectItem selectItem)
selectItem
- The selectItem to add to components list.public void insertSelectItem(LySelectItem selectItem, int pos)
selectItem
- The selectItem to add to components list.pos
- Position where the sub-component is inserted.public void removeSelectItem(LySelectItem selectItem)
selectItem
- The selectItem to remove to components list.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain selectItem.public void addSep()
public void insertSep(int pos)
pos
- Position where the separator is inserted.public void removeSep(int pos)
pos
- Position where the separator is removed.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain a separator at the given position.public void setFormField(LyFormField formField)
formField
- New value of formFieldpublic void setConstraint(LyConstraint constraint)
constraint
- New value of constraintpublic void writeXml(java.io.PrintWriter pw, boolean debug)
writeXml
in class LyComponent
pw
- the printWriter on which the XML is written.debug
- true if debug mode (full dump).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |