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

Public Member Functions

 ParticipationLink ()
 
void setReason (String reason)
 
void setEntity (Object entity)
 
void setName (String name)
 
void setDescription (String description)
 
void afterCompose ()
 
void adjust ()
 
void adjustHover ()
 

Detailed Description

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

Definition at line 38 of file ParticipationLink.java.

Constructor & Destructor Documentation

◆ ParticipationLink()

org.turro.participation.ParticipationLink.ParticipationLink ( )

Definition at line 46 of file ParticipationLink.java.

46  {
47  html = new Html();
48  appendChild(html);
49  }

Member Function Documentation

◆ adjust()

void org.turro.participation.ParticipationLink.adjust ( )

Definition at line 82 of file ParticipationLink.java.

82  {
83  switch(reason) {
84  case REASON_APPLY -> adjustApply();
85  }
86  }
Here is the caller graph for this function:

◆ adjustHover()

void org.turro.participation.ParticipationLink.adjustHover ( )

Definition at line 88 of file ParticipationLink.java.

88  {
89  switch(reason) {
90  case REASON_APPLY -> adjustHoverApply();
91  }
92  }

◆ afterCompose()

void org.turro.participation.ParticipationLink.afterCompose ( )

Definition at line 68 of file ParticipationLink.java.

68  {
69  addEventListener(Events.ON_CLICK, (event) -> {
70  execute();
71  adjust();
72  });
73  addEventListener(Events.ON_MOUSE_OVER, (event) -> {
74  adjustHover();
75  });
76  addEventListener(Events.ON_MOUSE_OUT, (event) -> {
77  adjust();
78  });
79  adjust();
80  }
Here is the call graph for this function:

◆ setDescription()

void org.turro.participation.ParticipationLink.setDescription ( String  description)

Definition at line 63 of file ParticipationLink.java.

63  {
64  this.description = description;
65  }

◆ setEntity()

void org.turro.participation.ParticipationLink.setEntity ( Object  entity)

Definition at line 55 of file ParticipationLink.java.

55  {
56  this.entity = entity;
57  }

◆ setName()

void org.turro.participation.ParticipationLink.setName ( String  name)

Definition at line 59 of file ParticipationLink.java.

59  {
60  this.name = name;
61  }

◆ setReason()

void org.turro.participation.ParticipationLink.setReason ( String  reason)

Definition at line 51 of file ParticipationLink.java.

51  {
52  this.reason = ParticipationReason.valueOf(reason);
53  }

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