mixconfig.ChoicePanel Class Reference

Inherits javax::swing::JPanel.

List of all members.

Public Member Functions

 ChoicePanel (JFrame parent, JRootPane rootPane)
 ChoicePanel (JFrame parent, JRootPane rootPane, String startPanel)
void setWizardVisible ()
void setStartScreenVisible ()
Menu getMenu ()
void setDefaultSize ()
void setMessageTitle ()

Static Public Attributes

static final Dimension DEFAULT_SIZE = new Dimension(785, 600)
static final String CARD_WIZ = "card_mainPanel_wiz"
static final String CARD_EXPERT = "card_mainPanel_expert"
static final String CARD_CHOICE = "card_choicePanel"
static final String WIZARD = "wizard"
static final String EXPERT = "expert"
static final String START = "start"

Protected Member Functions

String getActiveCard ()
void setExpertVisible ()

Private Attributes

String activeCard = START
Menu m_menu
JFrame m_Parent
CardLayout m_cardLayout

Static Private Attributes

static StartScreenPanel m_startScreenPanel
static ConfigWizard m_mainPanel_wiz
static ConfigFrame m_mainPanel_expert


Detailed Description

Shows the StartScreen when you run the "Mix Configuration Tool" in a CardLayout. There are two other Cards: a Wizard-Panel and a No-Wizzard-Panel. Depending on the Choice you have made, one of this two Panels will be shown. *
Author:
wolfgang

Constructor & Destructor Documentation

mixconfig.ChoicePanel.ChoicePanel ( JFrame  parent,
JRootPane  rootPane 
)

mixconfig.ChoicePanel.ChoicePanel ( JFrame  parent,
JRootPane  rootPane,
String  startPanel 
)


Member Function Documentation

String mixconfig.ChoicePanel.getActiveCard (  )  [protected]

There are two relevant Cards in Choice-Panel: 1.) CARD_WIZ 2.) CARD_EXPERT

Returns:
the card which is on TOP

References mixconfig.ChoicePanel.activeCard.

Referenced by mixconfig.Menu.actionPerformed(), mixconfig.Menu.checkUnuseableMenuItem(), mixconfig.Menu.reset(), and mixconfig.ChoicePanel.setMessageTitle().

void mixconfig.ChoicePanel.setWizardVisible (  ) 

void mixconfig.ChoicePanel.setExpertVisible (  )  [protected]

void mixconfig.ChoicePanel.setStartScreenVisible (  ) 

Menu mixconfig.ChoicePanel.getMenu (  ) 

void mixconfig.ChoicePanel.setDefaultSize (  ) 

void mixconfig.ChoicePanel.setMessageTitle (  ) 


Member Data Documentation

final Dimension mixconfig.ChoicePanel.DEFAULT_SIZE = new Dimension(785, 600) [static]

final String mixconfig.ChoicePanel.CARD_WIZ = "card_mainPanel_wiz" [static]

final String mixconfig.ChoicePanel.CARD_EXPERT = "card_mainPanel_expert" [static]

final String mixconfig.ChoicePanel.CARD_CHOICE = "card_choicePanel" [static]

final String mixconfig.ChoicePanel.WIZARD = "wizard" [static]

final String mixconfig.ChoicePanel.EXPERT = "expert" [static]

final String mixconfig.ChoicePanel.START = "start" [static]

Panel, which contains the Start-Screen where you make your choice. The Panel is splitted into two Parts

  • the first part shows a Logo
  • the second part shows the choice items

Referenced by mixconfig.ChoicePanel.ChoicePanel().

Panel, which contains the Wizard-View

Referenced by mixconfig.ChoicePanel.ChoicePanel(), and mixconfig.ChoicePanel.setMessageTitle().

Panel, which contains the No-Wizard-View

Referenced by mixconfig.ChoicePanel.ChoicePanel().

CardLayout mixconfig.ChoicePanel.m_cardLayout [private]


The documentation for this class was generated from the following file:

Generated on Mon Nov 16 23:24:47 2009 for MixConfig by  doxygen 1.5.6