|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.rubecula.util.Presentation
|
+--com.rubecula.spreadsheet.TextPresentation
Class to model the presentation of pure text in a spreadsheet cell.
| Field Summary | |
(package private) static java.lang.String |
_PresentableClass
The name of the class that will be used to create a Presentable from a TextPresentation, when invoking the parse() method. |
| Fields inherited from class com.rubecula.util.Presentation |
$empty, $Stars |
| Constructor Summary | |
TextPresentation(java.lang.String s)
Primary constructor. |
|
| Method Summary | |
java.lang.String |
audit(java.lang.String label)
Method to return a detailed string from an object for debugging purposes. |
java.lang.String |
getIdentifier()
Method to get the specific identifier for an object. |
Presentable |
parse()
Method to parse this text presentation and create a new Presentable object. |
java.lang.String |
toString(int width)
Render this Presentation as a String within the width specified. |
| Methods inherited from class com.rubecula.util.Presentation |
audit, audit, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static java.lang.String _PresentableClass
parse() method.
| Constructor Detail |
public TextPresentation(java.lang.String s)
s - the text for the new TextPresentation.| Method Detail |
public java.lang.String toString(int width)
toString in class Presentationwidth - the max. number of characters within which to output the
presentation.
PresentationException - if the presentation cannot be rendered
within the given width.public java.lang.String audit(java.lang.String label)
Auditable
label - the label to associate with the data.
If label is non-null, a more detailed audit will be returned (this
normally occurs only at the top level).
public Presentable parse()
parse in class Presentation_PresentableClass.
java.lang.RuntimeException - if the text presentation cannot be parsed.public java.lang.String getIdentifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||