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

Public Member Functions

boolean doEnter ()
 
boolean doLeave (boolean forwards)
 
boolean doCancel ()
 
- Public Member Functions inherited from org.turro.zkoss.wizard.WizardPanelComposer
Object getObjectValue ()
 
void setObjectValue (Object objectValue)
 
boolean doFinish ()
 
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 32 of file QuickTaskPanel.java.

Member Function Documentation

◆ doCancel()

boolean org.turro.erp.task.wizard.QuickTaskPanel.doCancel ( )

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

Definition at line 56 of file QuickTaskPanel.java.

56  {
57  Task task = (Task) getObjectValue();
58  task.setName(null);
59  task.setDepartment(null);
60  return super.doCancel();
61  }
Here is the call graph for this function:

◆ doEnter()

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

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

Definition at line 38 of file QuickTaskPanel.java.

38  {
39  Task task = (Task) getObjectValue();
40  task.setStatus(TaskStatus.TASK_PLANNING);
41  name.setValue(task.getName());
42  department.setObjectValue(task.getDepartment());
43  return true;
44  }
Here is the call graph for this function:

◆ doLeave()

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

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

Definition at line 47 of file QuickTaskPanel.java.

47  {
48  Task task = (Task) getObjectValue();
49  task.setName(name.getValue());
50  task.setDepartment(department.getObjectValue());
51  return !forwards || (
52  !Strings.isBlank(name.getValue()));
53  }
Here is the call graph for this function:

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