|
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.LyLayout
public class LyLayout
The LyLayout class is a generated Java implementation that corresponds to the element LAYOUT of the descriptive grammar of the views (views.dtd). <LAYOUT> : GEOGRAPHIC Places the nodes, the regions and the images according to their coordinates (x, y, z attributes). A layout manager allows placing the nodes of a map according to a predefined layout. In most cases, the coordinates of the nodes are not used.
See also tag LAYOUT of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyLayout.Fill
Possible values for attribute 'fill'. |
static class |
LyLayout.HAlign
Possible values for attribute 'hAlign'. |
static class |
LyLayout.Style
Possible values for attribute 'style'. |
static class |
LyLayout.VAlign
Possible values for attribute 'vAlign'. |
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 | |
---|---|
LyLayout()
Default constructor. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getBorderSizes()
Gets value of borderSizes. |
java.lang.String |
getCenter()
Gets value of center. |
int |
getDeltaBorder()
Gets value of deltaBorder. |
int |
getDeltaNode()
Gets value of deltaNode. |
LyLayout.Fill |
getFill()
Gets value of fill. |
static LyLayout.Fill |
getFill(java.lang.String token)
Utility method to get fill value from a string. |
LyLayout.HAlign |
getHAlign()
Gets value of hAlign. |
static LyLayout.HAlign |
getHAlign(java.lang.String token)
Utility method to get hAlign value from a string. |
java.lang.String |
getJavaName()
Gets value of javaName. |
java.lang.String |
getLabelStyles()
Gets value of labelStyles. |
java.lang.String |
getSelectBorderSize()
Gets value of selectBorderSize. |
LyLayout.Style |
getStyle()
Gets value of style. |
static LyLayout.Style |
getStyle(java.lang.String token)
Utility method to get style value from a string. |
LyLayout.VAlign |
getVAlign()
Gets value of vAlign. |
static LyLayout.VAlign |
getVAlign(java.lang.String token)
Utility method to get vAlign value from a string. |
void |
setBorderSizes(java.lang.String borderSizes)
Sets attribute borderSizes to the given value. |
void |
setCenter(java.lang.String center)
Initializes attribute center to the given value. |
void |
setDeltaBorder(int deltaBorder)
Initializes attribute deltaBorder to the given value. |
void |
setDeltaNode(int deltaNode)
Initializes attribute deltaNode to the given value. |
void |
setFill(LyLayout.Fill fill)
Initializes attribute fill to the given value. |
void |
setHAlign(LyLayout.HAlign hAlign)
Initializes attribute hAlign to the given value. |
void |
setJavaName(java.lang.String javaName)
Initializes attribute javaName to the given value. |
void |
setLabelStyles(java.lang.String labelStyles)
Sets attribute labelStyles to the given value. |
void |
setSelectBorderSize(java.lang.String selectBorderSize)
Initializes attribute selectBorderSize to the given value. |
void |
setStyle(LyLayout.Style style)
Initializes attribute style to the given value. |
void |
setVAlign(LyLayout.VAlign vAlign)
Initializes attribute vAlign to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
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 LyLayout()
Method Detail |
---|
public static final LyLayout.Style getStyle(java.lang.String token)
token
- Token string
public static final LyLayout.HAlign getHAlign(java.lang.String token)
token
- Token string
public static final LyLayout.VAlign getVAlign(java.lang.String token)
token
- Token string
public static final LyLayout.Fill getFill(java.lang.String token)
token
- Token string
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public LyLayout.Style getStyle()
public java.lang.String getCenter()
public int getDeltaNode()
public int getDeltaBorder()
public java.lang.String getSelectBorderSize()
public java.lang.String getBorderSizes()
public java.lang.String getLabelStyles()
public LyLayout.HAlign getHAlign()
public LyLayout.VAlign getVAlign()
public LyLayout.Fill getFill()
public java.lang.String getJavaName()
public void setStyle(LyLayout.Style style)
style
- New value of style.
java.lang.IllegalArgumentException
- if style parameter is null.public void setCenter(java.lang.String center)
center
- New value of center.public void setDeltaNode(int deltaNode)
deltaNode
- New value of deltaNode.public void setDeltaBorder(int deltaBorder)
deltaBorder
- New value of deltaBorder.public void setSelectBorderSize(java.lang.String selectBorderSize)
selectBorderSize
- New value of selectBorderSize.public void setBorderSizes(java.lang.String borderSizes)
borderSizes
- New value of borderSizes.public void setLabelStyles(java.lang.String labelStyles)
labelStyles
- New value of labelStyles.public void setHAlign(LyLayout.HAlign hAlign)
hAlign
- New value of hAlign.
java.lang.IllegalArgumentException
- if hAlign parameter is null.public void setVAlign(LyLayout.VAlign vAlign)
vAlign
- New value of vAlign.
java.lang.IllegalArgumentException
- if vAlign parameter is null.public void setFill(LyLayout.Fill fill)
fill
- New value of fill.
java.lang.IllegalArgumentException
- if fill parameter is null.public void setJavaName(java.lang.String javaName)
javaName
- New value of javaName.public 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 |