summaryrefslogtreecommitdiffstats
path: root/tools/droiddoc/templates/hierarchy.cs
blob: 3529e0269dc98fd7a5651c81a794aede04928d23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?cs include:"macros.cs" ?>
<html>
<style>
    .jd-hierarchy-spacer {
        width: 15px;
    }
    .jd-hierarchy-data {
        text-align: left;
        vertical-align: top;
    }
</style>
<?cs include:"head_tag.cs" ?>
<?cs include:"header.cs" ?>

<div class="g-unit" id="doc-content">

<div id="jd-header">
<h1><?cs var:page.title ?></h1>
</div>

<div id="jd-content">

<div style="margin-left: 20px; margin-right: 20px;">

<?cs def:hierarchy_list(classes) ?>
<?cs each:cl = classes ?>
<tr>
    <?cs loop:x=#0,cl.indent,#1 ?><td class="jd-hierarchy-spacer"></td><?cs /loop ?>
    <td class="jd-hierarchy-data" colspan="<?cs var:cl.colspan ?>">
    <?cs if:cl.exists ?>
        <?cs call:type_link(cl.class) ?>
    <?cs else ?>
        <?cs var:cl.value ?>
    <?cs /if ?>
    </td>
    <td class="jd-hierarchy-data">
    <?cs each:iface = cl.interfaces ?>
        <?cs if:iface.exists ?>
            <?cs call:type_link(iface.class) ?>
        <?cs else ?>
            <?cs var:iface.value ?>
        <?cs /if ?> &nbsp;&nbsp;
    <?cs /each ?>
    &nbsp;
    </td>
</tr>
<?cs call:hierarchy_list(cl.derived) ?>
<?cs /each ?>
<?cs /def ?>


<table border="0" cellpadding="0" cellspacing="1">
<th class="jd-hierarchy-data" colspan="<?cs var:colspan ?>">Class</th>
<th class="jd-hierarchy-data">Interfaces</th>
<?cs call:hierarchy_list(classes) ?>
</table>

</div>

<?cs include:"footer.cs" ?>
</div><!-- end jd-content -->
</div><!-- end doc-content -->
<?cs include:"analytics.cs" ?>
</body>
</html>