A C D E G H I M R S U V W

A

add(Component) - Method in class mvp.Window
As a convenience, define the basic version of add to add the given component to the content pane of the JFrame.

C

closeAdapter - Variable in class mvp.View
The exit-on-close listener
compose() - Method in class mvp.View
Compose the interface components of this, setting the window and/or widget fields to the top-level of the composition.

D

dump() - Method in class mvp.Model
Dump the entire contents of this in String form.

E

editable - Variable in class mvp.View
True if this is editable
exit() - Method in class mvp.Model
Perform appropriate exit processing, which typically includes exiting the application program of which this model is a component.

G

getModel() - Method in class mvp.View
Return the model of this.
getView() - Method in class mvp.Model
Return the view of this.
getWidget() - Method in class mvp.View
Return the widget of this.
getWindow() - Method in class mvp.View
Return the window of this.

H

hide() - Method in class mvp.View
Remove the window of this from the screen, thereby physically undisplaying it.

I

isEditable() - Method in class mvp.View
Return true if this is currently editable.
isShown() - Method in class mvp.View
Return true if this is currently displayed on the screen.

M

Model - Class in mvp
Class Model is an abstract parent class for model classes in an MVP design.
Model(View) - Constructor for class mvp.Model
Construct a model with the given View.
Model() - Constructor for class mvp.Model
Construct a model with no view.
model - Variable in class mvp.View
The unique companion model for this
mvp - package mvp
 

R

run() - Method in class mvp.View
Run this by entering the screen's event loop, which will in turn display the window of this and any widgets within the window.

S

Screen - Class in mvp
Class Screen is a toolkit-independent definition of the physical display screen on which GUI widgets are displayed.
Screen() - Constructor for class mvp.Screen
 
screen - Variable in class mvp.View
The physical display screen for this.
setEditable(boolean) - Method in class mvp.View
Set the editability of this to the given boolean value.
setExitOnClose(boolean) - Method in class mvp.View
Perform the necessary set up to call or not to call the companion model's exit method when the user closes this' window.
setModel(Model) - Method in class mvp.View
Set the model of this to the given model, if the model is not already set.
setView(View) - Method in class mvp.Model
Set the view of this to the given view, if the view is not already set.
show() - Method in class mvp.View
Insert the window of this into the screen, thereby physically displaying it.
show(int, int) - Method in class mvp.View
Same specs as Show(), except the window is shown at the given x,y coordinate.
shown - Variable in class mvp.View
True if the window is displayed

U

update(Observable, Object) - Method in class mvp.View
Update the displayed data in this.

V

view - Variable in class mvp.Model
The canonical view for this model.
View - Class in mvp
Class View is an abstract parent class for view classes in an MVP design.
View(Screen, Model) - Constructor for class mvp.View
Construct a view with the given Screen and Model.
View() - Constructor for class mvp.View
Construct this with a null screen and model.

W

widget - Variable in class mvp.View
The outermost interactive element (i.e., "widget") for this.
Widget - Class in mvp
Class Widget is a toolkit-independent definition of the most generic form of interactive element in a GUI display.
Widget() - Constructor for class mvp.Widget
 
window - Variable in class mvp.View
The physical UI window for this.
Window - Class in mvp
Class Window is a toolkit-independent definition of a top-level window displayed on the screen.
Window() - Constructor for class mvp.Window
 

A C D E G H I M R S U V W