KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > log4j > lf5 > viewer > categoryexplorer > CategoryElement


1 /*
2  * Copyright 1999-2005 The Apache Software Foundation.
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 org.apache.log4j.lf5.viewer.categoryexplorer;
17
18 /**
19  * CategoryElement represents a single element or part of a Category.
20  *
21  * @author Michael J. Sikorsky
22  * @author Robert Shaw
23  */

24
25 // Contributed by ThoughtWorks Inc.
26

27 public class CategoryElement {
28   //--------------------------------------------------------------------------
29
// Constants:
30
//--------------------------------------------------------------------------
31

32   //--------------------------------------------------------------------------
33
// Protected Variables:
34
//--------------------------------------------------------------------------
35
protected String JavaDoc _categoryTitle;
36
37   //--------------------------------------------------------------------------
38
// Private Variables:
39
//--------------------------------------------------------------------------
40

41   //--------------------------------------------------------------------------
42
// Constructors:
43
//--------------------------------------------------------------------------
44

45   public CategoryElement() {
46     super();
47   }
48
49   public CategoryElement(String JavaDoc title) {
50     _categoryTitle = title;
51   }
52
53   //--------------------------------------------------------------------------
54
// Public Methods:
55
//--------------------------------------------------------------------------
56

57   public String JavaDoc getTitle() {
58     return (_categoryTitle);
59   }
60
61   public void setTitle(String JavaDoc title) {
62     _categoryTitle = title;
63   }
64
65   //--------------------------------------------------------------------------
66
// Protected Methods:
67
//--------------------------------------------------------------------------
68

69   //--------------------------------------------------------------------------
70
// Private Methods:
71
//--------------------------------------------------------------------------
72

73   //--------------------------------------------------------------------------
74
// Nested Top-Level Classes or Interfaces:
75
//--------------------------------------------------------------------------
76

77 }
78
79
80
81
82
83
84
Popular Tags