All Packages Class Hierarchy This Package Previous Next Index
Class guinea.ui.RankOrderFormat
java.lang.Object
|
+----java.text.Format
|
+----guinea.ui.RankOrderFormat
- public class RankOrderFormat
- extends Format
- implements PropertyLoader
A formatter used by the GP's results processing to print
rank-order answers.
Variable Index
- ·
pattern
- Formatting pattern used to format RankOrder answer.
Constructor Index
- ·
RankOrderFormat()
- Construct a new RankOrder answer formatter with no pattern.
- ·
RankOrderFormat(String)
- Construct a new RankOrder answer formatter with a formatting
pattern.
Method Index
- ·
applyPattern(String)
- Set the formatting pattern.
- ·
format(Object, StringBuffer, FieldPosition)
- Formats an RankOrderAnswer object to produce a string.
- ·
parseObject(String, ParsePosition)
- Parsing RankOrders is not currently available.
- ·
propertyLoad(Properties, String)
- Load information from properties to this item.
Variables
·
pattern
protected String pattern
- Formatting pattern used to format RankOrder answer.
Constructors
·
RankOrderFormat
public RankOrderFormat()
- Construct a new RankOrder answer formatter with no pattern.
·
RankOrderFormat
public RankOrderFormat(String pattern)
- Construct a new RankOrder answer formatter with a formatting
pattern.
- Parameters:
- pattern - The formatting pattern.
Methods
·
format
public StringBuffer format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
- Formats an RankOrderAnswer object to produce a string.
- Parameters:
- obj - The object to format
- toAppendTo - where the text is to be appended
- status - On input: an alignment field, if desired. On
output: the offsets of the alignment field.
- Returns:
- the value passed in as toAppendTo (this allows
chaining, as with StringBuffer.append()).
- Overrides:
- format in class Format
·
parseObject
public Object parseObject(String source,
ParsePosition status)
- Parsing RankOrders is not currently available.
- Overrides:
- parseObject in class Format
·
applyPattern
public void applyPattern(String pattern)
- Set the formatting pattern.
- Parameters:
- pattern - A formatting pattern.
·
propertyLoad
public void propertyLoad(Properties p,
String name) throws IllegalArgumentException
- Load information from properties to this item.
All Packages Class Hierarchy This Package Previous Next Index