LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyMapNode

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyMapNode
All Implemented Interfaces:
LyGetIdInterface, LyGetLabelInterface, LySetHiddenInterface, LySetImageInterface, LySetLabelInterface, LySetSelectedInterface

public class LyMapNode
extends LyComponent
implements LyGetIdInterface, LyGetLabelInterface, LySetLabelInterface, LySetSelectedInterface, LySetHiddenInterface, LySetImageInterface

The LyMapNode class is a generated Java implementation that corresponds to the element MAP_NODE of the descriptive grammar of the views (views.dtd). <MAP_NODE> : Map node This element represents a node displayed in a map.

See Also:
See also tag MAP_NODE of grammar leon_views.dtd.

Nested Class Summary
static class LyMapNode.LabelAlign
          Possible values for attribute 'labelAlign'.
static class LyMapNode.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
LyMapNode()
          Default constructor.
 
Method Summary
 LyComponent cloneComponent()
          Method for cloning a component.
 java.lang.String getBottomLabel()
          Gets value of bottomLabel.
 java.lang.String getColor()
          Gets value of color.
 java.lang.String getColorCross()
          Gets value of colorCross.
 java.lang.String getColorFrameExt()
          Gets value of colorFrameExt.
 java.lang.String getColorFrameInt()
          Gets value of colorFrameInt.
 java.lang.String getFont()
          Gets value of font.
 java.lang.String getFontColor()
          Gets value of fontColor.
 int getHeight()
          Gets value of height.
 java.lang.String getId()
          Gets value of id.
 java.lang.String getImage()
          Gets value of image.
 java.lang.String getInactiveSelectedColor()
          Gets value of inactiveSelectedColor.
 java.lang.String getJavaName()
          Gets value of javaName.
 java.lang.String getLabel()
          Gets value of label.
 LyMapNode.LabelAlign getLabelAlign()
          Gets value of labelAlign.
static LyMapNode.LabelAlign getLabelAlign(java.lang.String token)
          Utility method to get labelAlign value from a string.
 int getLayer()
          Gets value of layer.
 java.lang.String getLayoutInfo()
          Gets value of layoutInfo.
 java.lang.String getLeftLabel()
          Gets value of leftLabel.
 java.lang.String getOutlineColor()
          Gets value of outlineColor.
 java.lang.String getOverview()
          Gets value of overview.
 java.lang.String getParentNode()
          Gets value of parentNode.
 java.lang.String getRightLabel()
          Gets value of rightLabel.
 java.lang.String getSelectedColor()
          Gets value of selectedColor.
 int getSize()
          Gets value of size.
 java.lang.String getSmallImage()
          Gets value of smallImage.
 LyMapNode.Style getStyle()
          Gets value of style.
