com.jgoodies.bookfinder.model
Class UISettingsModel

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by com.jgoodies.bookfinder.model.UISettingsModel
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, Serializable

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

Provides bound Bean properties for the presentation related settings.

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

Nested Class Summary
static class UISettingsModel.OverviewMode
           
 
Field Summary
static String PROPERTYNAME_ANIMATING_HEADER
           
static String PROPERTYNAME_OVERVIEW_MODE
           
static String PROPERTYNAME_SHOWING_DETAILS
           
 
Method Summary
 UISettingsModel.OverviewMode getOverviewMode()
          Returns the current overview mode that indicates how the overview is presentated: summary, list or table.
 boolean isAnimatingHeader()
          Returns whether we animate changes of the header label.
 boolean isShowingDetails()
          Returns if we show or hide the details view.
 void setAnimatingHeader(boolean newValue)
          Enables or disables the animation in the header area.
 void setOverviewMode(UISettingsModel.OverviewMode newMode)
           
 void setShowingDetails(boolean newValue)
          Shows or hides the details view.
 
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

PROPERTYNAME_ANIMATING_HEADER

public static final String PROPERTYNAME_ANIMATING_HEADER
See Also:
Constant Field Values

PROPERTYNAME_OVERVIEW_MODE

public static final String PROPERTYNAME_OVERVIEW_MODE
See Also:
Constant Field Values

PROPERTYNAME_SHOWING_DETAILS

public static final String PROPERTYNAME_SHOWING_DETAILS
See Also:
Constant Field Values
Method Detail

isAnimatingHeader

public boolean isAnimatingHeader()
Returns whether we animate changes of the header label.

Returns:
true if the label is animated, false if not

setAnimatingHeader

public void setAnimatingHeader(boolean newValue)
Enables or disables the animation in the header area.

Parameters:
newValue - true to animate the header, false for plain switching

getOverviewMode

public UISettingsModel.OverviewMode getOverviewMode()
Returns the current overview mode that indicates how the overview is presentated: summary, list or table.

Returns:
the current overview mode

setOverviewMode

public void setOverviewMode(UISettingsModel.OverviewMode newMode)

isShowingDetails

public boolean isShowingDetails()
Returns if we show or hide the details view.

Returns:
true if details are shown, false if hidden

setShowingDetails

public void setShowingDetails(boolean newValue)
Shows or hides the details view.

Parameters:
newValue - true to show details, false to hide them


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