|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.chart.CardColor
public class CardColor
Field Summary | |
---|---|
static IChartKey |
UNKNOW_COLOR
|
Constructor Summary | |
---|---|
CardColor(java.lang.String colorName,
int colorValue)
Create a new instance of this class. |
Method Summary | |
---|---|
int |
compareTo(IChartKey o)
|
IChartKey |
getDefault()
|
int |
getIntegerKey()
Return the integer key. |
void |
processAdd(java.util.List<IChartKey> workingKeys)
Add this key to the specified list. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IChartKey UNKNOW_COLOR
Constructor Detail |
---|
public CardColor(java.lang.String colorName, int colorValue)
colorName
- colorValue
- Method Detail |
---|
public java.lang.String toString()
toString
in interface IChartKey
toString
in class java.lang.Object
public IChartKey getDefault()
getDefault
in interface IChartKey
public int compareTo(IChartKey o)
compareTo
in interface java.lang.Comparable<IChartKey>
public int getIntegerKey()
IChartKey
getIntegerKey
in interface IChartKey
public void processAdd(java.util.List<IChartKey> workingKeys)
IChartKey
processAdd
in interface IChartKey
workingKeys
- the current key list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |