KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > views > engines > JahiaEngineTabButtonsHelper


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12

13 package org.jahia.views.engines;
14
15 import java.util.ArrayList JavaDoc;
16
17 import org.jahia.taglibs.button.TabButton;
18
19 /**
20  *
21  * <p>Title: Helper object for Jahia Engine Tab Control Buttons </p>
22  * <p>Description: </p>
23  * <p>Copyright: Copyright (c) 2002</p>
24  * <p>Company: </p>
25  * @author Khue Nguyen
26  * @version 1.0
27  */

28 public class JahiaEngineTabButtonsHelper {
29
30     private static final String JavaDoc CLASS_NAME = JahiaEngineTabButtonsHelper.class.getName();
31     public static final String JavaDoc JAHIA_ENGINE_BUTTONS_HELPER = "jahiaEngineTabButtonsHelper";
32
33     private ArrayList JavaDoc buttons = new ArrayList JavaDoc();
34
35     /**
36      *
37      */

38     public JahiaEngineTabButtonsHelper(){
39         // Empty constructor enabling tag lib Java Bean access
40
}
41
42     public void addButton(TabButton button){
43         buttons.add(button);
44     }
45
46     public ArrayList JavaDoc getButtons(){
47         return this.buttons;
48     }
49 }
50
51
Popular Tags