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

Public Member Functions

void onColumn ()
 
void onColWidth ()
 
void onUseAsTrigger ()
 
void onHideOfEmpty ()
 
void onMoveUp ()
 
void onMoveDown ()
 
void onDelete ()
 
void doAfterCompose (Component comp) throws Exception
 
- Public Member Functions inherited from org.turro.composer.EntityPathComposer< E >
void doBeforeComposeChildren (Component comp) throws Exception
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.composer.EntityPathComposer< E >
String entityPath
 
entity
 

Detailed Description

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

Definition at line 36 of file SectionComposer.java.

Member Function Documentation

◆ doAfterCompose()

void org.turro.newsletter.SectionComposer.doAfterCompose ( Component  comp) throws Exception

Definition at line 96 of file SectionComposer.java.

96  {
97  super.doAfterCompose(comp);
98  grid = (SectionsGrid) Executions.getCurrent().getAttribute("grid");
99  column.setChecked(entity.isNewColumn());
100  useAsTrigger.setChecked(entity.isUseAsTrigger());
101  hideIfEmpty.setChecked(entity.isHideIfEmpty());
102  colWidth.setReadonly(!column.isChecked());
103  }

◆ onColumn()

void org.turro.newsletter.SectionComposer.onColumn ( )

Definition at line 53 of file SectionComposer.java.

53  {
54  entity.setNewColumn(column.isChecked());
55  colWidth.setReadonly(!column.isChecked());
56  Events.postEvent(new Event(Events.ON_CHANGE));
57  }

◆ onColWidth()

void org.turro.newsletter.SectionComposer.onColWidth ( )

Definition at line 60 of file SectionComposer.java.

60  {
61  entity.setWidth(colWidth.getValue());
62  Events.postEvent(new Event(Events.ON_CHANGE));
63  }

◆ onDelete()

void org.turro.newsletter.SectionComposer.onDelete ( )

Definition at line 90 of file SectionComposer.java.

90  {
91  grid.deleteSection(entity);
92  Events.postEvent(new Event(Events.ON_CHANGE));
93  }
void deleteSection(NewsSection newsSection)
Here is the call graph for this function:

◆ onHideOfEmpty()

void org.turro.newsletter.SectionComposer.onHideOfEmpty ( )

Definition at line 72 of file SectionComposer.java.

72  {
73  entity.setHideIfEmpty(hideIfEmpty.isChecked());
74  Events.postEvent(new Event(Events.ON_CHANGE));
75  }

◆ onMoveDown()

void org.turro.newsletter.SectionComposer.onMoveDown ( )

Definition at line 84 of file SectionComposer.java.

84  {
85  grid.moveDown(entity);
86  Events.postEvent(new Event(Events.ON_CHANGE));
87  }
void moveDown(NewsSection newsSection)
Here is the call graph for this function:

◆ onMoveUp()

void org.turro.newsletter.SectionComposer.onMoveUp ( )

Definition at line 78 of file SectionComposer.java.

78  {
79  grid.moveUp(entity);
80  Events.postEvent(new Event(Events.ON_CHANGE));
81  }
void moveUp(NewsSection newsSection)
Here is the call graph for this function:

◆ onUseAsTrigger()

void org.turro.newsletter.SectionComposer.onUseAsTrigger ( )

Definition at line 66 of file SectionComposer.java.

66  {
67  entity.setUseAsTrigger(useAsTrigger.isChecked());
68  Events.postEvent(new Event(Events.ON_CHANGE));
69  }

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