Uses of Interface
net.sf.magicproject.event.context.ContextEventListener

Packages that use ContextEventListener
net.sf.magicproject.action Provides actions. 
net.sf.magicproject.action.context Provides context classes of an action. 
net.sf.magicproject.action.handler Provides interfaces describing the resolution phase(s) an action is executed. 
net.sf.magicproject.action.intlist Provides actions manipulating a list of integers. 
net.sf.magicproject.action.objectmap Provides actions manipulating maps of objects of targetable components. 
net.sf.magicproject.action.target Provides action manipulating list of targetable adding only ONE target. 
net.sf.magicproject.action.targetlist Provides actions manipulating lists of targetable components. 
net.sf.magicproject.clickable.ability Abilities. 
net.sf.magicproject.clickable.action Clickable actions are visible actions the players can see their progress such as what's done and what's remain to do. 
net.sf.magicproject.clickable.targetable.card All card components. 
net.sf.magicproject.event Available events. 
net.sf.magicproject.event.context Context attached to a triggered event. 
net.sf.magicproject.event.phase The phase events : before, beginning, ending events. 
net.sf.magicproject.expression Provides expressions. 
net.sf.magicproject.expression.intlist Provides expressions evaluating list of integers. 
net.sf.magicproject.expression.targetlist Provides expressions evaluating list of targetable components. 
net.sf.magicproject.modifier Provides modifiers. 
net.sf.magicproject.stack All classes manipulating stack and controlling the abilities/actions flow. 
net.sf.magicproject.test Provides all tests. 
net.sf.magicproject.token Unclassed constants. 
net.sf.magicproject.ui.component I18N utilities. 
net.sf.magicproject.ui.wizard Wizard components. 
net.sf.magicproject.zone Contains all zones. 
 

Uses of ContextEventListener in net.sf.magicproject.action
 

