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

Public Member Functions

 ActionWithEntity ()
 
void setEntity (Object entity)
 
Object getEntity ()
 
void setRoot (String entityRoot)
 
void setLabel (String label)
 
void setImage (String image)
 
void afterCompose ()
 

Detailed Description

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

Definition at line 40 of file ActionWithEntity.java.

Constructor & Destructor Documentation

◆ ActionWithEntity()

org.turro.entities.ActionWithEntity.ActionWithEntity ( )

Definition at line 47 of file ActionWithEntity.java.

47  {
48  HashMap args = new HashMap();
49  args.put("el_label", Application.getStringMap());
50  args.put("i_", I_.api());
51  args.put("i", I_.map());
52  args.put("k", I_.byKeyMap());
53  Executions.createComponents("/WEB-INF/_zul/bs/comps/entity/actionWithEntity.zul", this, args);
54  Selectors.wireComponents(this, this, false);
55  Selectors.wireEventListeners(this, this);
56  }
Here is the call graph for this function:

Member Function Documentation

◆ afterCompose()

void org.turro.entities.ActionWithEntity.afterCompose ( )

Definition at line 82 of file ActionWithEntity.java.

82  {
83  initControls();
84  }

◆ getEntity()

Object org.turro.entities.ActionWithEntity.getEntity ( )

Definition at line 63 of file ActionWithEntity.java.

63  {
64  checkEmptyness();
65  return entitybox.getObjectValue();
66  }
Here is the caller graph for this function:

◆ setEntity()

void org.turro.entities.ActionWithEntity.setEntity ( Object  entity)

Definition at line 58 of file ActionWithEntity.java.

58  {
59  entitybox.setObjectValue(entity);
60  checkEmptyness();
61  }
Here is the caller graph for this function:

◆ setImage()

void org.turro.entities.ActionWithEntity.setImage ( String  image)

Definition at line 77 of file ActionWithEntity.java.

77  {
78  actionButton.setImage(image);
79  }

◆ setLabel()

void org.turro.entities.ActionWithEntity.setLabel ( String  label)

Definition at line 73 of file ActionWithEntity.java.

73  {
74  actionButton.setLabel(label);
75  }

◆ setRoot()

void org.turro.entities.ActionWithEntity.setRoot ( String  entityRoot)

Definition at line 68 of file ActionWithEntity.java.

68  {
69  entitybox.setRoot(entityRoot);
70  entityButton.setPopupAttributes(entityPopup, "after_start", null, null, null);
71  }
Here is the caller graph for this function:

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