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:

Field Summary
protected  java.lang.String propertyName
           
 
Fields inherited from class ConForM.CoopnTools.CoKer.CoopnTextOption
badOptionSText, badOptionText, component, defaultValue, errStream, helpText, label, level, name, paramText, trigger, triggerText
 
Fields inherited from interface ConForM.CoopnTools.CoKer.CoopnOption
ALL, BASIC, EXTENDED
 
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 ConForM.CoopnTools.CoKer.CoopnTextOption
decodeCommandLine, decodeDialog, getDialogComponent, getHelpText, getLabel, getLevel, getName, parameterText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyName

protected java.lang.String propertyName
Constructor Detail

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 EXTENDED
resource - 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 trigger
envMgr - 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 EXTENDED
envMgr - the associated environment manager
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Return the name of the option; for instance, "COOPNHOME".
Specified by:
getPropertyName in interface CoopnProperty