|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the linkage between values in the JQuantity package and user interface classes, such as in com.rubecula.spreadsheet. For example, zny subclass com.rubecula.jquantity.BaseNumber implements this interface and so can be converted into a Presentation and back again.
Note: this interface is a co-class with the abstract class Presentation (each depends on the other).
| Method Summary | |
Presentable |
makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
| Method Detail |
public Presentation present(AttrMap attributes)
throws PresentationException
attributes - a map of the attributes desired for the construction
of the new presentation (may be empty).
PresentationException - in case of parsing error.
public Presentable makePresentableInstance(Presentation presentation)
throws PresentationException
presentation - of a number to be converted into a Presentable number.
PresentationException - in case of parsing error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||