com.jgoodies.validation.demo.model
Class MainModel

java.lang.Object
  extended by com.jgoodies.validation.demo.model.MainModel

public final class MainModel
extends Object

Provides the models and Actions required to build the MainFrame, its menu bar and subviews.

Version:
$Revision: 1.17 $
Author:
Karsten Lentzsch

Field Summary
static String ACTION_EXIT
           
static String ACTION_OPEN_ABOUT_DIALOG
           
static String ACTION_OPEN_HELP_CONTENTS
           
static String ACTION_OPEN_PREFERENCES
           
static MainModel INSTANCE
          This model's sole instance.
 
Method Summary
 void exit(ActionEvent e)
           
 com.jgoodies.binding.list.SelectionInList<Example> getExamplesModel()
          Returns the examples model, a selection in a list.
 void openAboutDialog(ActionEvent e)
           
 void openHelpContents(ActionEvent e)
           
 void openPreferences(ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_OPEN_PREFERENCES

public static final String ACTION_OPEN_PREFERENCES
See Also:
Constant Field Values

ACTION_EXIT

public static final String ACTION_EXIT
See Also:
Constant Field Values

ACTION_OPEN_HELP_CONTENTS

public static final String ACTION_OPEN_HELP_CONTENTS
See Also:
Constant Field Values

ACTION_OPEN_ABOUT_DIALOG

public static final String ACTION_OPEN_ABOUT_DIALOG
See Also:
Constant Field Values

INSTANCE

public static final MainModel INSTANCE
This model's sole instance.

Method Detail

getExamplesModel

public com.jgoodies.binding.list.SelectionInList<Example> getExamplesModel()
Returns the examples model, a selection in a list.


openPreferences

@Action
public void openPreferences(ActionEvent e)

exit

@Action
public void exit(ActionEvent e)

openHelpContents

@Action
public void openHelpContents(ActionEvent e)

openAboutDialog

@Action
public void openAboutDialog(ActionEvent e)


Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.