|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.klafbang.tincpn.gui.sheet.Sheet
dk.klafbang.tincpn.animation.AnimationSheet
dk.klafbang.tincpn.animation.plugin.Report
@Note(value="This was previously called ReportSheet") public class Report
Report nicely visualises reports.
It is intended to be used to generate state-space reports, but any amount of data, that fits the format can be used. The report must contain a number og categories, each seperated into a number of sub-categories, each of which contains some data preformatted and intended to be displayed using a mono-spaced font.
Nested Class Summary | |
---|---|
class |
Report.PreviewWrapper
|
Constructor Summary | |
---|---|
Report(java.lang.String name,
java.lang.String id)
Constructs a Report object. |
Method Summary | |
---|---|
void |
addEntry(java.lang.String text)
Add a block of data or text to the report. |
javax.swing.JComponent |
createAnimation()
|
java.awt.Dimension |
getPreferredSize()
|
void |
newCategory(java.lang.String name)
Create a new category in the report. |
void |
newSubcategory(java.lang.String name)
Create a new sub-category in the report. |
Methods inherited from class dk.klafbang.tincpn.animation.AnimationSheet |
---|
canCoexistWith, getComponentImpl |
Methods inherited from class dk.klafbang.tincpn.gui.sheet.Sheet |
---|
addSheetHook, getComponent, getIndexNode, getText, removeComponent, setText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Report(java.lang.String name, java.lang.String id) throws java.lang.Exception
name
- the name of the reportid
-
java.lang.Exception
Method Detail |
---|
public void newCategory(java.lang.String name)
name
- the name of the new categorypublic void newSubcategory(java.lang.String name)
name
- the name of the new sub-categorypublic void addEntry(java.lang.String text)
text
- the text to addpublic java.awt.Dimension getPreferredSize()
getPreferredSize
in class dk.klafbang.tincpn.gui.sheet.Sheet
Sheet.getPreferredSize()
public javax.swing.JComponent createAnimation()
createAnimation
in class dk.klafbang.tincpn.animation.AnimationSheet
AnimationSheet.createAnimation()
|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |