| Home >> All >> samples >> swing |
Package Samples:
samples.swing.timesheet.view: An example using active models (BasicModels) that include submodels.
samples.swing.activemodel
samples.swing.activesubmodel
samples.swing.combobox
samples.swing.list
samples.swing.menu
samples.swing.multiselection
samples.swing.multiview
samples.swing.readonly
samples.swing.timesheet.controller
samples.swing.timesheet.model
samples.swing.timesheet
Classes:
MenuModel: HelloController uses one of these to supply data for its Views, and to keep session state in. In this case there's just a single String field that users populate with their name. Scope's default ModelManager implementation builds on the JavaBeans API, so this model object is just a normal JavaBean.
ActivemodelModel: A version of samples.helloworld2.Hello2Model that implements ModelChangeEventSource by subclassing BasicModel and calling fireModelChange() after setters that change the model's state.
ReadOnlyModel: Same as the HelloWorld model except that we implement org.scopemvc.model.beans.DynamicReadOnly to allow the name property to be marked read-only or writable.
PersonView: The Model, rather than view model part of the timesheet application. This contains the timesheet view, the list of projects and of course the persons name.
ReadOnlyView1: First View allows users to enter their name, and to change the "name" property's writable state to be flipped to read-only and back again.
TimesheetView: The view for the timesheet itself. This is made of a table and the information fields.
PersonViewModel: The view model, this contains a person, and an additional project to be added element.
MultipleSelectionView: List of customers in a table with a count of selected customers underneath.
MultiSelectionLauncher: Create the MultipleSelection application Controller and start it.
ListView: List of customers on left and linked customer viewer on right.
MultiviewLauncher: Create the Multiview application Controller then start it.
ReadOnlyLauncher: Create the ReadOnly application Controller then start it.
ListLauncher: Create the List application Controller and start it.
PersonModel: Simple Person model which allows them to enter a name
MenuLauncher: Create the application Controller then start it.
MenuView1: First View allows users to enter their name.
MultiviewView1: First View allows users to enter their name.
MultiviewModel: Simple Javabean: see HelloWorld example.
MenuView2: Second View says goodbye to the user.
ReadOnlyView2: Second View says goodbye to the user.
TimesheetController: The main controller for the timesheet app
MultiviewView2: Second View says hello to the user.
MainView: The main view for the application
WorkItemModel: A single item of work.
| Home | Contact Us | Privacy Policy | Terms of Service |