net.sf.magicproject.chart
Interface IChartKey

All Superinterfaces:
java.lang.Comparable<IChartKey>
All Known Implementing Classes:
CardColor, CardManaCost, CardTypes

public interface IChartKey
extends java.lang.Comparable<IChartKey>

Since:
0.93
Author:
Fabrice Daugan

Method Summary
 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 interface java.lang.Comparable
compareTo
 

Method Detail

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

getIntegerKey

int getIntegerKey()
Return the integer key.

Returns:
the integer key.

getDefault

IChartKey getDefault()
Returns:
the default value of this key type.

processAdd

void processAdd(java.util.List<IChartKey> workingKeys)
Add this key to the specified list.

Parameters:
workingKeys - the current key list.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.