|
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.LyContainer
leon.view.LySplitter
public class LySplitter
The LySplitter class is a generated Java implementation that corresponds to the element SPLITTER of the descriptive grammar of the views (views.dtd). <SPLITTER> : Panels splitter A container of panel type with splitter allows displaying different panels that are splitted by vertical or horizontal separation bars. These bars can be moved so as to allocating more or less place to each of the panels. The minimum number of panels that is required is two panels. There is no constraint on the maximum number of panels allowed in such a container. Including such containers in containers of same type allows getting windows combining vertical and horizontal separators.
See also tag SPLITTER of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LySplitter.ActivePart
Possible values for attribute 'activePart'. |
static class |
LySplitter.Style
Possible values for attribute 'style'. |
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 | |
---|---|
LySplitter()
Default constructor. |
Method Summary | |
---|---|
void |
addPanel(LyPanel panel)
Adds a sub-component panel. |
LyComponent |
cloneComponent()
Method for cloning a component. |
LySplitter.ActivePart |
getActivePart()
Gets value of activePart. |
static LySplitter.ActivePart |
getActivePart(java.lang.String token)
Utility method to get activePart value from a string. |
java.lang.String |
getColor()
Gets value of color. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
java.lang.String |
getFirstTooltip()
Gets value of firstTooltip. |
java.lang.String |
getId()
Gets value of id. |
LyPanel |
getPanel(int i)
Get sub-component Panel of index i. |
int |
getPanelCount()
Get sub-component Panel count. |
java.lang.String |
getSecondTooltip()
Gets value of secondTooltip. |
java.lang.String |
getSizes()
Gets value of sizes. |
LySplitter.Style |
getStyle()
Gets value of style. |
static LySplitter.Style |
getStyle(java.lang.String token)
Utility method to get style value from a string. |
LySplitter |
getTemplate()
Gets value of template. |
void |
insertPanel(LyPanel panel,
int pos)
Inserts a sub-component panel at given position. |
boolean |
isDefaultColor()
Checks whether the color attribute is valuated to the default value. |
boolean |
isResizable()
Checks if value of attribute resizable is set. |
void |
setActivePart(LySplitter.ActivePart activePart)
Sets attribute activePart to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
void |
setFirstTooltip(java.lang.String firstTooltip)
Initializes attribute firstTooltip to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setResizable(boolean resizable)
Initializes attribute resizable to the given value. |
void |
setSecondTooltip(java.lang.String secondTooltip)
Initializes attribute secondTooltip to the given value. |
void |
setSizes(java.lang.String sizes)
Sets attribute sizes to the given value. |
void |
setStyle(LySplitter.Style style)
Initializes attribute style to the given value. |
void |
setTemplate(LySplitter template)
Initializes attribute template 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, setLabel, 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 LySplitter()
Method Detail |
---|
public static final LySplitter.Style getStyle(java.lang.String token)
token
- Token string
public static final LySplitter.ActivePart getActivePart(java.lang.String token)
token
- Token string
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LySplitter getTemplate()
public LySplitter.Style getStyle()
public LySplitter.ActivePart getActivePart()
public java.lang.String getSizes()
public boolean isResizable()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getFirstTooltip()
public java.lang.String getSecondTooltip()
public LyPanel getPanel(int i)
i
- the index of the Panel to get.
public int getPanelCount()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LySplitter template)
template
- New value of template.public void setStyle(LySplitter.Style style)
style
- New value of style.
java.lang.IllegalArgumentException
- if style parameter is null.public void setActivePart(LySplitter.ActivePart activePart)
activePart
- New value of activePart.
java.lang.IllegalArgumentException
- if activePart parameter is null.public void setSizes(java.lang.String sizes)
sizes
- New value of sizes.public void setResizable(boolean resizable)
resizable
- Boolean indicating if attribute resizable is set or unset.public void setColor(java.lang.String color)
color
- New value of color.public void setFirstTooltip(java.lang.String firstTooltip)
firstTooltip
- New value of firstTooltip.public void setSecondTooltip(java.lang.String secondTooltip)
secondTooltip
- New value of secondTooltip.public void addPanel(LyPanel panel)
panel
- The panel to add to panels list.public void insertPanel(LyPanel panel, int pos)
panel
- The panel to add to panels list.pos
- Position where the sub-component is inserted.public 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 |