static LyMapNode.Style getStyle(java.lang.String token)
          Utility method to get style value from a string.
 LyMapNode getTemplate()
          Gets value of template.
 java.lang.String getTooltip()
          Gets value of tooltip.
 java.lang.String getTopLabel()
          Gets value of topLabel.
 java.lang.String getViewerImage()
          Gets value of viewerImage.
 LyMapNode.Style getViewerStyle()
          Gets value of viewerStyle.
 float getX()
          Gets value of x.
 float getY()
          Gets value of y.
 float getZ()
          Gets value of z.
 boolean isBlink()
          Checks if value of attribute blink 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 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 isHidden()
          Checks if value of attribute hidden is set.
 boolean isMovable()
          Checks if value of attribute movable is set.
 boolean isResizable()
          Checks if value of attribute resizable is set.
 boolean isSelected()
          Checks if value of attribute selected is set.
 boolean isSensitive()
          Checks if value of attribute sensitive is set.
 boolean isSmallImageBlink()
          Checks if value of attribute smallImageBlink is set.
 void setBlink(boolean blink)
          Initializes attribute blink to the given value.
 void setBottomLabel(java.lang.String bottomLabel)
          Sets attribute bottomLabel to the given value.
 void setColor(java.lang.String color)
          Initializes attribute color to the given value.
 void setColorCross(java.lang.String colorCross)
          Initializes attribute colorCross to the given value.
 void setColorFrameExt(java.lang.String colorFrameExt)
          Sets attribute colorFrameExt to the given value.
 void setColorFrameInt(java.lang.String colorFrameInt)
          Sets attribute colorFrameInt to the given value.
 void setFont(java.lang.String font)
          Initializes attribute font to the given value.
 void setFontColor(java.lang.String fontColor)
          Sets attribute fontColor to the given value.
 void setHeight(int height)
          Initializes attribute height 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 setInactiveSelectedColor(java.lang.String inactiveSelectedColor)
          Initializes attribute inactiveSelectedColor to the given value.
 void setJavaName(java.lang.String javaName)
          Initializes attribute javaName to the given value.
 void setLabel(java.lang.String label)
          Sets attribute label to the given value.
 void setLabelAlign(LyMapNode.LabelAlign labelAlign)
          Initializes attribute labelAlign to the given value.
 void setLayer(int layer)
          Sets attribute layer to the given value.
 void setLayoutInfo(java.lang.String layoutInfo)
          Initializes attribute layoutInfo to the given value.
 void setLeftLabel(java.lang.String leftLabel)
          Sets attribute leftLabel to the given value.
 void setMovable(boolean movable)
          Initializes attribute movable to the given value.
 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 setParentNode(java.lang.String parentNode)
          Initializes attribute parentNode to the given value.
 void setResizable(boolean resizable)
          Initializes attribute resizable to the given value.
 void setRightLabel(java.lang.String rightLabel)
          Sets attribute rightLabel 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 setSize(int size)
          Initializes attribute size to the given value.
 void setSmallImage(java.lang.String smallImage)
          Initializes attribute smallImage to the given value.
 void setSmallImageBlink(boolean smallImageBlink)
          Initializes attribute smallImageBlink to the given value.
 void setStyle(LyMapNode.Style style)
          Initializes attribute style to the given value.
 void setTemplate(LyMapNode template)
          Initializes attribute template to the given value.
 void setTooltip(java.lang.String tooltip)
          Initializes attribute tooltip to the given value.
 void setTopLabel(java.lang.String topLabel)
          Sets attribute topLabel to the given value.
 void setViewerImage(java.lang.String viewerImage)
          Sets attribute viewerImage to the given value.
 void setViewerStyle(LyMapNode.Style viewerStyle)
          Initializes attribute viewerStyle to the given value.
 void setX(float x)
          Sets attribute x to the given value.
 void setY(float y)
          Sets attribute y to the given value.
 void setZ(float z)
          Sets attribute z 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.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, free, freeze, getBounds, getChild, getChildCount, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, setVisible, useEventDefaultFunction, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyMapNode

public LyMapNode()
Default constructor.

Method Detail

getStyle

public static final LyMapNode.Style getStyle(java.lang.String token)
Utility method to get style value from a string.

Parameters:
token - Token string
Returns:
Style value corresponding to this token

getLabelAlign

public static final LyMapNode.LabelAlign getLabelAlign(java.lang.String token)
Utility method to get labelAlign value from a string.

Parameters:
token - Token string
Returns:
LabelAlign value corresponding to this token

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getId

public java.lang.String getId()
Gets value of id.

Specified by:
getId in interface LyGetIdInterface
Overrides:
getId in class LyComponent
Returns:
value of id.

getTemplate

public LyMapNode getTemplate()
Gets value of template.

Returns:
value of template.

getLabel

public java.lang.String getLabel()
Gets value of label.

Specified by:
getLabel in interface LyGetLabelInterface
Returns:
value of label.

getLeftLabel

public java.lang.String getLeftLabel()
Gets value of leftLabel.

