KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > webapp > taglib > core > menu > context > ItemContainer


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.blandware.atleap.webapp.taglib.core.menu.context;
17
18 import com.blandware.atleap.webapp.taglib.core.util.ContextMenuItem;
19
20 import javax.servlet.jsp.tagext.SimpleTag JavaDoc;
21
22 /**
23  * <p>Interface for tags, which can contain items.</p>
24  * <p><a HREF="ItemContainer.java.htm"><i>View Source</i></a></p>
25  *
26  * @author Sergey Zubtcovskii <a HREF="mailto:sergey.zubtcovskii@blandware.com">&lt;sergey.zubtcovskii@blandware.com&gt;</a>
27  * @version $Revision: 1.2 $ $Date: 2005/09/21 13:46:04 $
28  */

29 public interface ItemContainer extends SimpleTag JavaDoc {
30
31     /**
32      * Stores menu item to the container
33      *
34      * @param index Number of row in table to add menu item
35      * @param item Menu item to add to container
36      */

37     public void storeItem(Integer JavaDoc index, ContextMenuItem item);
38
39 }
40
Popular Tags