BrightSide Workbench Full Report + Source Code
org.turro.related.RelatedControl Class Reference
Inheritance diagram for org.turro.related.RelatedControl:
Collaboration diagram for org.turro.related.RelatedControl:

Public Member Functions

String getEntityPath ()
 
void setEntityPath (String entityPath)
 
void setEntity (Object entity)
 
void setNewControl (IAddRelated 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 33 of file RelatedControl.java.

Member Function Documentation

◆ afterCompose()

void org.turro.related.RelatedControl.afterCompose ( )

Definition at line 60 of file RelatedControl.java.

60  {
61  showRelations();
62  addEventListener(Events.ON_CHANGE, (Event event) -> {
63  showRelations();
64  });
65  }

◆ getEntityPath()

String org.turro.related.RelatedControl.getEntityPath ( )

Definition at line 39 of file RelatedControl.java.

39  {
40  return entityPath;
41  }

◆ setAllowMultiple()

void org.turro.related.RelatedControl.setAllowMultiple ( boolean  allowMultiple)

Definition at line 55 of file RelatedControl.java.

55  {
56  this.allowMultiple = allowMultiple;
57  }

◆ setEntity()

void org.turro.related.RelatedControl.setEntity ( Object  entity)

Definition at line 47 of file RelatedControl.java.

47  {
48  setEntityPath(Entities.getController(entity).getPath());
49  }
void setEntityPath(String entityPath)
Here is the call graph for this function:

◆ setEntityPath()

void org.turro.related.RelatedControl.setEntityPath ( String  entityPath)

Definition at line 43 of file RelatedControl.java.

43  {
44  this.entityPath = entityPath;
45  }
Here is the caller graph for this function:

◆ setNewControl()

void org.turro.related.RelatedControl.setNewControl ( IAddRelated  newControl)

Definition at line 51 of file RelatedControl.java.

51  {
52  this.newControl = newControl;
53  }

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