Returns:
value of leftLabel.

getRightLabel

public java.lang.String getRightLabel()
Gets value of rightLabel.

Returns:
value of rightLabel.

getTopLabel

public java.lang.String getTopLabel()
Gets value of topLabel.

Returns:
value of topLabel.

getBottomLabel

public java.lang.String getBottomLabel()
Gets value of bottomLabel.

Returns:
value of bottomLabel.

getTooltip

public java.lang.String getTooltip()
Gets value of tooltip.

Returns:
value of tooltip.

getOverview

public java.lang.String getOverview()
Gets value of overview.

Returns:
value of overview.

getParentNode

public java.lang.String getParentNode()
Gets value of parentNode.

Returns:
value of parentNode.

getStyle

public LyMapNode.Style getStyle()
Gets value of style.

Returns:
value of style.

getViewerStyle

public LyMapNode.Style getViewerStyle()
Gets value of viewerStyle.

Returns:
value of viewerStyle.

getLabelAlign

public LyMapNode.LabelAlign getLabelAlign()
Gets value of labelAlign.

Returns:
value of labelAlign.

getX

public float getX()
Gets value of x.

Returns:
value of x.

getY

public float getY()
Gets value of y.

Returns:
value of y.

getZ

public float getZ()
Gets value of z.

Returns:
value of z.

isSensitive

public boolean isSensitive()
Checks if value of attribute sensitive is set.

Returns:
true if sensitive is set, false otherwise.

isMovable

public boolean isMovable()
Checks if value of attribute movable is set.

Returns:
true if movable is set, false otherwise.

isSelected

public boolean isSelected()
Checks if value of attribute selected is set.

Returns:
true if selected is set, false otherwise.

isResizable

public boolean isResizable()
Checks if value of attribute resizable is set.

Returns:
true if resizable is set, false otherwise.

isHidden

public boolean isHidden()
Checks if value of attribute hidden is set.

Returns:
true if hidden is set, false otherwise.

getImage

public java.lang.String getImage()
Gets value of image.

Returns:
value of image.

getViewerImage

public java.lang.String getViewerImage()
Gets value of viewerImage.

Returns:
value of viewerImage.

getSmallImage

public java.lang.String getSmallImage()
Gets value of smallImage.

Returns:
value of smallImage.

getSize

public int getSize()
Gets value of size.

Returns:
value of size.

getHeight

public int getHeight()
Gets value of height.

Returns:
value of height.

getLayer

public int getLayer()
Gets value of layer.

Returns:
value of layer.

getColorFrameInt

public java.lang.String getColorFrameInt()
Gets value of colorFrameInt.

Returns:
value of colorFrameInt.

getColorFrameExt

public java.lang.String getColorFrameExt()
Gets value of colorFrameExt.

Returns:
value of colorFrameExt.

getColorCross

public java.lang.String getColorCross()
Gets value of colorCross.

Returns:
value of colorCross.

getLayoutInfo

public java.lang.String getLayoutInfo()
Gets value of layoutInfo.

Returns:
value of layoutInfo.

isBlink

public boolean isBlink()
Checks if value of attribute blink is set.

Returns:
true if blink is set, false otherwise.

isSmallImageBlink

public boolean isSmallImageBlink()
Checks if value of attribute smallImageBlink is set.

Returns:
true if smallImageBlink is set, false otherwise.

getJavaName

public java.lang.String getJavaName()
Gets value of javaName.

Returns:
value of javaName.

getFont

public java.lang.String getFont()
Gets value of font.

Returns:
value of font.

isDefaultFont

public boolean isDefaultFont()
Checks whether the font attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getColor

public java.lang.String getColor()
Gets value of color.

Returns:
value of color.

isDefaultColor

public boolean isDefaultColor()
Checks whether the color attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getFontColor

public java.lang.String getFontColor()
Gets value of fontColor.

Returns:
value of fontColor.

isDefaultFontColor

