|
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.info.LyTag
leon.info.LyInfo
leon.info.LyControl
public class LyControl
This class defines a control : Specific program associated to a class and a field and triggered on objects change.
Nested Class Summary | |
---|---|
static class |
LyControl.Level
Level values. |
static class |
LyControl.Type
Types of control. |
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 |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object control)
Check if this control is equal to the given one. |
java.util.Hashtable<java.lang.String,LyArgument> |
getArgs()
Gets table of arguments associated to this instance. |
LyArgument[] |
getArguments()
Gets an array of arguments usable for calling the interface of the control. |
java.lang.String |
getFormula()
Gets the formula (as a string) associated to this control. |
LyControlInterface |
getInstance(LyClassInfo classInfo)
Gets instance of the java class of this control. |
LyControlInterface |
getInstance(LyObject object)
Gets instance of the java class of this control. |
java.lang.Class<?> |
getJavaClass()
Gets java class. |
java.lang.String |
getJavaName()
Gets java name of the control. |
LyControl.Level |
getLevel()
Gets level of the control. |
LyFormula |
getLyFormula()
Gets the formula associated to this control. |
java.lang.String |
getMessage()
Gets message of the control. |
int |
getPriority()
Gets priority of the control. |
java.lang.Object |
getValue(java.lang.Object name)
Gets an argument by its name. |
boolean |
hasType(LyControl.Type type)
Checks whether this control performs the given type of control. |
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 |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String __version
Method Detail |
---|
public final java.lang.String getJavaName()
public java.lang.Class<?> getJavaClass()
public LyControlInterface getInstance(LyObject object)
classInfo
- Class info for which the instance is requested.
public LyControlInterface getInstance(LyClassInfo classInfo)
classInfo
- Class info for which the instance is requested.
public final LyControl.Level getLevel()
public final int getPriority()
public final java.lang.Object getValue(java.lang.Object name)
name
- Name for which a value is searched.
java.lang.IllegalArgumentException
- If the given name is null.public final java.util.Hashtable<java.lang.String,LyArgument> getArgs()
public LyArgument[] getArguments()
public boolean hasType(LyControl.Type type)
type
- Checked type.
public boolean equals(java.lang.Object control)
equals
in class java.lang.Object
public java.lang.String getFormula()
public final LyFormula getLyFormula()
public final java.lang.String getMessage()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |