- Timestamp:
- Apr 20, 2010, 5:21:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/JobScheduleBean.java
r864 r865 8 8 import javax.faces.context.FacesContext; 9 9 10 /* 10 /** 11 11 * JobSchedule will list all schedules and the jobs which are associated 12 12 * with a given schedule. … … 15 15 private DataTree dataTree; 16 16 private ConcreteUserObjectItem selectedObject; 17 18 17 public JobScheduleBean(){ 19 18 init(); 20 19 } 21 20 /** 21 * creates a data tree for the job / schedule view 22 */ 22 23 private void init(){ 23 24 Client c = new Client(); … … 47 48 } 48 49 50 /** 51 * creates a new node in the data tree 52 * @param ae ActionEvent parameter as required by JSF. Not used by this method 53 */ 49 54 public void createNodeListener(ActionEvent ae){ 50 55 //Methode kann nur mit ausgewählten ParentNode ausgeführt werden … … 55 60 //dataTree.createNode(parent, userObject); 56 61 } 62 /** 63 * updates the selected node of the data tree 64 * @param ae ActionEvent parameter as required by JSF. Not used by this method 65 */ 57 66 public void updateNodeListener(ActionEvent ae){ 58 67 BeanUtil.setInfoMessage(null, "Die Methode ist noch nicht implementiert"); 59 68 60 69 } 70 /** 71 * delete the selected node of the data tree 72 * @param ae 73 */ 61 74 public void deleteNodeListener(ActionEvent ae){ 62 75 DefaultMutableTreeNode node; … … 85 98 dataTree.getTree().reload(); 86 99 } 100 /** 101 * rebuilds the data tree 102 * @param ae ActionEvent parameter as required by JSF. Not used by this method 103 */ 87 104 public void reloadTreeListener(ActionEvent ae){ 88 105 init(); … … 92 109 93 110 } 94 111 /** 112 * getter method for the dataTree attribute 113 * @return dataTree returns the dataTree object. If you want to user Javas tree methods directly 114 */ 95 115 public DataTree getDataTree(){ 96 116 return dataTree; 97 117 } 98 118 /** 119 * setter method for the dataTree attribute. 120 * @param dataTree the new dataTree object 121 */ 99 122 public void setDataTree(DataTree dataTree){ 100 123 this.dataTree = dataTree;
Note:
See TracChangeset
for help on using the changeset viewer.