ConForM.CoopnTools.CoKer
Class CoopnTextProperty
java.lang.Object
|
+--ConForM.CoopnTools.CoKer.CoopnTextOption
|
+--ConForM.CoopnTools.CoKer.CoopnTextProperty
- All Implemented Interfaces:
- CoopnOption, CoopnParamOption, CoopnProperty
- public class CoopnTextProperty
- extends CoopnTextOption
- implements CoopnProperty
Textual options with property in CO-OPN tools environments. The values of these options may be
given by decoding a specific option with parameter in the
command line or by an apposite graphical dialog.
- See Also:
Fields inherited from class ConForM.CoopnTools.CoKer.CoopnTextOption |
badOptionSText, badOptionText, component, defaultValue, errStream, helpText, label, level, name, paramText, trigger, triggerText |
Constructor Summary |
CoopnTextProperty(java.lang.String trigger,
java.lang.String propertyName,
int level,
CoopnEnvMgr envMgr)
Creates a new textual property with the default resource file. |
CoopnTextProperty(java.lang.String trigger,
java.lang.String propertyName,
int level,
java.lang.String resource,
CoopnEnvMgr envMgr)
Creates a new textual property. |
Method Summary |
java.lang.String |
getPropertyName()
Return the name of the option; for instance, "COOPNHOME". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyName
protected java.lang.String propertyName
CoopnTextProperty
public CoopnTextProperty(java.lang.String trigger,
java.lang.String propertyName,
int level,
java.lang.String resource,
CoopnEnvMgr envMgr)
- Creates a new textual property.
- Parameters:
trigger
- the trigger text, for instance "a"level
- the level of option, one of ALL, BASIC or
EXTENDEDresource
- the resource file for the trigger, or null
for the default resource file; following
string keys are serached: LABELx and HELPx,
where x is the triggerenvMgr
- the associated environment manager
CoopnTextProperty
public CoopnTextProperty(java.lang.String trigger,
java.lang.String propertyName,
int level,
CoopnEnvMgr envMgr)
- Creates a new textual property with the default resource file.
- Parameters:
trigger
- the trigger text, for instance "a"level
- the level of option, one of ALL, BASIC or
EXTENDEDenvMgr
- the associated environment manager
getPropertyName
public java.lang.String getPropertyName()
- Return the name of the option; for instance, "COOPNHOME".
- Specified by:
getPropertyName
in interface CoopnProperty