KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > toolbar > ScriptButtonTag


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.toolbar;
14
15 import com.tonbeller.wcf.controller.RequestContext;
16
17
18 /**
19  * Created on 06.01.2003
20  *
21  * @author av
22  */

23 public class ScriptButtonTag extends ToolButtonTag {
24
25   String JavaDoc model;
26
27   /**
28    * @see com.tonbeller.wcf.toolbar.ToolButtonTag#getToolButtonModel()
29    */

30   protected ToolButtonModel getToolButtonModel(RequestContext context) {
31     return new ScriptButtonModel(model);
32   }
33
34   /**
35    * Sets the model.
36    * @param model The model to set
37    */

38   public void setModel(String JavaDoc model) {
39     this.model = model;
40   }
41
42 }
43
Popular Tags