Blackjack

com.amoebacode.blackjack.display.combobox
Class ComboBoxFactory

java.lang.Object
  |
  +--com.amoebacode.blackjack.display.combobox.ComboBoxFactory

public abstract class ComboBoxFactory
extends java.lang.Object

ComboBoxFactory handles initial creation of all user combo boxes.

Version:
0.9
Author:
Jason Gurney

Constructor Summary
ComboBoxFactory()
           
 
Method Summary
static AnimationComboBox getAnimationComboBox(PreferencesDisplay preferences)
          Creates and returns an animation combo box.
static AudioComboBox getAudioComboBox(PreferencesDisplay preferences)
          Creates and returns an audio combo box.
static DASComboBox getDASComboBox(HouseRulesDisplay houseRules)
          Creates and returns a double after split combo box.
static DecksComboBox getDecksComboBox(HouseRulesDisplay houseRules)
          Creates and returns a decks combo box.
static DoubleAnyComboBox getDoubleAnyComboBox(HouseRulesDisplay houseRules)
          Creates and returns a double any combo box.
static SoftSeventeenComboBox getSoftSeventeenComboBox(HouseRulesDisplay houseRules)
          Creates and returns a soft seventeen combo box.
static StrategyComboBox getStrategyComboBox(PreferencesDisplay preferences)
          Creates and returns a strategy combo box.
static SurrenderComboBox getSurrenderComboBox(HouseRulesDisplay houseRules)
          Creates and returns a surrender combo box.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ComboBoxFactory

public ComboBoxFactory()
Method Detail

getAnimationComboBox

public static AnimationComboBox getAnimationComboBox(PreferencesDisplay preferences)
Creates and returns an animation combo box.
Parameters:
preferences - the PreferencesDisplay parent
Returns:
a new AnimationComboBox

getAudioComboBox

public static AudioComboBox getAudioComboBox(PreferencesDisplay preferences)
Creates and returns an audio combo box.
Parameters:
preferences - the PreferencesDisplay parent
Returns:
a new AudioComboBox

getDASComboBox

public static DASComboBox getDASComboBox(HouseRulesDisplay houseRules)
Creates and returns a double after split combo box.
Parameters:
houseRules - the HouseRulesDisplay parent
Returns:
a new DASComboBox

getDecksComboBox

public static DecksComboBox getDecksComboBox(HouseRulesDisplay houseRules)
Creates and returns a decks combo box.
Parameters:
houseRules - the HouseRulesDisplay parent
Returns:
a new DecksComboBox

getDoubleAnyComboBox

public static DoubleAnyComboBox getDoubleAnyComboBox(HouseRulesDisplay houseRules)
Creates and returns a double any combo box.
Parameters:
houseRules - the HouseRulesDisplay parent
Returns:
a new DoubleAnyComboBox

getSoftSeventeenComboBox

public static SoftSeventeenComboBox getSoftSeventeenComboBox(HouseRulesDisplay houseRules)
Creates and returns a soft seventeen combo box.
Parameters:
houseRules - the HouseRulesDisplay parent
Returns:
a new SoftSeventeenComboBox

getStrategyComboBox

public static StrategyComboBox getStrategyComboBox(PreferencesDisplay preferences)
Creates and returns a strategy combo box.
Parameters:
preferences - the PreferencesDisplay parent
Returns:
a new StrategyComboBox

getSurrenderComboBox

public static SurrenderComboBox getSurrenderComboBox(HouseRulesDisplay houseRules)
Creates and returns a surrender combo box.
Parameters:
houseRules - the HouseRulesDisplay parent
Returns:
a new SurrenderComboBox

Blackjack

Copyright © 2002 amoebacode.com.