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

Public Member Functions

Task getTask ()
 
void setTask (Task task)
 
void addRelation ()
 
- Public Member Functions inherited from org.turro.zkoss.grid.PagingGrid
void setColumns (int columns)
 
void setColumns (String hflexs)
 
void refine ()
 
boolean isDefaultBehavior ()
 
void setDefaultBehavior (boolean defaultBehavior)
 
String getRefineValue ()
 
void setRefineValue (String value)
 
int getMaxResults ()
 
void setMaxResults (int maxResults)
 
String getPagingMold ()
 
void setPagingMold (String pagingMold)
 
int getRowCount ()
 
void setRowCount (int rows)
 
void setHeadersVisible (boolean value)
 
boolean isHeadersVisible ()
 
String getVarColumns ()
 
void setVarColumns (String varColumns)
 
Collection< String > getVarColumnsList (String defaultCols)
 
void addDetailColumn ()
 
void addDetailColumn (HtmlBasedComponent caption)
 
void openDetails ()
 
boolean isEmpty ()
 
void clearColumns ()
 
void clearRows ()
 
void clearEmptyGroups ()
 
Columns getColumns (boolean create)
 
Rows getRows (boolean create)
 
Foot getFoot (boolean create)
 
Foot createFoot ()
 
void exportToPdf ()
 

Detailed Description

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

Definition at line 44 of file PredecessorsGrid.java.

Member Function Documentation

◆ addRelation()

void org.turro.erp.task.PredecessorsGrid.addRelation ( )

Definition at line 59 of file PredecessorsGrid.java.

59  {
60  final Predecessor p = new Predecessor();
61  p.setTask(task);
62  p.setType(PredecessorType.START_WHEN_ENDS);
63  editRelation(p, new Command() {
64  @Override
65  public Object execute(Context context) {
66  task.getPredecessors().add(p);
67  addRows();
68  return null;
69  }
70  });
71  }
Here is the call graph for this function:

◆ getTask()

Task org.turro.erp.task.PredecessorsGrid.getTask ( )

Definition at line 49 of file PredecessorsGrid.java.

49  {
50  return task;
51  }

◆ setTask()

void org.turro.erp.task.PredecessorsGrid.setTask ( Task  task)

Definition at line 53 of file PredecessorsGrid.java.

53  {
54  this.task = task;
55  addColumns();
56  addRows();
57  }

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