Serialized Form


Package mvp

Class mvp.Model extends java.util.Observable implements Serializable

Serialized Fields

view

View view
The canonical view for this model. Models with multiple views can add additional view data members as necessary.

Class mvp.Screen extends java.lang.Object implements Serializable

Class mvp.View extends java.lang.Object implements Serializable

Serialized Fields

model

Model model
The unique companion model for this


screen

Screen screen
The physical display screen for this. Only views that have a non-null Window (see below) need a value for the Screen. Otherwise, the value of the Screen member is null.


window

Window window
The physical UI window for this. The Window is the stand-alone top-level window for the view, displayed on the screen by the underlying window manager. For views that do not have a managed window, e.g., pulldown menu or dialog contained in another view, the Window member is null.


widget

java.awt.Component widget
The outermost interactive element (i.e., "widget") for this. In some toolkits, Window and Widget are the same type. In such cases, if a view has an non-null Window, then it does not need a value for Widget. In toolkits such as Java Swing, where Window and Widget are distinct types, a view may need both a value for the Window and Widget.


shown

boolean shown
True if the window is displayed


editable

boolean editable
True if this is editable


closeAdapter

java.awt.event.WindowAdapter closeAdapter
The exit-on-close listener

Class mvp.Widget extends java.awt.Component implements Serializable

Class mvp.Window extends javax.swing.JFrame implements Serializable