Package org.scopemvc.view.swing

A set of wrappers around standard Swing components that implement binding to model objects either semi-automatically if no ModelChangeEvent firing is done by the model objects (see BasicModel) or automatically for model objects that implement event firing.

See:
          Description

Interface Summary
ListSelectionParent STable and SList implement this to allow their SListSelectionModel to refresh parent.
Refreshable For Swing widgets that can be manually forced to update themselves with the current state of their bound model.
SwingSubView A swing element that can be contained in a SwingView and that will share the same bound model.
 

Class Summary
SAbstractListModel A javax.swing.AbstractListModel bound to a property of a model used by SList, SComboBox, STable.
SAction A swing Action that issues a Control on action performed.
SActionListener Connects component action event to a method in a model.
SButton A JButton that issues a Control when pressed.
SButtonBeanInfo BeanInfo for SButton
SCheckBox A JCheckbox linked to a Boolean or boolean property of a bound model object.
SCheckBoxBeanInfo Beaninfo for SCheckBox
SComboBox A JComboBox that uses a SComboBoxModel to bind to model properties for the list of items and to bind the selected item to a property.
SComboBoxBeanInfo Beaninfo for SComboBox
SComboBoxEditor Default combobox editor for SComboBox.
SComboBoxModel  
SDefaultTableCellRenderer  
SLabel A JLabel linked to a property of a bound model object.
SLabelBeanInfo Bean info for SLabel
SList A JList that uses a SListModel to bind to model properties, and a SListSelectionModel to bind the selected item to a property.
SListBeanInfo Beaninfo for SList
SListCellRenderer A javax.swing.DefaultListCellRenderer that tries to draw model objects as text with an icon, both from properties on the displayed model object identified by Selectors.
SListModel A concrete SAbstractListModel for SList to use.
SListSelectionModel A ListSelectionModel bound to a model property that will contain a reference to the current selection.
SMenuItem A JMenuItem that can be owned by a SwingView using SwingContext, and which causes its owning view to issue a Control when selected.
SMenuItemBeanInfo Beaninfo for SMenuItem
SModelAction An SAction that is bound to a property and performs a test on the value of the property to determine its active state.
SModelButton An SButton that is bound to a property and performs a test on the value of the property to determine its active state.
SPanel A JPanel implementation of View for use in Swing-based user interfaces.
SPanelBeanInfo Beaninfo for SPanel
SPasswordField A JPasswordField that works the same way as STextField.
SPasswordFieldBeanInfo Beaninfo for SPassword
SRadioButton A JRadioButton linked to a Boolean or boolean property of a bound model object.
SRadioButtonBeanInfo Beaninfo for SRadioButton
SSlider A JSlider whose value is bound to an int property of a model object.
SSliderBeanInfo Beaninfo for SRadioButton
STable A JTable bound to a list property of a model.
STableBeanInfo Beaninfo for STable
STableModel  
STableTextCellEditor Cell editor for STable or JTable using JTextField.
STextArea A JTextArea linked to a property of a bound model object.
STextAreaBeanInfo Beaninfo for STextArea
STextCellEditor Base class for cell editors based on Swing's JTextComponent.
STextField A JTextField linked to a property of a bound model object.
STextFieldBeanInfo Beaninfo for STextField
SUnboundPanel A JPanel implementation of View that is not bound to a model object for use in Swing-based user interfaces.
SUnboundPanelBeanInfo Beaninfo for SUnboundPanel
SwingBoundModel An ActiveBoundModel that forces updates to the parent View onto the AWTEvent thread because Swing isn't thread-safe.
SwingUtil Utilities dependent on Java Swing and Scope core and view.awt packages only.
SwingView An abstract base JPanel implementation of View for use in Swing-based user interfaces.
ValidationHelper Handles validationFailed(java.lang.Exception) and validationSuccess() by setting the background colour of the parent component to a new colour and being able to generate an "error tooltip" that is coloured and contains the localized error message from the validation failure.
 

Package org.scopemvc.view.swing Description

A set of wrappers around standard Swing components that implement binding to model objects either semi-automatically if no ModelChangeEvent firing is done by the model objects (see BasicModel) or automatically for model objects that implement event firing.

See the example sources for usage of the Swing components in samples.swing.* packages.



Copyright © 2000-2002 The Scope Team. All Rights Reserved.