All Packages Class Hierarchy This Package Previous Next Index
Class JObserve.FieldLink
java.lang.Object
|
+----JObserve.FieldLink
- public class FieldLink
- extends Object
Link class for scan fields
Provides a base class for singly linked lists of fields.
A null Next value indicates the end of the list.
- See Also:
- FieldList
-
ComputedValue
-
-
ExplicitValue
-
-
Failed
- Symbolic values for present member
Failed, NotPresent, ComputedValue, ExplicitValue
-
myName
- Name of the class
-
Next
- Link to next field, null terminates.
-
NotPresent
-
-
FieldLink()
- Constructor
-
Delete(Scan)
- Delete current value and replace with default
-
Display(Scan)
- Display current value
-
Edit(Scan)
- Edit current value
-
GiveValue()
- Write value to string(s)
Virtual version.
-
Name()
- Class name
-
ParseValue(String, int, boolean)
- Read value from string
Virtual version.
-
Postprocess(Scan)
- Postprocess
Usually nothing need be done.
-
Preprocess(Scan)
- Preprocess
Fill in defaults if not present.
-
SetDefault(Scan, Scan)
- Set defaults
Fill in defaults if not explicit in Current but is in Default.
Failed
public static final int Failed
- Symbolic values for present member
Failed, NotPresent, ComputedValue, ExplicitValue
NotPresent
public static final int NotPresent
ComputedValue
public static final int ComputedValue
ExplicitValue
public static final int ExplicitValue
Next
public FieldLink Next
- Link to next field, null terminates.
myName
public String myName
- Name of the class
FieldLink
public FieldLink()
- Constructor
Name
public String Name()
- Class name
- Returns:
-
String
Name of the class
SetDefault
public void SetDefault(Scan Current,
Scan Default)
- Set defaults
Fill in defaults if not explicit in Current but is in Default.
- Parameters:
-
Scan
- of which this field is a member.
-
Scan
- to get defaults from
Preprocess
public void Preprocess(Scan Current)
- Preprocess
Fill in defaults if not present.
- Parameters:
-
Scan
- of which this field is a member.
Postprocess
public void Postprocess(Scan Current)
- Postprocess
Usually nothing need be done.
- Parameters:
-
Scan
- of which this field is a member.
Delete
public void Delete(Scan Current)
- Delete current value and replace with default
- Parameters:
-
Scan
- of which this field is a member.
Display
public void Display(Scan Current)
- Display current value
- Parameters:
-
Scan
- of which this field is a member.
this one needs alot more thought about the signature
Edit
public void Edit(Scan Current)
- Edit current value
- Parameters:
-
Scan
- of which this field is a member.
this one needs alot more thought about the signature
ParseValue
public void ParseValue(String Value,
int Index,
boolean Constant)
- Read value from string
Virtual version.
Set value to input string.
- Parameters:
-
String
- Value string
-
index
- Index (not used)
-
boolean
- true if a constant value
GiveValue
public String[] GiveValue()
- Write value to string(s)
Virtual version.
Only returns a value if an Explicit value is present.
Format: Name(index)* Value<\br>
Where (index) is present if the value is an array (not the case for Field),
and the "*" indicates a constant (not editable) value
- Returns:
-
String
one entry per Value array element;
null if no explicit value.
All Packages Class Hierarchy This Package Previous Next Index