1:<!-- ==================== GRAPHSHEET ======================
 2:Common:   Configurationfile for tsl.jartifex.JArtifex
 3:Comment:  show data in a graphical manner (diagram)
 4:Author:   Thomas Schneider
 5:Date:     16.01.2000
 6:JDK:      1.2
 7:Call:     java -jar tsl.jar graphsheet
 8:======================================================= -->
 9:<JArtifex.graphsheet>
10:<group.Common>
11:        POSX            ="220"
12:        POSY            ="130"
13:        SIZX            ="580"
14:        SIZY            ="400"
15:</group.Common>
16:
17:<group.Swing>
18:        <Edit name      = "medOpen"
19:                title   = "Open"
20:                command = "[PAR1]"
21:                link    = "actionLaden"
22:                width   = "2">
23:        </Edit>
24:        <Split  name            = "split1"
25:                        alignment       = "vertical"
26:                        width   = "2">
27:                <Split  name            = "split2"
28:                                alignment       = "horizontal">
29:                        <Tree   name    = "trData"
30:                                        cmdtype = "READ"
31:                                        command = "samples/data/graphs.txt"
32:                                        link    = "sprTable,grpGraph,medOpen">
33:                        </Tree>
34:                        <Spread name    = "sprTable"
35:                                        title   = "Table"
36:                                        cmdtype = "READ"
37:                                        command = "[medOpen]"
38:                                        link    = "medCell">
39:                        </Spread>
40:                </Split>
41:                <Graph name     = "grpGraph"
42:                        title   = "Graph"
43:                    cmdtype = "READ"
44:                    graphtype = "LINE"
45:                    command = "medOpen">
46:                </Graph>
47:        </Split>
48:        <Edit name      = "medCell"
49:                title   = "Cell"
50:                link    = "bnErsetzen"
51:                width   = "2">
52:        </Edit>
53:        <Button name    = "actionAnhaengen"
54:                cmdtype = "APPEND"
55:                command = "[medOpen]"
56:                link    = "trData"
57:                visible = "off"
58:                position= "right">
59:        </Button>
60:        <Button name    = "actionLaden"
61:                cmdtype = "READ"
62:                command = "[medOpen]"
63:                link    = "actionAnhaengen,sprTable,grpGraph"
64:                visible = "off"
65:                position= "right">
66:        </Button>
67:        <Button name= "bnOeffnen"
68:                title   = "Oeffnen"
69:                cmdtype = "OPEN"
70:                command = "[medOpen]"
71:                link    = "actionLaden"
72:                position= "down">
73:        </Button>
74:        <Button name= "bnErsetzen"
75:                title   = "Ersetzen"
76:                cmdtype = "CLS"
77:                command = "tsl.StringUtil isTrue [medCell]<5"
78:                link    = "NOTNULL:actionErsetzen, NULL:actionMessage"
79:                position= "right">
80:        </Button>
81:        <Button name= "actionErsetzen"
82:                cmdtype = "CLS"
83:                command = "tsl.StringUtil replaceInFile [medOpen] [sprTable] [medCell]"
84:                link    = "trData"
85:                visible = "off"
86:                position= "right">
87:        </Button>
88:        <Button name= "actionMessage"
89:                cmdtype = "CLS"
90:                command = "tsl.jartifex.JArtifex main msgbox 'Geben Sie bitte eine Zahl kleiner 5 ein'"
91:                link    = "trData"
92:                visible = "off"
93:                position= "right">
94:        </Button>
95:</group.Swing>
96:</JArtifex.graphsheet>
1