public boolean isDefaultFontColor()
Checks whether the fontColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getSelectedColor

public java.lang.String getSelectedColor()
Gets value of selectedColor.

Returns:
value of selectedColor.

isDefaultSelectedColor

public boolean isDefaultSelectedColor()
Checks whether the selectedColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getInactiveSelectedColor

public java.lang.String getInactiveSelectedColor()
Gets value of inactiveSelectedColor.

Returns:
value of inactiveSelectedColor.

isDefaultInactiveSelectedColor

public boolean isDefaultInactiveSelectedColor()
Checks whether the inactiveSelectedColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

getOutlineColor

public java.lang.String getOutlineColor()
Gets value of outlineColor.

Returns:
value of outlineColor.

isDefaultOutlineColor

public boolean isDefaultOutlineColor()
Checks whether the outlineColor attribute is valuated to the default value.

Returns:
True if default, false otherwise.

setId

public void setId(java.lang.String id)
Initializes attribute id to the given value.

Parameters:
id - New value of id.

setTemplate

public void setTemplate(LyMapNode template)
Initializes attribute template to the given value.

Parameters:
template - New value of template.

setLabel

public void setLabel(java.lang.String label)
Sets attribute label to the given value.

Specified by:
setLabel in interface LySetLabelInterface
Parameters:
label - New value of label.

setLeftLabel

public void setLeftLabel(java.lang.String leftLabel)
Sets attribute leftLabel to the given value.

Parameters:
leftLabel - New value of leftLabel.

setRightLabel

public void setRightLabel(java.lang.String rightLabel)
Sets attribute rightLabel to the given value.

Parameters:
rightLabel - New value of rightLabel.

setTopLabel

public void setTopLabel(java.lang.String topLabel)
Sets attribute topLabel to the given value.

Parameters:
topLabel - New value of topLabel.

setBottomLabel

public void setBottomLabel(java.lang.String bottomLabel)
Sets attribute bottomLabel to the given value.

Parameters:
bottomLabel - New value of bottomLabel.

setTooltip

public void setTooltip(java.lang.String tooltip)
Initializes attribute tooltip to the given value.

Parameters:
tooltip - New value of tooltip.

setOverview

public void setOverview(java.lang.String overview)
Initializes attribute overview to the given value.

Parameters:
overview - New value of overview.

setParentNode

public void setParentNode(java.lang.String parentNode)
Initializes attribute parentNode to the given value.

Parameters:
parentNode - New value of parentNode.

setStyle

public void setStyle(LyMapNode.Style style)
Initializes attribute style to the given value.

Parameters:
style - New value of style.
Throws:
java.lang.IllegalArgumentException - if style parameter is null.

setViewerStyle

public void setViewerStyle(LyMapNode.Style viewerStyle)
Initializes attribute viewerStyle to the given value.

Parameters:
viewerStyle - New value of viewerStyle.
Throws:
java.lang.IllegalArgumentException - if viewerStyle parameter is null.

setLabelAlign

public void setLabelAlign(LyMapNode.LabelAlign labelAlign)
Initializes attribute labelAlign to the given value.

Parameters:
labelAlign - New value of labelAlign.
Throws:
java.lang.IllegalArgumentException - if labelAlign parameter is null.

setX

public void setX(float x)
Sets attribute x to the given value.

Parameters:
x - New value of x.

setY

public void setY(float y)
Sets attribute y to the given value.

Parameters:
y - New value of y.

setZ

public void setZ(float z)
Sets attribute z to the given value.

Parameters:
z - New value of z.

setSensitive

public void setSensitive(boolean sensitive)
Initializes attribute sensitive to the given value.

Parameters:
sensitive - Boolean indicating if attribute sensitive is set or unset.

setMovable

public void setMovable(boolean movable)
Initializes attribute movable to the given value.

Parameters:
movable - Boolean indicating if attribute movable is set or unset.

