public abstract class AbstractDecorator<S extends IStats> extends Object implements IDecorator<S>
| Modifier and Type | Field and Description |
|---|---|
protected static long |
MB
Constant for MegaByte.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDecorator(String aName,
String[] captionStrings,
String[] shortExplanationStrings,
String[] explanationStrings)
Creates a new abstract decorator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
List<StatCaptionBean> |
getCaptions()
Returns the captions for the stat table.
|
String |
getExplanation(String caption)
Returns an explanation for a caption.
|
String |
getName()
Returns the name of the decorator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValuesprotected static final long MB
protected AbstractDecorator(String aName, String[] captionStrings, String[] shortExplanationStrings, String[] explanationStrings)
aName - name of the decorator.captionStrings - array with captions.shortExplanationStrings - array with short explanations (mouse over).explanationStrings - array with long explanations.public List<StatCaptionBean> getCaptions()
IDecoratorgetCaptions in interface IDecorator<S extends IStats>public String getName()
IDecoratorgetName in interface IDecorator<S extends IStats>public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic String getExplanation(String caption)
IDecoratorgetExplanation in interface IDecorator<S extends IStats>Copyright © 2010-2015 anotheria.net. All Rights Reserved.