Java Reference
In-Depth Information
}
endif
;
}
}
mapping
mindmap::Topic::toContentItem() : xhtml::DivType {
table +=
object
TableType {
tbody +=
object
TbodyType {
tr +=
object
TrType {
th +=
object
ThType {
align := AlignType::left;
colspan := 4;
a +=
object
AType {
name :=
self
.name;
text += 'Topic: ' +
self
.name;
};
};
};
tr +=
object
TrType {
td +=
object
TdType {
text += 'Date: ';
text +=
self
.start.repr();
};
td +=
object
TdType {
text += 'Priority: ';
text +=
self
.getPriority();
};
td +=
object
TdType {
text += 'Direct subtopics: ';
text +=
self
.subtopics->size().toString();
};
td +=
object
TdType {
text += 'Total subtopics: ';
text +=
self
.allSubtopics()->size().toString();
};
};
tr +=
object
TrType {
td +=
object
TdType {
align := AlignType::left;
colspan := 4;
text +=
self
.description;
};
};
};
};
end
{
if not self
.subtopics->isEmpty()
then
{
result
.div +=
object
DivType {
h4 +=
object
H4Type {
text += 'Suptopics';
};
ul +=
object
UlType {
li +=
self
.subtopics.
map
toListItem();
};
};
}
endif
;
Search WWH ::
Custom Search