BrightSide Workbench Full Report + Source Code
org.turro.erp.task.wizard.TaskPanel Class Reference
Inheritance diagram for org.turro.erp.task.wizard.TaskPanel:
Collaboration diagram for org.turro.erp.task.wizard.TaskPanel:

Public Member Functions

boolean doEnter ()
 
boolean doLeave (boolean forwards)
 
- Public Member Functions inherited from org.turro.zkoss.wizard.WizardPanelComposer
Object getObjectValue ()
 
void setObjectValue (Object objectValue)
 
boolean doFinish ()
 
boolean doCancel ()
 
void setShouldSkip (boolean shouldSkip)
 
void setFinalSplash (boolean finalSplash)
 
void setAllowPrior (boolean allowPrior)
 
void setAllowNext (boolean allowNext)
 
void setAllowFinish (boolean allowFinish)
 
void setAllowCancel (boolean allowCancel)
 
boolean isShouldSkip ()
 
boolean isFinalSplash ()
 
boolean isAllowPrior ()
 
boolean isAllowNext ()
 
boolean isAllowFinish ()
 
boolean isAllowCancel ()
 

Detailed Description

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

Definition at line 33 of file TaskPanel.java.

Member Function Documentation

◆ doEnter()

boolean org.turro.erp.task.wizard.TaskPanel.doEnter ( )

Reimplemented from org.turro.zkoss.wizard.WizardPanelComposer.

Definition at line 40 of file TaskPanel.java.

40  {
41  Task task = (Task) getObjectValue();
42  task.setStatus(TaskStatus.TASK_READY);
43  start.setValue(task.getStartDate());
44  end.setValue(task.getEndDate());
45  delivery.setValue(task.getDelivery());
46  name.setValue(task.getName());
47  department.setObjectValue(task.getDepartment());
48  return true;
49  }
Here is the call graph for this function:

◆ doLeave()

boolean org.turro.erp.task.wizard.TaskPanel.doLeave ( boolean  forwards)

Reimplemented from org.turro.zkoss.wizard.WizardPanelComposer.

Definition at line 52 of file TaskPanel.java.

52  {
53  Task task = (Task) getObjectValue();
54  task.setStartDate(start.getValue());
55  task.setEndDate(end.getValue());
56  task.setDelivery(delivery.getValue());
57  task.setName(name.getValue());
58  task.setDepartment(department.getObjectValue());
59  return !forwards || (
60  !Strings.isBlank(name.getValue()));
61  }
Here is the call graph for this function:

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