BrightSide Workbench Full Report + Source Code
All Classes Namespaces Files Functions Variables Pages
org.turro.zul.relpaths.RelatedPathsControl Class Reference
Inheritance diagram for org.turro.zul.relpaths.RelatedPathsControl:
Collaboration diagram for org.turro.zul.relpaths.RelatedPathsControl:

Public Member Functions

String getEntityPath ()
 
void setEntityPath (String entityPath)
 
void setEntity (Object entity)
 
void setNewControl (IAddRelatedPaths newControl)
 
void setAllowMultiple (boolean allowMultiple)
 
void afterCompose ()
 

Detailed Description

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

Definition at line 36 of file RelatedPathsControl.java.

Member Function Documentation

◆ afterCompose()

void org.turro.zul.relpaths.RelatedPathsControl.afterCompose ( )

Definition at line 63 of file RelatedPathsControl.java.

63  {
64  showRelations();
65  addEventListener(Events.ON_CHANGE, new EventListener<Event>() {
66  @Override
67  public void onEvent(Event event) throws Exception {
68  showRelations();
69  }
70  });
71  }

◆ getEntityPath()

String org.turro.zul.relpaths.RelatedPathsControl.getEntityPath ( )

Definition at line 42 of file RelatedPathsControl.java.

42  {
43  return entityPath;
44  }

◆ setAllowMultiple()

void org.turro.zul.relpaths.RelatedPathsControl.setAllowMultiple ( boolean  allowMultiple)

Definition at line 58 of file RelatedPathsControl.java.

58  {
59  this.allowMultiple = allowMultiple;
60  }

◆ setEntity()

void org.turro.zul.relpaths.RelatedPathsControl.setEntity ( Object  entity)

Definition at line 50 of file RelatedPathsControl.java.

50  {
51  setEntityPath(Entities.getController(entity).getPath());
52  }
Here is the call graph for this function:

◆ setEntityPath()

void org.turro.zul.relpaths.RelatedPathsControl.setEntityPath ( String  entityPath)

Definition at line 46 of file RelatedPathsControl.java.

46  {
47  this.entityPath = entityPath;
48  }
Here is the caller graph for this function:

◆ setNewControl()

void org.turro.zul.relpaths.RelatedPathsControl.setNewControl ( IAddRelatedPaths  newControl)

Definition at line 54 of file RelatedPathsControl.java.

54  {
55  this.newControl = newControl;
56  }

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