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

Public Member Functions

Contact getProvider ()
 
void setProvider (Contact provider)
 
String getEntityPath ()
 
void setEntityPath (String entityPath)
 
void setEntity (Object entity)
 
void afterCompose ()
 
- Public Member Functions inherited from org.turro.zkoss.layout.GridLayout
 GridLayout ()
 
 GridLayout (int columns)
 
 GridLayout (String hflexs)
 
void setColumns (int columns)
 
void setColumns (String hflexs)
 
void setColCaptions (String captions)
 
void setColCaptions (String[] captions)
 
void clearRows ()
 
GridLayout addGroup (String title, boolean open)
 
GridLayout addRow ()
 
GridLayout insertBeforeRow (Row row)
 
GridLayout addCaption (String label)
 
GridLayout addValue (String value)
 
GridLayout addBoldValue (String value)
 
GridLayout addComponent (HtmlBasedComponent comp)
 
GridLayout addSpannedComponent (HtmlBasedComponent comp, int cols)
 
GridLayout addRowSpannedComponent (HtmlBasedComponent comp, int rows)
 
GridLayout addSpace ()
 
Row getCurrentRow ()
 
Rows getRows (boolean create)
 
Object getData ()
 
void setData (Object data)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.zkoss.layout.GridLayout
Row currentRow
 

Detailed Description

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

Definition at line 50 of file InTouchControl.java.

Member Function Documentation

◆ afterCompose()

void org.turro.zul.intouch.InTouchControl.afterCompose ( )

Definition at line 76 of file InTouchControl.java.

76  {
77  if(provider == null || entityPath.endsWith("/0") || Strings.isBlank(entityPath)) {
78  return;
79  }
80  setColumns("3,3,3,1,min,min");
81  showInTouchs();
82  addEventListener(Events.ON_CHANGE, new EventListener<Event>() {
83  @Override
84  public void onEvent(Event event) throws Exception {
85  showInTouchs();
86  }
87  });
88  }
Here is the call graph for this function:

◆ getEntityPath()

String org.turro.zul.intouch.InTouchControl.getEntityPath ( )

Definition at line 63 of file InTouchControl.java.

63  {
64  return entityPath;
65  }

◆ getProvider()

Contact org.turro.zul.intouch.InTouchControl.getProvider ( )

Definition at line 55 of file InTouchControl.java.

55  {
56  return provider;
57  }

◆ setEntity()

void org.turro.zul.intouch.InTouchControl.setEntity ( Object  entity)

Definition at line 71 of file InTouchControl.java.

71  {
72  setEntityPath(Entities.getController(entity).getPath());
73  }
void setEntityPath(String entityPath)
Here is the call graph for this function:

◆ setEntityPath()

void org.turro.zul.intouch.InTouchControl.setEntityPath ( String  entityPath)

Definition at line 67 of file InTouchControl.java.

67  {
68  this.entityPath = entityPath;
69  }
Here is the caller graph for this function:

◆ setProvider()

void org.turro.zul.intouch.InTouchControl.setProvider ( Contact  provider)

Definition at line 59 of file InTouchControl.java.

59  {
60  this.provider = provider;
61  }

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