LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info
Class LyInfoLabel

java.lang.Object
  extended by leon.info.LyTag
      extended by leon.info.LyInfo
          extended by leon.info.LyInfoLabel
All Implemented Interfaces:
java.lang.Cloneable, LyCommentInterface

public class LyInfoLabel
extends LyInfo

This class defines a dynamic label.


Nested Class Summary
static class LyInfoLabel.Type
          Label types.
 
Nested classes/interfaces inherited from class leon.info.LyTag
LyTag.Model
 
Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 java.lang.String computeString(LyObject object)
          Gets string corresponding to this label for the given object.
 boolean contains(LyFieldInfo fieldInfo)
          Checks if this label contains the given field info.
 int getPartsCount()
          Returns the number of parts of this label.
 LyPath getPath(int idx)
          Returns the path of this label at the specified index.
 LyInfoList<LyPath> getPaths()
          Gets paths of this label.
 java.lang.String getString(LyClassInfo classInfo)
          Gets string corresponding to this label for the given class info.
 java.lang.String getString(LyObject object)
          Gets string corresponding to this label for the given object.
 java.lang.String getSubType()
          Gets sub-type of the label.
 LyInfoLabel.Type getType()
          Gets type of the label.
 LyUnit getUnit(int idx)
          Returns the unit of this label at the specified index.
 LyInfoList<LyUnit> getUnits()
          Gets units of this label.
 java.lang.String getValue()
          Gets value of the label.
 
Methods inherited from class leon.info.LyInfo
getAlias, getApplication, getFile, getId, getInclude, getName, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString
 
Methods inherited from class leon.info.LyTag
clone, getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface leon.parser.LyCommentInterface
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart
 

Field Detail

__VERSION

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

getValue

public final java.lang.String getValue()
Gets value of the label.


getType

public final LyInfoLabel.Type getType()
Gets type of the label.


getPaths

public final LyInfoList<LyPath> getPaths()
Gets paths of this label.


getUnits

public final LyInfoList<LyUnit> getUnits()
Gets units of this label.


getSubType

public final java.lang.String getSubType()
Gets sub-type of the label.


getString

public java.lang.String getString(LyObject object)
Gets string corresponding to this label for the given object.


computeString

public java.lang.String computeString(LyObject object)
Gets string corresponding to this label for the given object.


getString

public java.lang.String getString(LyClassInfo classInfo)
Gets string corresponding to this label for the given class info.


contains

public boolean contains(LyFieldInfo fieldInfo)
Checks if this label contains the given field info.


getPartsCount

public int getPartsCount()
Returns the number of parts of this label.


getPath

public LyPath getPath(int idx)
Returns the path of this label at the specified index.


getUnit

public LyUnit getUnit(int idx)
Returns the unit of this label at the specified index.


(c) January 2013 - W4 S.A.

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