A C D E G H I L M N P R S T 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
Enum - class lib206.Enum.
Class Enum is an abstract parent class for an enumerated data type.
Enum(int, String[]) - Constructor for class lib206.Enum
Construct an enumerated literal object from the given position in the given possibles.
Enum(String, String[]) - Constructor for class lib206.Enum
Construct an enumerated literal object of the given string value, if that string value is one of the legal values in the given possibles array.
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.
getPosition() - Method in class lib206.Enum
Return the numeric position of this in the list of possibles.
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

IllegalEnumException - exception lib206.IllegalEnumException.
This exception is thrown by the constructors of the Enum class to indicate that the value or position of an enumeration literal is not one of the legal values for a particular enumerated type.
IllegalEnumException() - Constructor for class lib206.IllegalEnumException
 
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.

L

lib206 - package lib206
Package lib206 contains some simple classes to support Java designs as presented in Gene Fisher's CSC 206 class.

M

model - Variable in class mvp.View
The unique companion model for this
Model - class mvp.Model.
Class Model is an abstract parent class for model classes in an MVP design.
Model() - Constructor for class mvp.Model
Construct a model with no view.
Model(View) - Constructor for class mvp.Model
Construct a model with the given View.
mvp - package mvp
Package mvp contains basic classes to support the Model/View/Process design technique, as discussed in Fisher's software engineering classes CSC 206 and 509 .

N

next() - Method in class lib206.Enum
Return the next enum value in the list of possibles if there is one, null otherwise.

P

position - Variable in class lib206.Enum
The ordinal position of this enum literal in the list of possibles
possibles - Variable in class lib206.Enum
Reference to the list of possibles in the extending class.
previous() - Method in class lib206.Enum
Return the previous enum value in the list of possibles if there is one, null otherwise.

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 - Variable in class mvp.View
The physical display screen for this.
Screen - class mvp.Screen.
Class Screen is a toolkit-independent definition of the physical display screen on which GUI widgets are displayed.
Screen() - Constructor for class mvp.Screen
 
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

T

toString() - Method in class lib206.Enum
Convert this to a string by returning the value.

U

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

V

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

W

widget - Variable in class mvp.View
The outermost interactive element (i.e., "widget") for this.
Widget - class mvp.Widget.
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 mvp.Window.
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 L M N P R S T U V W