com.jgoodies.forms.demo.model
Class MainModel

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by com.jgoodies.forms.demo.model.MainModel
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, Serializable

public final class MainModel
extends com.jgoodies.binding.beans.Model

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

Version:
$Revision: 1.17 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Nested Class Summary
static class MainModel.ViewMode
           
 
Field Summary
static String ACTION_EXIT
           
static String ACTION_OPEN_ABOUT_DIALOG
           
static String ACTION_OPEN_HELP_CONTENTS
           
static String ACTION_OPEN_PREFERENCES
           
static String ACTION_SKIP_INTRO
           
static MainModel INSTANCE
           
static String PROPERTY_VIEW_MODE
           
 
Method Summary
 void exit(ActionEvent e)
           
 com.jgoodies.binding.list.SelectionInList<Example> getExamplesModel()
          Returns the examples model, a selection in a list.
 Runnable getSkipRunnable()
           
 MainModel.ViewMode getViewMode()
           
 void openAboutDialog(ActionEvent e)
           
 void openHelpContents()
           
 void openPreferences(ActionEvent e)
           
 void skipIntro()
          Sets the MAIN ViewMode, which in turn lets the main frame switch cards.
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_VIEW_MODE

public static final String PROPERTY_VIEW_MODE
See Also:
Constant Field Values

ACTION_SKIP_INTRO

public static final String ACTION_SKIP_INTRO
See Also:
Constant Field Values

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
Method Detail

getExamplesModel

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


getViewMode

public MainModel.ViewMode getViewMode()

getSkipRunnable

public Runnable getSkipRunnable()

skipIntro

@Action
public void skipIntro()
Sets the MAIN ViewMode, which in turn lets the main frame switch cards.


openPreferences

@Action
public void openPreferences(ActionEvent e)

exit

@Action
public void exit(ActionEvent e)

openHelpContents

@Action
public void openHelpContents()

openAboutDialog

@Action
public void openAboutDialog(ActionEvent e)


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