setSelected

public void setSelected(boolean selected)
Sets attribute selected to the given value.

Specified by:
setSelected in interface LySetSelectedInterface
Parameters:
selected - Boolean indicating if attribute selected is set or unset.

setResizable

public void setResizable(boolean resizable)
Initializes attribute resizable to the given value.

Parameters:
resizable - Boolean indicating if attribute resizable is set or unset.

setHidden

public void setHidden(boolean hidden)
Sets attribute hidden to the given value.

Specified by:
setHidden in interface LySetHiddenInterface
Parameters:
hidden - Boolean indicating if attribute hidden is set or unset.

setImage

public void setImage(java.lang.String image)
Sets attribute image to the given value.

Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setViewerImage

public void setViewerImage(java.lang.String viewerImage)
Sets attribute viewerImage to the given value.

Parameters:
viewerImage - New value of viewerImage.

setSmallImage

public void setSmallImage(java.lang.String smallImage)
Initializes attribute smallImage to the given value.

Parameters:
smallImage - New value of smallImage.

setSize

public void setSize(int size)
Initializes attribute size to the given value.

Parameters:
size - New value of size.

setHeight

public void setHeight(int height)
Initializes attribute height to the given value.

Parameters:
height - New value of height.

setLayer

public void setLayer(int layer)
Sets attribute layer to the given value.

Parameters:
layer - New value of layer.

setColorFrameInt

public void setColorFrameInt(java.lang.String colorFrameInt)
Sets attribute colorFrameInt to the given value.

Parameters:
colorFrameInt - New value of colorFrameInt.

setColorFrameExt

public void setColorFrameExt(java.lang.String colorFrameExt)
Sets attribute colorFrameExt to the given value.

Parameters:
colorFrameExt - New value of colorFrameExt.

setColorCross

public void setColorCross(java.lang.String colorCross)
Initializes attribute colorCross to the given value.

Parameters:
colorCross - New value of colorCross.

setLayoutInfo

public void setLayoutInfo(java.lang.String layoutInfo)
Initializes attribute layoutInfo to the given value.

Parameters:
layoutInfo - New value of layoutInfo.

setBlink

public void setBlink(boolean blink)
Initializes attribute blink to the given value.

Parameters:
blink - Boolean indicating if attribute blink is set or unset.

setSmallImageBlink

public void setSmallImageBlink(boolean smallImageBlink)
Initializes attribute smallImageBlink to the given value.

Parameters:
smallImageBlink - Boolean indicating if attribute smallImageBlink is set or unset.

setJavaName

public void setJavaName(java.lang.String javaName)
Initializes attribute javaName to the given value.

Parameters:
javaName - New value of javaName.

setFont

public void setFont(java.lang.String font)
Initializes attribute font to the given value.

Parameters:
font - New value of font.

setColor

public void setColor(java.lang.String color)
Initializes attribute color to the given value.

Parameters:
color - New value of color.

setFontColor

public void setFontColor(java.lang.String fontColor)
Sets attribute fontColor to the given value.

Parameters:
fontColor - New value of fontColor.

setSelectedColor

public void setSelectedColor(java.lang.String selectedColor)
Initializes attribute selectedColor to the given value.

Parameters:
selectedColor - New value of selectedColor.

setInactiveSelectedColor

public void setInactiveSelectedColor(java.lang.String inactiveSelectedColor)
Initializes attribute inactiveSelectedColor to the given value.

Parameters:
inactiveSelectedColor - New value of inactiveSelectedColor.

setOutlineColor

public void setOutlineColor(java.lang.String outlineColor)
Initializes attribute outlineColor to the given value.

Parameters:
outlineColor - New value of outlineColor.

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean debug)
Method to rewrite XML corresponding to this component.

Specified by:
writeXml in class LyComponent
Parameters:
pw - the printWriter on which the XML is written.
debug - true if debug mode (full dump).

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com