1 package org.apache.turbine.tool; 2 3 56 57 import org.apache.turbine.RunData; 58 import org.apache.turbine.services.pull.ApplicationTool; 59 60 84 public class TemplatePageAttributes 85 implements ApplicationTool 86 { 87 88 private RunData data = null; 89 90 91 private String title = null; 92 private String bgColor = null; 93 94 97 public TemplatePageAttributes() 98 { 99 } 100 101 106 public TemplatePageAttributes(RunData data) 107 { 108 this.data = data; 109 } 110 111 117 public void init(Object data) 118 { 119 data = (RunData)data; 122 123 title = null; 125 bgColor = null; 126 } 127 128 131 public void refresh() 132 { 133 } 135 136 143 public TemplatePageAttributes setTitle(String title) 144 { 145 this.title = title; 146 return this; 147 } 148 149 156 public String getTitle() 157 { 158 return title; 159 } 160 161 169 public TemplatePageAttributes setBgColor(String bgColor) 170 { 171 this.bgColor = bgColor; 172 return this; 173 } 174 175 public String getBgColor() 176 { 177 return bgColor; 178 } 179 180 185 public String toString() 186 { 187 return ""; 188 } 189 } 190 | Popular Tags |