Methods in net.sf.magicproject.action with parameters of type ContextEventListener
 boolean PayMana.choose(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean ModifyTargetableRegister.choose(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean RemoveObject.continueLoop(ContextEventListener context, int loopingIndex, Ability ability)
           
 boolean MoveObject.continueLoop(ContextEventListener context, int loopingIndex, Ability ability)
           
 boolean MoveCard.continueLoop(ContextEventListener context, int loopingIndex, Ability ability)
           
 boolean LoopAction.continueLoop(ContextEventListener context, int loopingIndex, Ability ability)
          Continue this action, giving the next index of this loop.
 void PayMana.disactivate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 void ModifyTargetableRegister.disactivate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
static void MessagingAction.finishedMessage(int optionAnswer, int indexAnswer, ContextEventListener context, Ability ability, ActionContextWrapper actionContext)
          The returned value is piped to the 'modifyregister' action.
 boolean Repeat.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean PayMana.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean ModifyTargetableRegister.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean MessagingAction.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean Hop.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 int[] UserAction.manaNeeded(Ability ability, ContextEventListener context)
           
 int[] PayMana.manaNeeded(Ability ability, ContextEventListener context)
           
 int[] MAction.manaNeeded(Ability ability, ContextEventListener context)
          Return the amount of mana needed (constant part only) to play this ability As default, we return an empty number for all manas.
static boolean MoveCard.moveCard(MCard movingCard, Player controller, int destination, ContextEventListener context, int idPosition, Ability ability, boolean silentMode)
           
static boolean MoveCard.moveCard(MCard card, TestOn controller, int destination, ContextEventListener context, int idPosition, Ability ability, boolean silentMode)
          Move a card in a zone with a specified new controller.
 boolean WaitTriggeredBufferChoice.play(ContextEventListener context, Ability ability)
           
 boolean WaitActivatedChoice.play(ContextEventListener context, Ability ability)
          Generate event associated to this action.
 boolean UnregisterThis.play(ContextEventListener context, Ability ability)
           
abstract  boolean Target.play(ContextEventListener context, Ability ability)
           
 boolean Sound.play(ContextEventListener context, Ability ability)
           
 boolean Repeat.play(ContextEventListener context, Ability ability)
           
 boolean RemoveMe.play(ContextEventListener context, Ability ability)
           
 boolean RefreshModifier.play(ContextEventListener context, Ability ability)
           
 boolean ModifyTargetableRegister.play(ContextEventListener context, Ability ability)
           
abstract  boolean ModifyRegister.play(ContextEventListener context, Ability ability)
           
abstract  boolean MessagingAction.play(ContextEventListener context, Ability ability)
           
 boolean InputChoice.play(ContextEventListener context, Ability ability)
           
 boolean Input.play(ContextEventListener context, Ability ability)
           
 boolean Hop.play(ContextEventListener context, Ability ability)
           
abstract  boolean GiveMana.play(ContextEventListener context, Ability ability)
           
 boolean DetachMe.play(ContextEventListener context, Ability ability)
           
 boolean AddModifierFromStaticModifier.play(ContextEventListener context, Ability ability)
           
abstract  boolean Target.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          Generate event associated to this action.
 boolean Repeat.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean PayMana.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean ModifyTargetableRegister.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean MessagingAction.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean InputChoice.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean Hop.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void MoveCard.replayAction(ContextEventListener context, Ability ability, Wizard wizard)
           
 void MessagingAction.replayAction(ContextEventListener context, Ability ability, Wizard wizard)
          Replay the current action as it was when it has been suspended.
 void BackgroundMessaging.replayAction(ContextEventListener context, Ability ability, Wizard wizard)
          Replay the current action as it was when it has been suspended.
 void Repeat.replayOnDemand(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          Replay the next action the amount of context times.
 void Target.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void PayMana.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 void MoveCard.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void ModifyTargetableRegister.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void Hop.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void MoveCard.simulate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 java.lang.String UserAction.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String Repeat.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String RemoveObject.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String PayMana.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String MoveObject.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String ModifyRegister.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String MAction.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing this action.
 java.lang.String InputChoice.toHtmlString(Ability ability, ContextEventListener context)
           
abstract  java.lang.String GiveMana.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String PayMana.toHtmlString(Ability ability, ContextEventListener context, ActionContextWrapper actionContext)
           
 java.lang.String ModifyTargetableRegister.toHtmlString(Ability ability, ContextEventListener context, ActionContextWrapper actionContext)
           
 java.lang.String UserAction.toHtmlString(Ability ability, int times, ContextEventListener context)
           
 java.lang.String RemoveObject.toHtmlString(Ability ability, int times, ContextEventListener context)
           
 java.lang.String MoveObject.toHtmlString(Ability ability, int times, ContextEventListener context)
           
 java.lang.String MAction.toHtmlString(Ability ability, int times, ContextEventListener context)
          Return the HTML code representing this action.
 

Uses of ContextEventListener in net.sf.magicproject.action.context
 

Methods in net.sf.magicproject.action.context with parameters of type ContextEventListener
 void ActionContextWrapper.refreshText(Ability ability, ContextEventListener context)
          Refresh the text of associated action UI component.
 java.lang.String ActionContextWrapper.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing this action.
 

Uses of ContextEventListener in net.sf.magicproject.action.handler
 

Methods in net.sf.magicproject.action.handler with parameters of type ContextEventListener
 boolean ChoosenAction.choose(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 void ChoosenAction.disactivate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 boolean InitAction.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 boolean StandardAction.play(ContextEventListener context, Ability ability)
          Generate event associated to this action.
 boolean Replayable.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          Generate event associated to this action.
 boolean InitAction.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          Generate event associated to this action.
 boolean ChoosenAction.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          Generate event associated to this action.
 void RollBackAction.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 void FollowAction.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 void FollowAction.simulate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 java.lang.String ChoosenAction.toHtmlString(Ability ability, ContextEventListener context, ActionContextWrapper actionContext)
          Return the HTML code representing this action.
 

Uses of ContextEventListener in net.sf.magicproject.action.intlist
 

Methods in net.sf.magicproject.action.intlist with parameters of type ContextEventListener
abstract  boolean IntList.play(ContextEventListener context, Ability ability)
           
 java.lang.String IntList.toHtmlString(Ability ability, int times, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.action.objectmap
 

Methods in net.sf.magicproject.action.objectmap with parameters of type ContextEventListener
abstract  boolean ObjectMap.play(ContextEventListener context, Ability ability)
           
 java.lang.String ObjectMap.toHtmlString(Ability ability, int times, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.action.target
 

Methods in net.sf.magicproject.action.target with parameters of type ContextEventListener
 boolean RealTarget.choose(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean ChoosenTarget.choose(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean AbstractTarget.choose(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void ChoosenTarget.disactivate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void AbstractTarget.disactivate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 Targetable SingletonTarget.getAbstractTarget(ContextEventListener context, Ability ability)
           
abstract  Targetable AbstractTarget.getAbstractTarget(ContextEventListener context, Ability ability)
          Return the targetable added by this action.
 boolean ChoosenTarget.init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 boolean ChoosenTarget.play(ContextEventListener context, Ability ability)
           
 boolean AbstractTarget.play(ContextEventListener context, Ability ability)
           
 boolean ChoosenTarget.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 boolean AbstractTarget.replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void ChoosenTarget.rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
           
 void AbstractTarget.simulate(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 java.lang.String SingletonTarget.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String ChoosenTarget.toHtmlString(Ability ability, ContextEventListener context, ActionContextWrapper actionContext)
           
 java.lang.String AbstractTarget.toHtmlString(Ability ability, ContextEventListener context, ActionContextWrapper actionContext)
           
 

Uses of ContextEventListener in net.sf.magicproject.action.targetlist
 

Methods in net.sf.magicproject.action.targetlist with parameters of type ContextEventListener
abstract  boolean TargetList.play(ContextEventListener context, Ability ability)
           
 java.lang.String TargetList.toHtmlString(Ability ability, int times, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.clickable.ability
 

Methods in net.sf.magicproject.clickable.ability with parameters of type ContextEventListener
 boolean Optimization.addTo(Ability ability, ContextEventListener context, java.util.List<TriggeredCard> where)
          Add the specified ability to the TBZ.
 boolean RemoveModifier.equals(ContextEventListener thisContext, Ability ability, ContextEventListener context)
           
 boolean RefreshAbility.equals(ContextEventListener thisContext, Ability ability, ContextEventListener context)
           
 boolean Ability.equals(ContextEventListener thisContext, Ability ability, ContextEventListener context)
          Compare two abilities the specified ability to the TBZ.
 java.lang.String TriggeredStaticModifierAbility.getLog(ContextEventListener context)
           
 java.lang.String TriggeredAbility.getLog(ContextEventListener context)
           
 java.lang.String SystemAbility.getLog(ContextEventListener context)
           
 java.lang.String RemoveModifier.getLog(ContextEventListener context)
           
 java.lang.String RefreshAbility.getLog(ContextEventListener context)
           
 java.lang.String DetachmentAbility.getLog(ContextEventListener context)
           
 java.lang.String ActivatedAbility.getLog(ContextEventListener context)
           
abstract  java.lang.String Ability.getLog(ContextEventListener context)
          Return a String identifying this ability with the name and/or card name.
 TriggeredCard Ability.getTriggeredClone(ContextEventListener context)
          Return a MTriggeredCard representing this ability.
 TriggeredCardChoice Ability.getTriggeredCloneChoice(ContextEventListener context)
          Return a MTriggeredCard representing this ability.
 int[] UserAbility.manaNeeded(ContextEventListener context)
           
 int[] Ability.manaNeeded(ContextEventListener context)
          return the amount of mana needed (constant part only) to play this ability
 java.lang.String UserAbility.toHtmlString(ContextEventListener context)
           
 java.lang.String TriggeredAbility.toHtmlString(ContextEventListener context)
           
 java.lang.String Ability.toHtmlString(ContextEventListener context)
          Return the HTML code representing this ability.
 boolean UserAbility.triggerIt(ContextEventListener context)
           
 boolean TriggeredStaticModifierAbility.triggerIt(ContextEventListener context)
           
 boolean SystemAbility.triggerIt(ContextEventListener context)
           
 boolean ReplacementAbility.triggerIt(ContextEventListener context)
           
 boolean RemoveModifier.triggerIt(ContextEventListener context)
           
 boolean RefreshAbility.triggerIt(ContextEventListener context)
           
 boolean DetachmentAbility.triggerIt(ContextEventListener context)
           
 boolean Ability.triggerIt(ContextEventListener context)
          called when this ability is going to be triggered This method would add this ability to the triggered zone, or perform another play action
 

Uses of ContextEventListener in net.sf.magicproject.clickable.action
 

Methods in net.sf.magicproject.clickable.action with parameters of type ContextEventListener
 boolean ChoosenCostPanel.completeAction(Ability ability, ContextEventListener context, ActionContextWrapper actionContext)
          Set the current ChoosenAction as completed.
static java.lang.String ToStringHelper.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing an action list.
static java.lang.String ToStringHelper.toHtmlString(Ability ability, MAction[] actions, ContextEventListener context)
          Return the HTML code representing an action list.
static void ToStringHelper.toHtmlString(java.lang.StringBuilder buffer, Ability ability, MAction[] actions, ContextEventListener context)
          Return the HTML code representing an action list.
 

Uses of ContextEventListener in net.sf.magicproject.clickable.targetable.card
 

Methods in net.sf.magicproject.clickable.targetable.card that return ContextEventListener
 ContextEventListener TriggeredCard.getAbilityContext()
          Return the current context.
 

Methods in net.sf.magicproject.clickable.targetable.card with parameters of type ContextEventListener
 void TriggeredCardChoice.addChoice(Ability ability, ContextEventListener context)
          Add an alternative ability to the associated triggered ability
 void Attachment.attach(ContextEventListener context, Ability ability, MCard from, MCard to)
           
static int MCard.getIdZone(int idZone, ContextEventListener context)
          Return the place where is this card.
 void TriggeredCardChoice.replayAction(ContextEventListener context, Ability ability, Wizard wizard)
          Replay the current action as it was when it has been suspended.
 

Constructors in net.sf.magicproject.clickable.targetable.card with parameters of type ContextEventListener
TriggeredCard(Ability triggeredAbility, ContextEventListener context, long abilityID)
           
TriggeredCardChoice(Ability triggeredAbility, ContextEventListener context, long abilityID)
           
 

Uses of ContextEventListener in net.sf.magicproject.event
 

Methods in net.sf.magicproject.event with parameters of type ContextEventListener
 boolean MovedCard.reCheck(ContextEventListener previousContext, Ability ability)
           
 boolean MEventListener.reCheck(ContextEventListener previousContext, Ability ability)
          Tell if the event still activated before to be added to the stack
 java.lang.String TriggeredEvent.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String MEventListener.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing this ability.
 

Uses of ContextEventListener in net.sf.magicproject.event.context
 

Classes in net.sf.magicproject.event.context that implement ContextEventListener
 class MContextCardCardIntInt
           
 class MContextCardCardIntIntTest
           
 class MContextMtargetable
           
 

Uses of ContextEventListener in net.sf.magicproject.event.phase
 

Methods in net.sf.magicproject.event.phase with parameters of type ContextEventListener
 java.lang.String EndOfPhase.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String BeginningPhase.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String BeforePhase.toHtmlString(Ability ability, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.expression
 

Methods in net.sf.magicproject.expression with parameters of type ContextEventListener
 int[] ListExpression.getList(Ability ability, Targetable tested, ContextEventListener context)
          Return the computed integer list.
 java.lang.Object ReferenceValue.getObject(Ability ability, Targetable tested, ContextEventListener context)
           
 java.lang.Object ObjectValue.getObject(Ability ability, Targetable tested, ContextEventListener context)
           
 java.lang.Object Expression.getObject(Ability ability, Targetable tested, ContextEventListener context)
          Returns the object value of this expression.
 int IntValue.getPreemptionValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Expression.getPreemptionValue(Ability ability, Targetable tested, ContextEventListener context)
          Returns the integer value of this expression exactly as it will be when the ability will be executed.
 int UnaryExpression.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int ToIndex.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int ToCode.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int TestOn.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int StringMethod.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int RegisterAccess.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int ReferenceValue.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Position.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int ObjectValue.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int ManaPaid.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int LowestAmong.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int IntValue.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int IfThenElse.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int HighestAmong.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
abstract  int Expression.getValue(Ability ability, Targetable tested, ContextEventListener context)
          Returns the integer value of this expression
 int DeckCounter.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Counter.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int CardTypes.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int CardColors.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int BitCount.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int BinaryExpression.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int BaseRegisterIntValue.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int AbstractValue.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.expression.intlist
 

Methods in net.sf.magicproject.expression.intlist with parameters of type ContextEventListener
 int Sum.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Size.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Minimum.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Maximum.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int LastIndexOf.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Last.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int IndexOf.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int First.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Counter.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.expression.targetlist
 

Methods in net.sf.magicproject.expression.targetlist with parameters of type ContextEventListener
 int Size.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int LastIndexOf.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int IndexOfSavedList.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int IndexOf.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 int Counter.getValue(Ability ability, Targetable tested, ContextEventListener context)
           
 

Uses of ContextEventListener in net.sf.magicproject.modifier
 

Methods in net.sf.magicproject.modifier with parameters of type ContextEventListener
 java.lang.String StaticModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String RegisterModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String RegisterIndirectionModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String PropertyModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String PlayableZoneModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
abstract  java.lang.String ModifierModel.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing this action.
 java.lang.String IdCardModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String ControllerModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String ColorModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String AdditionalCostModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String AbilityModifierModel.toHtmlString(Ability ability, ContextEventListener context)
           
 java.lang.String RegisterIndirectionModel.toHtmlString(Ability ability, ContextEventListener context, RegisterIndirectionModel other)
          Return the HTML code representing this action.
 java.lang.String RegisterModifierModel.toHtmlString(Ability ability, ContextEventListener context, RegisterModifierModel other)
          Return the HTML code representing this action.
 

Uses of ContextEventListener in net.sf.magicproject.stack
 

Methods in net.sf.magicproject.stack that return ContextEventListener
 ContextEventListener StackManager.getAbilityContext()
          Return the current context.
 ContextEventListener StackContext.getAbilityContext()
          Return the current context.
 ContextEventListener ActionManager.getAbilityContext()
          Return the current ability's context.
 

Methods in net.sf.magicproject.stack with parameters of type ContextEventListener
 boolean TargetHelper.checkTarget(Ability ability, MCard source, Test test, int type, int choiceMode, ContextEventListener context, int restrictionZone, int hopCounter, boolean canBePreempted)
          Return true when there is the required amount of valid targets.
 java.lang.String AdditionalCost.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing this additionnal cost.
 

Uses of ContextEventListener in net.sf.magicproject.test
 

Methods in net.sf.magicproject.test with parameters of type ContextEventListener
 MCard TestOn.getCard(Ability ability, ContextEventListener context, Targetable tested)
          Return the targetable instance cast in Card instance.
 Player Test.getOptimizedController(Ability ability, ContextEventListener context)
          Return the controller making true this test.
 Player And.getOptimizedController(Ability ability, ContextEventListener context)
           
 Player TestOn.getPlayer(Ability ability, ContextEventListener context, Targetable tested)
          Return the targetable on which the test would be applied
 Targetable TestOn.getTargetable(Ability ability, ContextEventListener context, Targetable tested)
          Return the targetable on which the test would be applied
 Targetable TestOn.getTargetable(Ability ability, MCard card, ContextEventListener context, Targetable tested)
          Return the targetable on which the test would be applied
 java.lang.String TestOn.toHtmlString(Ability ability, ContextEventListener context)
          Return the HTML code representing this action.
 

Uses of ContextEventListener in net.sf.magicproject.token
 

Methods in net.sf.magicproject.token with parameters of type ContextEventListener
 int AbstractValue.getValue(Ability ability, MCard card, ContextEventListener context, Targetable tested)
          Return the targetable on which the test would be applied
 int Register.getValue(Ability ability, Targetable tested, ContextEventListener context, int index)
          Returns the integer value of this expression
 

Uses of ContextEventListener in net.sf.magicproject.ui.component
 

Methods in net.sf.magicproject.ui.component with parameters of type ContextEventListener
 void MessageButton.startButton(ContextEventListener context, Ability ability, BackgroundMessaging action, Wizard wizard)
          Show the button enabling to restore the background wizard.
 

Uses of ContextEventListener in net.sf.magicproject.ui.wizard
 

Constructors in net.sf.magicproject.ui.wizard with parameters of type ContextEventListener
Choice(ContextEventListener context, Ability ability, BackgroundMessaging action, boolean allowCancel, java.util.List<java.lang.String> actions)
          Creates a new instance of Choice
InputColor(ContextEventListener context, Ability ability, MessagingAction action, java.lang.String description, int allowedColors, boolean allowColorless, boolean multiselect)
          Creates a new instance of this class
InputNumber(ContextEventListener context, Ability ability, MessagingAction action, java.lang.String description, int min, int max, boolean allowCancel, int defaultValue, boolean strictMax)
          Creates a new instance of MInputIntegerFrame
InputProperty(ContextEventListener context, Ability ability, MessagingAction action, java.lang.String description, int[] allowedProperties)
          Creates a new instance of InputProperty
InputZone(ContextEventListener context, Ability ability, MessagingAction action, java.lang.String description, int[] allowedZones)
          Creates a new instance of InputZone
Ok(ContextEventListener context, Ability ability, BackgroundMessaging action, java.lang.String title, java.lang.String description, java.lang.String iconName, int width, int height, java.lang.String text)
          Creates a new instance of Ok
Ok(ContextEventListener context, Ability ability, BackgroundMessaging action, java.lang.String title, java.lang.String description, java.lang.String iconName, java.lang.String button, int width, int height)
          Creates a new instance of Ok
Wizard(ContextEventListener context, Ability ability, BackgroundMessaging action, java.lang.String title, java.lang.String description, java.lang.String iconName, int width, int height)
          Create a new instance of this class.
YesNo(ContextEventListener context, Ability ability, BackgroundMessaging action, java.lang.String title, java.lang.String description, java.lang.String iconName, java.lang.String yesButton, java.lang.String noButton, int width, int height)
          Create a new instance of this class.
YesNo(ContextEventListener context, Ability ability, MessagingAction action, java.lang.String title, java.lang.String description, java.lang.String iconName, int width, int height)
          Create a new instance of this class.
YesNo(ContextEventListener context, Ability ability, MessagingAction action, java.lang.String title, java.lang.String description, java.lang.String iconName, int width, int height, java.lang.String text)
          Create a new instance of this class.
 

Uses of ContextEventListener in net.sf.magicproject.zone
 

Methods in net.sf.magicproject.zone with parameters of type ContextEventListener
 void TriggeredBuffer.addHidden(Ability ability, ContextEventListener context)
          Add the given ability to the special zone 'abstract triggered'.
 



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