|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.ui.TooltipFilter
public class TooltipFilter
Field Summary | |
---|---|
boolean |
colors
Are the colors displayed |
boolean |
damage
Are the damage displayed |
static TooltipFilter |
fullInstance
The instance of TooltipFilter containing all fields set to true |
boolean |
powerANDtoughness
Are the power / toughness displayed |
boolean |
properties
Are the properties displayed |
boolean |
states
Are the states displayed |
Test |
test
The filtering test of this tooltip. |
boolean |
types
Are the types displayed |
Constructor Summary | |
---|---|
TooltipFilter(java.io.InputStream inputFile)
Structure of stream : Data[size] display powerANDtoughness yes=1,no=0 [1] display states yes=1,no=0 [1] display types yes=1,no=0 [1] display colors yes=1,no=0 [1] display properties yes=1,no=0 [1] display damage yes=1,no=0 [1] filter [...] |
Method Summary | |
---|---|
boolean |
suits(MCard card)
Return true if this tooltip can be displayed for this specified card. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static TooltipFilter fullInstance
true
public boolean powerANDtoughness
public boolean states
public boolean types
public boolean properties
public boolean colors
public boolean damage
public Test test
Constructor Detail |
---|
public TooltipFilter(java.io.InputStream inputFile) throws java.io.IOException
inputFile
- file containing the states picture
java.io.IOException
- If some other I/O error occursMethod Detail |
---|
public boolean suits(MCard card)
card
- the tested card.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |