KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > icheatsheet > simple > ISimpleCS


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.pde.internal.core.icheatsheet.simple;
13
14
15 /**
16  * ISimpleCS
17  *
18  */

19 public interface ISimpleCS extends ISimpleCSObject {
20
21     /**
22      * Attribute: title
23      * @return
24      */

25     public String JavaDoc getTitle();
26     
27     /**
28      * Attribute: title
29      * @param title
30      */

31     public void setTitle(String JavaDoc title);
32
33     /**
34      * Element: intro
35      * @return
36      */

37     public ISimpleCSIntro getIntro();
38     
39     /**
40      * Element: intro
41      * @param intro
42      */

43     public void setIntro(ISimpleCSIntro intro);
44     
45     /**
46      * Element: item
47      * @return
48      */

49     public ISimpleCSItem[] getItems();
50
51     /**
52      * Element: item
53      * @param item
54      */

55     public void addItem(ISimpleCSItem item);
56
57     /**
58      * Element: item
59      * @param item
60      * @param index
61      */

62     public void addItem(int index, ISimpleCSItem item);
63
64     /**
65      * Element: item
66      * @param item
67      */

68     public void removeItem(ISimpleCSItem item);
69     
70     /**
71      * Element: item
72      * @param index
73      */

74     public void removeItem(int index);
75
76     /**
77      * Element: item
78      * @param item
79      * @param newRelativeIndex
80      */

81     public void moveItem(ISimpleCSItem item, int newRelativeIndex);
82     
83     /**
84      * Element: item
85      * @param item
86      */

87     public boolean isFirstItem(ISimpleCSItem item);
88     
89     /**
90      * Element: item
91      * @param item
92      */

93     public boolean isLastItem(ISimpleCSItem item);
94     
95     /**
96      * @param item
97      * @return
98      */

99     public int indexOfItem(ISimpleCSItem item);
100
101     /**
102      * Element: item
103      * @return
104      */

105     public int getItemCount();
106
107     /**
108      * Element: item
109      * @return
110      */

111     public boolean hasItems();
112     
113     /**
114      * Element: item
115      * @param item
116      * @return
117      */

118     public ISimpleCSItem getNextSibling(ISimpleCSItem item);
119     
120     /**
121      * Element: item
122      * @param item
123      * @return
124      */

125     public ISimpleCSItem getPreviousSibling(ISimpleCSItem item);
126     
127 }
128
Popular Tags