|
||||||||||
| 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.ErrorPresentation
Description: ErrorPresentation is a class used to allow an error message to be presented to the user, instead of a numeric presentation.
| Field Summary |
| Fields inherited from class com.rubecula.util.Presentation |
_Appearance, $empty, $Stars |
| Constructor Summary | |
ErrorPresentation(java.lang.String s)
|
|
| Method Summary | |
java.lang.String |
audit(java.lang.String label)
Method to return a detailed string from an object for debugging purposes. |
AttrMap |
getAttributes()
Return the attributes with which this presentation was created, or at least the best guess. |
java.lang.String |
getIdentifier()
Method to get the specific identifier for an object. |
java.lang.String |
getPresentableClass()
Method to get the name of the corresponding Presentable class for this Presentation. |
Presentable |
parse()
Convert Presentation x into a Presentable object. |
Presentation |
setValue(java.lang.String s)
|
java.lang.String |
toString()
Render this Presentation as a String with no width limitation. |
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, updateAppearance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ErrorPresentation(java.lang.String s)
| Method Detail |
public Presentable parse()
parse in class Presentationpublic java.lang.String getPresentableClass()
getPresentableClass in class Presentation
public AttrMap getAttributes()
throws PresentationException
getAttributes in class PresentationPresentationExceptionpublic java.lang.String toString(int width)
Presentation
toString in class Presentationwidth - the max. number of characters within which to output the
presentation.
public java.lang.String toString()
Presentation
toString in class Presentationpublic 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 java.lang.String getIdentifier()
Identifiable
public Presentation setValue(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||