◆ afterCompose()
void org.turro.zul.portal.PortalContent.afterCompose |
( |
| ) |
|
Definition at line 117 of file PortalContent.java.
118 if(content instanceof AfterCompose) {
119 ((AfterCompose) content).afterCompose();
◆ compareTo()
int org.turro.zul.portal.PortalContent.compareTo |
( |
Object |
o | ) |
|
Definition at line 77 of file PortalContent.java.
78 if(o !=
null && o instanceof PortalContent) {
79 return order.compareTo(((PortalContent) o).order);
◆ load()
void org.turro.zul.portal.PortalContent.load |
( |
Element |
root | ) |
|
Definition at line 38 of file PortalContent.java.
39 order = Integer.valueOf(root.getAttributeValue(
"order",
"0"));
40 setTitle(root.getAttributeValue(
"title"));
41 setBorder(root.getAttributeValue(
"border",
"normal"));
42 setHeight(root.getAttributeValue(
"height",
"300px"));
43 setStyle(root.getAttributeValue(
"style",
""));
44 setCollapsible(Boolean.valueOf(root.getAttributeValue(
"collapsible",
"true")));
45 setMaximizable(Boolean.valueOf(root.getAttributeValue(
"maximizable",
"true")));
46 setMovable(Boolean.valueOf(root.getAttributeValue(
"movable",
"true")));
47 setClosable(Boolean.valueOf(root.getAttributeValue(
"closable",
"true")));
48 createInstance(root.getChild(
"content"));
49 if(content instanceof Component) {
50 Panelchildren children =
new Panelchildren();
51 appendChild(children);
52 children.appendChild((Component) content);
◆ save()
void org.turro.zul.portal.PortalContent.save |
( |
Element |
root | ) |
|
Definition at line 56 of file PortalContent.java.
57 root.setAttribute(
"order", getPosition(order) +
"");
58 root.setAttribute(
"title", getTitle());
59 root.setAttribute(
"border", getBorder());
60 root.setAttribute(
"height", getHeight());
61 if(getStyle() !=
null) {
62 root.setAttribute(
"style", getStyle());
64 root.setAttribute(
"collapsible", Boolean.toString(isCollapsible()));
65 root.setAttribute(
"maximizable", Boolean.toString(isMaximizable()));
66 root.setAttribute(
"movable", Boolean.toString(isMovable()));
67 root.setAttribute(
"closable", Boolean.toString(isClosable()));
69 Element el =
new Element(
"content");
70 el.setAttribute(
"java-class", content.getClass().getName());
void setConfiguration(Element root)
The documentation for this class was generated from the following file: