net.java.dev.moskito.webui.decorators
Class AbstractDecorator

java.lang.Object
  extended by net.java.dev.moskito.webui.decorators.AbstractDecorator
All Implemented Interfaces:
net.anotheria.util.sorter.IComparable, IDecorator
Direct Known Subclasses:
CacheStatsDecorator, DefaultDecorator, RequestOrientedStatsDecorator, StorageStatsDecorator

public abstract class AbstractDecorator
extends Object
implements IDecorator


Field Summary
protected  List<StatCaptionBean> captions
           
private  String name
           
 
Constructor Summary
protected AbstractDecorator(String aName, String[] captionStrings, String[] shortExplanationStrings, String[] explanationStrings)
           
 
Method Summary
 int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
           
 List<StatCaptionBean> getCaptions()
           
 String getExplanation(String caption)
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.java.dev.moskito.webui.decorators.IDecorator
getValues
 

Field Detail

captions

protected List<StatCaptionBean> captions

name

private String name
Constructor Detail

AbstractDecorator

protected AbstractDecorator(String aName,
                            String[] captionStrings,
                            String[] shortExplanationStrings,
                            String[] explanationStrings)
Method Detail

getCaptions

public List<StatCaptionBean> getCaptions()
Specified by:
getCaptions in interface IDecorator

getName

public String getName()
Specified by:
getName in interface IDecorator

compareTo

public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
                     int method)
Specified by:
compareTo in interface net.anotheria.util.sorter.IComparable

getExplanation

public String getExplanation(String caption)
Specified by:
getExplanation in interface IDecorator


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework