public class

CategoryPath

extends Object
java.lang.Object
   ↳ org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath

Class Overview

CategoryPath is a collection of CategoryItems which represent a path of categories.

Summary

Fields
protected LinkedList _categoryElements
Public Constructors
CategoryPath()
CategoryPath(String category)
Construct a CategoryPath.
Public Methods
void addCategoryElement(CategoryElement categoryElement)
Adds the specified categoryElement to the end of the categoryElement set.
CategoryElement categoryElementAt(int index)
Returns the CategoryElement at the specified index.
boolean isEmpty()
void removeAllCategoryElements()
Removes all categoryElements.
int size()
returns the number of CategoryElements.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected LinkedList _categoryElements

Public Constructors

public CategoryPath ()

public CategoryPath (String category)

Construct a CategoryPath. If the category is null, it defaults to "Debug".

Public Methods

public void addCategoryElement (CategoryElement categoryElement)

Adds the specified categoryElement to the end of the categoryElement set.

public CategoryElement categoryElementAt (int index)

Returns the CategoryElement at the specified index.

public boolean isEmpty ()

public void removeAllCategoryElements ()

Removes all categoryElements.

public int size ()

returns the number of CategoryElements.

public String toString ()