|
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.LyLine
public class LyLine
The LyLine class is a generated Java implementation that corresponds to the element LINE of the descriptive grammar of the views (views.dtd). <LINE> : Line of a planning This element represents a line of a gantt.
See also tag LINE 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 | |
---|---|
LyLine()
Default constructor. |
Method Summary | |
---|---|
void |
addInterval(LyInterval interval)
Adds a sub-component interval. |
void |
addLine(LyLine line)
Adds a sub-component line. |
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. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getImage()
Gets value of image. |
java.lang.String |
getLabel()
Gets value of label. |
java.lang.String |
getSuperLineColor()
Gets value of superLineColor. |
java.lang.String |
getSuperLineLabel()
Gets value of superLineLabel. |
LyLine |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
void |
insertInterval(LyInterval interval,
int pos)
Inserts a sub-component interval at given position. |
void |
insertLine(LyLine line,
int pos)
Inserts a sub-component line at given position. |
boolean |
isAllowHiding()
Checks if value of attribute allowHiding is set. |
boolean |
isDefaultColor()
Checks whether the color 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 |
isDefaultSuperLineColor()
Checks whether the superLineColor attribute is valuated to the default value. |
boolean |
isHidden()
Checks if value of attribute hidden is set. |
boolean |
isOpen()
Checks if value of attribute open is set. |
boolean |
isSelected()
Checks if value of attribute selected is set. |
boolean |
isSuperLineHidden()
Checks if value of attribute superLineHidden is set. |
void |
removeInterval(LyInterval interval)
Removes a sub-component interval. |
void |
removeLine(LyLine line)
Removes a sub-component line. |
void |
setAllowHiding(boolean allowHiding)
Initializes attribute allowHiding to the given value. |
void |
setColor(java.lang.String color)
Sets attribute color to the given value. |
void |
setFont(java.lang.String font)
Sets attribute font to the given value. |
void |
setFontColor(java.lang.String fontColor)
Initializes attribute fontColor to the given value. |
void |
setHidden(boolean hidden)
Sets attribute hidden to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setImage(java.lang.String image)
Sets attribute image to the given value. |
void |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setOpen(boolean open)
Sets attribute open to the given value. |
void |
setSelected(boolean selected)
Sets attribute selected to the given value. |
void |
setSuperLineColor(java.lang.String superLineColor)
Sets attribute superLineColor to the given value. |
void |
setSuperLineHidden(boolean superLineHidden)
Sets attribute superLineHidden to the given value. |
void |
setSuperLineLabel(java.lang.String superLineLabel)
Sets attribute superLineLabel to the given value. |
void |
setTemplate(LyLine template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Sets attribute tooltip 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 LyLine()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyLine getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getImage()
public java.lang.String getTooltip()
public boolean isSelected()
public boolean isOpen()
public boolean isHidden()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public java.lang.String getSuperLineColor()
public boolean isDefaultSuperLineColor()
public java.lang.String getSuperLineLabel()
public boolean isSuperLineHidden()
public boolean isAllowHiding()
public LyComponent getComponent(int i)
i
- the index of the Component to get.
public int getComponentCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyLine template)
template
- New value of template.public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
label
- New value of label.public void setImage(java.lang.String image)
setImage
in interface LySetImageInterface
image
- New value of image.public void setTooltip(java.lang.String tooltip)
tooltip
- New value of tooltip.public void setSelected(boolean selected)
setSelected
in interface LySetSelectedInterface
selected
- Boolean indicating if attribute selected is set or unset.public void setOpen(boolean open)
open
- Boolean indicating if attribute open is set or unset.public void setHidden(boolean hidden)
setHidden
in interface LySetHiddenInterface
hidden
- Boolean indicating if attribute hidden is set or unset.public void setFont(java.lang.String font)
setFont
in interface LySetFontInterface
font
- New value of font.public void setColor(java.lang.String color)
setColor
in interface LySetColorInterface
color
- New value of color.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setSuperLineColor(java.lang.String superLineColor)
superLineColor
- New value of superLineColor.public void setSuperLineLabel(java.lang.String superLineLabel)
superLineLabel
- New value of superLineLabel.public void setSuperLineHidden(boolean superLineHidden)
superLineHidden
- Boolean indicating if attribute superLineHidden is set or unset.public void setAllowHiding(boolean allowHiding)
allowHiding
- Boolean indicating if attribute allowHiding is set or unset.public void addInterval(LyInterval interval)
interval
- The interval to add to components list.public void insertInterval(LyInterval interval, int pos)
interval
- The interval to add to components list.pos
- Position where the sub-component is inserted.public void removeInterval(LyInterval interval)
interval
- The interval to remove to components list.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain interval.public void addLine(LyLine line)
line
- The line to add to components list.public void insertLine(LyLine line, int pos)
line
- The line to add to components list.pos
- Position where the sub-component is inserted.public void removeLine(LyLine line)
line
- The line to remove to components list.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain line.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 |