LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.misc
Class LyFieldGroup

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

public class LyFieldGroup
extends LyInfo

This class defines a field group.


Nested Class Summary
static class LyFieldGroup.State
          Group states.
 
Nested classes/interfaces inherited from class leon.info.LyTag
LyTag.Model
 
Field Summary
static java.lang.String __version
           
 
Fields inherited from class leon.info.LyInfo
__VERSION
 
Constructor Summary
LyFieldGroup(java.lang.String name)
          Constructor of a field group.
LyFieldGroup(java.lang.String id, java.lang.String name, LyFieldGroup.State state)
          Constructor of a field group.
 
Method Summary
 LyFieldConstraint getConstraint()
          Gets field constraint used in forms layouts.
 java.lang.String getName()
          Gets name of the field group.
 java.lang.String getPrefix()
          Accessor to the file prefix for this field group.
 LyFieldGroup.State getState()
          Gets state of the group.
 void setConstraint(LyFieldConstraint constraint)
          Sets field constraint used in forms layouts.
 void setName(java.lang.String name)
          Sets name of the field group.
 void setParent(LyInfo parent)
          Sets the parent of this info.
 void setPrefix(java.lang.String prefix)
          Sets the prefix corresponding to this field group.
 
Methods inherited from class leon.info.LyInfo
getAlias, getApplication, getFile, getId, getInclude, 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
Constructor Detail

LyFieldGroup

public LyFieldGroup(java.lang.String id,
                    java.lang.String name,
                    LyFieldGroup.State state)
Constructor of a field group.

Parameters:
id - Id of the field group.
name - Name of the field group.

LyFieldGroup

public LyFieldGroup(java.lang.String name)
Constructor of a field group.

Parameters:
name - Name of the field group.
Method Detail

getName

public final java.lang.String getName()
Gets name of the field group.

Overrides:
getName in class LyInfo
Returns:
Name of the info.

getPrefix

public final java.lang.String getPrefix()
Accessor to the file prefix for this field group.

Returns:
File prefix of the field group. If the file prefix is null, this method returns the id.

setPrefix

public void setPrefix(java.lang.String prefix)
Sets the prefix corresponding to this field group.

Parameters:
prefix - Prefix for this field group.

getConstraint

public LyFieldConstraint getConstraint()
Gets field constraint used in forms layouts.

Returns:
Field constraint of this fieldInfo, null if no constraint was defined.

setConstraint

public void setConstraint(LyFieldConstraint constraint)
Sets field constraint used in forms layouts.

Parameters:
constraint - Field constraint of this fieldInfo.
See Also:
#setCaptionConstraint

getState

public LyFieldGroup.State getState()
Gets state of the group.

Returns:
One of the STATE_XXX constants indicating the state of the group.

setName

public void setName(java.lang.String name)
Sets name of the field group.


setParent

public void setParent(LyInfo parent)
Sets the parent of this info.

Parameters:
the - parent of this info

(c) January 2013 - W4 S.A.

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