BrightSide Workbench Full Report + Source Code
org.turro.zul.portal.PortalColumn Class Reference
Inheritance diagram for org.turro.zul.portal.PortalColumn:
Collaboration diagram for org.turro.zul.portal.PortalColumn:

Public Member Functions

void load (Element root)
 
void save (Element root)
 
int compareTo (Object o)
 
void afterCompose ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file PortalColumn.java.

Member Function Documentation

◆ afterCompose()

void org.turro.zul.portal.PortalColumn.afterCompose ( )

Definition at line 71 of file PortalColumn.java.

71  {
72  for(PortalContent content : contents) {
73  content.afterCompose();
74  }
75  }

◆ compareTo()

int org.turro.zul.portal.PortalColumn.compareTo ( Object  o)

Definition at line 52 of file PortalColumn.java.

52  {
53  if(o != null && o instanceof PortalColumn) {
54  return order.compareTo(((PortalColumn) o).order);
55  }
56  return -1;
57  }

◆ load()

void org.turro.zul.portal.PortalColumn.load ( Element  root)

Definition at line 33 of file PortalColumn.java.

33  {
34  order = Integer.valueOf(root.getAttributeValue("order", "0"));
35  setWidth(root.getAttributeValue("width", "100%"));
36  setStyle(root.getAttributeValue("style", "padding:5px"));
37  setVflex("true");
38  contents.load(root);
39  for(PortalContent pc : contents) {
40  appendChild(pc);
41  }
42  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ save()

void org.turro.zul.portal.PortalColumn.save ( Element  root)

Definition at line 44 of file PortalColumn.java.

44  {
45  root.setAttribute("order", getPosition(order) + "");
46  root.setAttribute("width", getWidth());
47  root.setAttribute("style", getStyle());
48  contents.save(root, this);
49  }
void save(Element root, PortalColumn column)
Here is the call graph for this function:

The documentation for this class was generated from the following file: