net.sf.magicproject.clickable.targetable
Class TargetableFactory

java.lang.Object
  extended by net.sf.magicproject.clickable.targetable.TargetableFactory

public final class TargetableFactory
extends java.lang.Object

Since:
0.86.
Author:
Fabrice Daugan

Field Summary
static javax.swing.JPopupMenu abilitiesMenu
          The associated menu to abilities choice
static java.awt.Color TARGET_COLOR
          The color used to corlor the targetable component
static java.lang.String tooltipDirtyDataBase
          The text displayed in tooltip to indicate this contains some data hidding the original ones.
static java.lang.String tooltipInvalidTarget
          The text displayed in tooltip to indicate this is not a valid target.
static java.lang.String tooltipValidTarget
          The text displayed in tooltip to indicate this is a valid target.
static MCard triggerTargetable
          The last Card where popup trigger has been recorded.
 
Method Summary
static void initSettings()
          Initialize the tooltip headers and topics to display fastest the tooltip of card.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tooltipValidTarget

public static java.lang.String tooltipValidTarget
The text displayed in tooltip to indicate this is a valid target.


tooltipInvalidTarget

public static java.lang.String tooltipInvalidTarget
The text displayed in tooltip to indicate this is not a valid target.


tooltipDirtyDataBase

public static java.lang.String tooltipDirtyDataBase
The text displayed in tooltip to indicate this contains some data hidding the original ones.


TARGET_COLOR

public static final java.awt.Color TARGET_COLOR
The color used to corlor the targetable component


abilitiesMenu

public static javax.swing.JPopupMenu abilitiesMenu
The associated menu to abilities choice


triggerTargetable

public static MCard triggerTargetable
The last Card where popup trigger has been recorded. Used by popup manager.

Method Detail

initSettings

public static void initSettings()
Initialize the tooltip headers and topics to display fastest the tooltip of card.



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