|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.reg.InfoParam
public class InfoParam
Parameter information.
Field Summary | |
---|---|
Object |
defaultValue
Default value. |
String |
description
Description of parameter. |
InfoParamGUI |
infoGUI
Information about parameter's GUI. |
static String |
IP_DESCR
Description for combobox. |
static String |
IP_MAXVALUE
Maximum value of parameter. |
static String |
IP_MINVALUE
Minimum value of parameter. |
static String |
IP_STRING
Display text of item of combobox. |
static String |
IP_TYPE
Type of real value of item of combobox. |
static String |
IP_TYPE_BOOLEAN
Type of parameter - Boolean. |
static String |
IP_TYPE_COMBO
Type of parameter - Combo box. |
static String |
IP_TYPE_DOUBLE
Type of parameter - Double. |
static String |
IP_TYPE_FLOAT
Type of parameter - Float. |
static String |
IP_TYPE_INTEGER
Type of parameter - Integer. |
static String |
IP_TYPE_LONG
Type of parameter - Long. |
static String |
IP_TYPE_MULTILINE
Type of parameter - multi-line string. |
static String |
IP_TYPE_SPEC
Type of parameter - Special. |
static String |
IP_TYPE_STRING
Type of parameter - String. |
static String |
IP_VALUE
Real value of item of combobox. |
static int |
MULTILINE_HEIGHT
Multiline parameter height in lines. |
String |
name
Name of parameter. |
Map<String,Object> |
nextInfo
All other information goes here.. |
InfoModule |
owner
Owner of parameter. |
int |
propManip
Manipulator type. |
String |
propManipClass
Class-name for manipulation with special parameter (either fully-qualified or local in package cz.cuni.jagrlib.gui ). |
static String |
TI_PARAM
|
String |
type
Parameter type. |
Object |
value
Parameter value. |
Vector<Map<String,Object>> |
values
Valid values of the parameter. |
boolean |
visible
Visible parameter (GUI editable). |
Constructor Summary | |
---|---|
InfoParam()
|
|
InfoParam(String _name,
String _type,
String _description,
boolean _visible)
Create a new InfoParam. |
Method Summary | |
---|---|
void |
propEnd()
|
void |
setBounds(Object min,
Object max)
Set parameter bounds. |
void |
setEnum(String label,
Object value,
String descr)
|
protected String |
typeConvert(String newType)
|
int |
visibleLines()
Returns visible height in lines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String IP_STRING
public static final String IP_VALUE
public static final String IP_TYPE
public static final String IP_DESCR
public static final String IP_MINVALUE
public static final String IP_MAXVALUE
public static final String IP_TYPE_STRING
public static final String IP_TYPE_MULTILINE
public static final String IP_TYPE_INTEGER
public static final String IP_TYPE_LONG
public static final String IP_TYPE_FLOAT
public static final String IP_TYPE_DOUBLE
public static final String IP_TYPE_COMBO
public static final String IP_TYPE_BOOLEAN
public static final String IP_TYPE_SPEC
public static final String TI_PARAM
public static final int MULTILINE_HEIGHT
public String name
public String type
public Object value
public Object defaultValue
public String description
public boolean visible
public Vector<Map<String,Object>> values
HashMap
s with information about combobox items:
<String>, <Value>, <Type>
public int propManip
public String propManipClass
package cz.cuni.jagrlib.gui
).
public InfoModule owner
InfoModule
.
public InfoParamGUI infoGUI
public Map<String,Object> nextInfo
Constructor Detail |
---|
public InfoParam(String _name, String _type, String _description, boolean _visible)
_name
- Name of parameter._type
- Type of parameter (IP_TYPE_...)._description
- Description of parameter._visible
- Will be this parameter visible in Skel (GUI)?public InfoParam()
Method Detail |
---|
protected String typeConvert(String newType)
public void setBounds(Object min, Object max)
public void setEnum(String label, Object value, String descr)
public void propEnd()
public int visibleLines()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |