|
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.LyMapRegionBase
public abstract class LyMapRegionBase
The LyMapRegionBase class is a generated Java implementation that corresponds to the element MAP_REGION of the descriptive grammar of the views (views.dtd). <MAP_REGION> : Map region A region allows displaying on a map a graphical element made up of a finite set of points. These points define polygons that are displayed on the map with a given color. These elements follow the zooms made on the map (their size increases or decreases when zooming in or out).
LyComponent
,
See also tag MAP_REGION 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 | |
---|---|
LyMapRegionBase()
Default constructor. |
Method Summary | |
---|---|
void |
addMapRegion(LyMapRegion mapRegion)
Adds a sub-component mapRegion. |
void |
addPolygon(LyPolygon polygon)
Adds a sub-component polygon. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getBorderColor()
Gets value of borderColor. |
java.lang.String |
getColor()
Gets value of color. |
java.lang.String |
getFile()
Gets value of file. |
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 |
getInactiveSelectedColor()
Gets value of inactiveSelectedColor. |
java.lang.String |
getLabel()
Gets value of label. |
int |
getLayer()
Gets value of layer. |
LyMapContent |
getMapContent()
Get sub-component MapContent. |
LyMapRegion |
getMapRegion(int i)
Get sub-component MapRegion of index i. |
int |
getMapRegionCount()
Get sub-component MapRegion count. |
java.lang.String |
getOutlineColor()
Gets value of outlineColor. |
java.lang.String |
getOverview()
Gets value of overview. |
LyPolygon |
getPolygon(int i)
Get sub-component Polygon of index i. |
int |
getPolygonCount()
Get sub-component Polygon count. |
java.lang.String |
getSelectedColor()
Gets value of selectedColor. |
java.lang.String |
getSmallImage()
Gets value of smallImage. |
java.lang.String |
getSmallImageTooltip()
Gets value of smallImageTooltip. |
LyMapRegion |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
java.lang.String |
getTooltipColor()
Gets value of tooltipColor. |
java.lang.String |
getTooltipFont()
Gets value of tooltipFont. |
float |
getWeight()
Gets value of weight. |
void |
insertMapRegion(LyMapRegion mapRegion,
int pos)
Inserts a sub-component mapRegion at given position. |
void |
insertPolygon(LyPolygon polygon,
int pos)
Inserts a sub-component polygon at given position. |
boolean |
isBackground()
Checks if value of attribute background is set. |
boolean |
isDefaultBorderColor()
Checks whether the borderColor attribute is valuated to the default value. |
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 |
isDefaultInactiveSelectedColor()
Checks whether the inactiveSelectedColor attribute is valuated to the default value. |
boolean |
isDefaultOutlineColor()
Checks whether the outlineColor attribute is valuated to the default value. |
boolean |
isDefaultSelectedColor()
Checks whether the selectedColor attribute is valuated to the default value. |
boolean |
isDefaultSmallImage()
Checks whether the smallImage attribute is valuated to the default value. |
boolean |
isDefaultTooltipColor()
Checks whether the tooltipColor attribute is valuated to the default value. |
boolean |
isDefaultTooltipFont()
Checks whether the tooltipFont attribute is valuated to the default value. |
boolean |
isHidden()
Checks if value of attribute hidden is set. |
boolean |
isSelected()
Checks if value of attribute selected is set. |
boolean |
isSensitive()
Checks if value of attribute sensitive is set. |
void |
removeMapRegion(LyMapRegion mapRegion)
Removes a sub-component mapRegion. |
void |
setBackground(boolean background)
Initializes attribute background to the given value. |
void |
setBorderColor(java.lang.String borderColor)
Initializes attribute borderColor to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setFile(java.lang.String file)
Initializes attribute file 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 |
setHidden(boolean hidden)
Sets attribute hidden to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setInactiveSelectedColor(java.lang.String inactiveSelectedColor)
Initializes attribute inactiveSelectedColor to the given value. |
void |
setLabel(java.lang.String label)
Initializes attribute label to the given value. |
void |
setLayer(int layer)
Initializes attribute layer to the given value. |
void |
setMapContent(LyMapContent mapContent)
Sets sub-component mapContent. |
void |
setOutlineColor(java.lang.String outlineColor)
Initializes attribute outlineColor to the given value. |
void |
setOverview(java.lang.String overview)
Initializes attribute overview to the given value. |
void |
setSelected(boolean selected)
Sets attribute selected to the given value. |
void |
setSelectedColor(java.lang.String selectedColor)
Initializes attribute selectedColor to the given value. |
void |
setSensitive(boolean sensitive)
Initializes attribute sensitive to the given value. |
void |
setSmallImage(java.lang.String smallImage)
Sets attribute smallImage to the given value. |
void |
setSmallImageTooltip(java.lang.String smallImageTooltip)
Sets attribute smallImageTooltip to the given value. |
void |
setTemplate(LyMapRegion template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Initializes attribute tooltip to the given value. |
void |
setTooltipColor(java.lang.String tooltipColor)
Initializes attribute tooltipColor to the given value. |
void |
setTooltipFont(java.lang.String tooltipFont)
Initializes attribute tooltipFont to the given value. |
void |
setWeight(float weight)
Sets attribute weight 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 LyMapRegionBase()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyMapRegion getTemplate()
public java.lang.String getFile()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getTooltip()
public java.lang.String getSmallImage()
public boolean isDefaultSmallImage()
public java.lang.String getSmallImageTooltip()
public float getWeight()
public java.lang.String getOverview()
public boolean isSensitive()
public boolean isSelected()
public boolean isHidden()
public boolean isBackground()
public int getLayer()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getBorderColor()
public boolean isDefaultBorderColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public java.lang.String getTooltipFont()
public boolean isDefaultTooltipFont()
public java.lang.String getTooltipColor()
public boolean isDefaultTooltipColor()
public java.lang.String getSelectedColor()
public boolean isDefaultSelectedColor()
public java.lang.String getInactiveSelectedColor()
public boolean isDefaultInactiveSelectedColor()
public java.lang.String getOutlineColor()
public boolean isDefaultOutlineColor()
public LyPolygon getPolygon(int i)
i
- the index of the Polygon to get.
public int getPolygonCount()
public LyMapContent getMapContent()
public LyMapRegion getMapRegion(int i)
i
- the index of the MapRegion to get.
public int getMapRegionCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyMapRegion template)
template
- New value of template.public void setFile(java.lang.String file)
file
- New value of file.public void setLabel(java.lang.String label)
label
- New value of label.public void setTooltip(java.lang.String tooltip)
tooltip
- New value of tooltip.public void setSmallImage(java.lang.String smallImage)
smallImage
- New value of smallImage.public void setSmallImageTooltip(java.lang.String smallImageTooltip)
smallImageTooltip
- New value of smallImageTooltip.public void setWeight(float weight)
weight
- New value of weight.public void setOverview(java.lang.String overview)
overview
- New value of overview.public void setSensitive(boolean sensitive)
sensitive
- Boolean indicating if attribute sensitive is set or unset.public void setSelected(boolean selected)
setSelected
in interface LySetSelectedInterface
selected
- Boolean indicating if attribute selected 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 setBackground(boolean background)
background
- Boolean indicating if attribute background is set or unset.public void setLayer(int layer)
layer
- New value of layer.public void setFont(java.lang.String font)
font
- New value of font.public void setColor(java.lang.String color)
color
- New value of color.public void setBorderColor(java.lang.String borderColor)
borderColor
- New value of borderColor.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setTooltipFont(java.lang.String tooltipFont)
tooltipFont
- New value of tooltipFont.public void setTooltipColor(java.lang.String tooltipColor)
tooltipColor
- New value of tooltipColor.public void setSelectedColor(java.lang.String selectedColor)
selectedColor
- New value of selectedColor.public void setInactiveSelectedColor(java.lang.String inactiveSelectedColor)
inactiveSelectedColor
- New value of inactiveSelectedColor.public void setOutlineColor(java.lang.String outlineColor)
outlineColor
- New value of outlineColor.public void addPolygon(LyPolygon polygon)
polygon
- The polygon to add to polygons list.public void insertPolygon(LyPolygon polygon, int pos)
polygon
- The polygon to add to polygons list.pos
- Position where the sub-component is inserted.public void setMapContent(LyMapContent mapContent)
mapContent
- New value of mapContentpublic void addMapRegion(LyMapRegion mapRegion)
mapRegion
- The mapRegion to add to mapRegions list.public void insertMapRegion(LyMapRegion mapRegion, int pos)
mapRegion
- The mapRegion to add to mapRegions list.pos
- Position where the sub-component is inserted.public void removeMapRegion(LyMapRegion mapRegion)
mapRegion
- The mapRegion to remove to mapRegions list.
java.lang.IllegalStateException
- if mapRegions list is empty.
java.lang.IllegalArgumentException
- if mapRegions list doesn't contain mapRegion.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 |