|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.util.BVFormat.FieldFormat
byucc.jhdl.util.BVFormat.FieldFormatLiteral
Abstract class used for formatting fields.
Field Summary |
Fields inherited from class byucc.jhdl.util.BVFormat.FieldFormat |
minWidth |
Constructor Summary | |
FieldFormatLiteral(java.lang.String literal)
Constructor for the FieldFormat object. |
Method Summary | |
protected java.lang.String |
formatField(BV field,
boolean fractional)
This method is written by the subclasses of FieldFormat. |
Methods inherited from class byucc.jhdl.util.BVFormat.FieldFormat |
formatField, getMinWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldFormatLiteral(java.lang.String literal)
Method Detail |
protected java.lang.String formatField(BV field, boolean fractional)
formatField
in class FieldFormat
field
- This BV is the entire BV. The correct ranges will need to be
gotten by subclasses of this class.fractional
- Tells whether or not this field represents a
fraction (if true) or a whole number (if false).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |