com.motlin.risk.gui
Class GuiBean

java.lang.Object
  extended by com.motlin.risk.gui.GuiBean
All Implemented Interfaces:
Serializable

public final class GuiBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
GuiBean()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 int getNumberOfAttackers()
           
 int getNumberOfDefenders()
           
 boolean isAttackerLeader()
           
 boolean isCapital()
           
 boolean isDefenderLeader()
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setAttackerLeader(boolean attackerLeader)
           
 void setCapital(boolean capital)
           
 void setDefenderLeader(boolean defenderLeader)
           
 void setNumberOfAttackers(int numberOfAttackers)
           
 void setNumberOfDefenders(int numberOfDefenders)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiBean

public GuiBean()
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

getNumberOfAttackers

public int getNumberOfAttackers()

getNumberOfDefenders

public int getNumberOfDefenders()

isAttackerLeader

public boolean isAttackerLeader()

isDefenderLeader

public boolean isDefenderLeader()

isCapital

public boolean isCapital()

setNumberOfAttackers

public void setNumberOfAttackers(int numberOfAttackers)

setNumberOfDefenders

public void setNumberOfDefenders(int numberOfDefenders)

setAttackerLeader

public void setAttackerLeader(boolean attackerLeader)

setDefenderLeader

public void setDefenderLeader(boolean defenderLeader)

setCapital

public void setCapital(boolean capital)