My Movies 1.7.0
A B C D E F G H I L M N O P R S T U V 

A

AboutAction - Class in hirondelle.movies.about
Show a simple 'About' box, displaying the application name and version.
AboutAction(JFrame) - Constructor for class AboutAction
Constructor.
actionPerformed(ActionEvent) - Method in class AboutAction
Show an 'about' box.
actionPerformed(ActionEvent) - Method in class MovieActionAdd
 
actionPerformed(ActionEvent) - Method in class MovieActionChange
 
actionPerformed(ActionEvent) - Method in class MovieActionDelete
Delete the Movie currently selected in the table.
actionPerformed(ActionEvent) - Method in class MovieController
Attempt to add a new Movie, or edit an existing one.
actionPerformed(ActionEvent) - Method in class ExitAction
Save all edits and exit the app.
actionPerformed(ActionEvent) - Method in class LoginController
Listen for button clicks on the LoginView screen - LoginController.LOGIN or LoginController.CANCEL.
add(Movie) - Method in class MovieDAO
Add a new Movie.
add(String) - Method in exception InvalidInputException
Add a new error message to this exception.
alignAllX(Container, UiUtil.AlignX) - Static method in class UiUtil
Imposes a uniform horizontal alignment on all items in a container.
alignAllY(Container, UiUtil.AlignY) - Static method in class UiUtil
Imposes a uniform vertical alignment on all items in a container.
APP_NAME - Static variable in class LaunchApplication
Defines the name of the app.
APP_VERSION - Static variable in class LaunchApplication
The version of this application (an arbitrary string).
Args - Class in hirondelle.movies.util
Utility methods for common argument validations.
Args() - Constructor for class Args
 
askUserForCredentials() - Method in class LoginController
Ask the end user for their user name and password.

B

beep() - Static method in class UiUtil
Make the system emit a beep.
buildAndShow(String) - Method in class MainWindow
Build and display the main window.

C

CANCEL - Static variable in class LoginController
Action command string.
centerAndShow(Window) - Static method in class UiUtil
pack, center, and show a window on the screen.
centerOnParentAndShow(Window) - Static method in class UiUtil
A window is packed, centered with respect to a parent, and then shown.
change(Movie) - Method in class MovieDAO
Change an existing Movie.
checkForContent(String) - Static method in class Args
Throw an IllegalArgumentException if aText does not satisfy Util.textHasContent(java.lang.String).
checkForEmpty(Collection) - Static method in class Args
Throw an IllegalArgumentException only if aCollection.isEmpty returns true.
checkForNull(Object) - Static method in class Args
If aObject is null, throw a NullPointerException.
checkForRange(int, int, int) - Static method in class Args
Throw an IllegalArgumentException if Util.isInRange(int, int, int) returns false.
close() - Method in class LoginView
Remove the login screen.
closeDialog() - Method in class MovieView
Close the view.
COMMENT_SORT - Static variable in class Movie
Sort by Comment.
compareTo(Movie) - Method in class Movie
Default sort by Date Viewed, then Title.
Consts - Class in hirondelle.movies.util
Collected constants of very general utility.
createImageIcon(String, String, Class) - Static method in class UiUtil
Create an icon for use by a given class.

D

delete(String) - Method in class MovieDAO
Delete an existing Movie, given the movie id.
display() - Method in class StandardDialog
Display the dialog.
dispose() - Method in class StandardDialog
Call dispose on the underlying dialog object.

E

Edit - Enum in hirondelle.movies.util
Enumeration of kinds of edit operations.
EMPTY_STRING - Static variable in class Consts
 
equalizeSizes(List<JComponent>) - Static method in class UiUtil
Sets the items in aComponents to the same size.
equals(Object) - Method in class Movie
 
ExceptionHandler - Class in hirondelle.movies.exception
Custom handler for any uncaught exceptions.
ExceptionHandler() - Constructor for class ExceptionHandler
 
ExitAction - Class in hirondelle.movies.exit
Save changes and close the application.
ExitAction() - Constructor for class ExitAction
Constructor.

F

FILE_SEPARATOR - Static variable in class Consts
 
format(Object) - Static method in class Util
Format an arbitrary Object, into a form suitable for the end user.

G

getActiveFrame() - Static method in class UiUtil
Return the currently active frame.
getColumnCount() - Method in class MovieTableModel
Return the number of columns in the table.
getColumnName(int) - Method in class MovieTableModel
Return the name of a specific column.
getCommandColumn(List<JComponent>) - Static method in class UiUtil
Make a vertical row of buttons of equal size, whch are equally spaced, and aligned on the right.
getCommandRow(List<JComponent>) - Static method in class UiUtil
Make a horizontal row of buttons of equal size, whch are equally spaced, and aligned on the right.
getComment() - Method in class Movie
 
getComment() - Method in class MovieView
The comment on the movie, as entered by the user.
getDateViewed() - Method in class Movie
 
getDateViewed() - Method in class MovieView
The date the movie was viewed, as entered by the user.
getDialog() - Method in class MovieView
Return the underlying dialog.
getDialog() - Method in class StandardDialog
Return the underlying dialog object.
getDialogTitle(String) - Static method in class UiUtil
Return text which conforms to the Look and Feel Design Guidelines for the title of a dialog : the application name, a colon, then the name of the specific dialog.
getDimensionFromPercent(int, int) - Static method in class UiUtil
Return a Dimension whose size is defined not in terms of pixels, but in terms of a given percent of the screen's width and height.
getErrorMessages() - Method in exception InvalidInputException
Return an unmodfiable list of error messages.
getId() - Method in class Movie
 
getId(int) - Method in class MovieTableModel
Returned the selected movie's id.
getId() - Method in class MovieView
Return the movie id.
getInstance() - Static method in class MainWindow
Return an instance of this class.
getIntValue() - Method in enum OnClose
Return the integer value of the corresponding constant in WindowConstants.
getLogger(Class<?>) - Static method in class Util
Return a Logger whose name follows a specific naming convention.
getMovie(int) - Method in class MovieTableModel
Return the selected Movie.
getPassword() - Method in class LoginView
Return the password entered by the user.
getRating() - Method in class Movie
 
getRating() - Method in class MovieView
The movie rating, as entered by the user.
getRowCount() - Method in class MovieTableModel
Return the number of rows in the table.
getStandardBorder() - Static method in class UiUtil
Return a border of dimensions recommended by the Java Look and Feel Design Guidelines, suitable for many common cases.
getTitle() - Method in class Movie
 
getTitle() - Method in class MovieView
The title of the movie, as entered by the user.
getUserName() - Method in class LoginView
Return the user name entered by the user.
getUserName() - Method in class MainWindow
Return the user name passed to MainWindow.buildAndShow(String).
getValue() - Method in enum UiUtil.AlignX
 
getValue() - Method in enum UiUtil.AlignY
 
getValueAt(int, int) - Method in class MovieTableModel
Return the Object in a specific table cell.

H

hasErrors() - Method in exception InvalidInputException
Return true only if InvalidInputException.add(String) has been called at least once.
hashCode() - Method in class Movie
 
hirondelle.movies - package hirondelle.movies
Launch point of the application.
hirondelle.movies.about - package hirondelle.movies.about
Show a simple 'About' box, displaying information about the application.
hirondelle.movies.edit - package hirondelle.movies.edit
Edit movies.
hirondelle.movies.exception - package hirondelle.movies.exception
Classes related to exceptions.
hirondelle.movies.exit - package hirondelle.movies.exit
Close the application and exit the JVM.
hirondelle.movies.login - package hirondelle.movies.login
Log into the application.
hirondelle.movies.main - package hirondelle.movies.main
Main window in the application.
hirondelle.movies.util - package hirondelle.movies.util
Simple utility classes.
hirondelle.movies.util.ui - package hirondelle.movies.util.ui
Utilities for Swing user interfaces.

I

InvalidInputException - Exception in hirondelle.movies.exception
Checked exception thrown when a user input validation error occurs.
InvalidInputException() - Constructor for exception InvalidInputException
 
isInRange(int, int, int) - Static method in class Util
Return true only if aNumber is in the range aLow..aHigh (inclusive).

L

LaunchApplication - Class in hirondelle.movies
Launch the application.
list() - Method in class MovieDAO
List all Movies.
LOGIN - Static variable in class LoginController
Action command string.
LoginController - Class in hirondelle.movies.login
Allow only authenticated users to log in to the application.
LoginController() - Constructor for class LoginController
 
LoginView - Class in hirondelle.movies.login
Show a screen asking the user for their user name and password.
LoginView(LoginController) - Constructor for class LoginView
Constructor.

M

main(String...) - Static method in class LaunchApplication
Run the application.
MainWindow - Class in hirondelle.movies.main
Main window for the application.
Movie - Class in hirondelle.movies.edit
Data-centric class encapsulating all fields related to movies (a 'model object').
Movie(String, String, Date, BigDecimal, String) - Constructor for class Movie
Constructor taking regular Java objects natural to the domain.
Movie(String, String, String, String, String) - Constructor for class Movie
Constructor which takes all parameters as text.
MovieActionAdd - Class in hirondelle.movies.edit
Show dialog for adding a new Movie.
MovieActionAdd(JFrame) - Constructor for class MovieActionAdd
Constructor.
MovieActionChange - Class in hirondelle.movies.edit
Show dialog for editing an existing Movie.
MovieActionChange(JFrame, JTable, MovieTableModel) - Constructor for class MovieActionChange
Constructor.
MovieActionDelete - Class in hirondelle.movies.edit
Delete the selected Movie.
MovieActionDelete(JTable, MovieTableModel) - Constructor for class MovieActionDelete
Constructor.
MovieController - Class in hirondelle.movies.edit
Add a new Movie to the database, or change an existing one.
MovieController(MovieView, Edit) - Constructor for class MovieController
Constructor.
MovieDAO - Class in hirondelle.movies.edit
Data Access Object (DAO) for Movie objects.
MovieDAO() - Constructor for class MovieDAO
 
MovieTableModel - Class in hirondelle.movies.edit
Table model used by JTable, explicitly for Movie objects.
MovieTableModel() - Constructor for class MovieTableModel
Constructor.
MovieView - Class in hirondelle.movies.edit
Dialog allowing user to input Movie information.
MovieView(JFrame) - Constructor for class MovieView
Constructor.
MovieView(JFrame, Movie) - Constructor for class MovieView
Constructor.

N

NEW_LINE - Static variable in class Consts
Newline separator.
NO_KEYSTROKE_MASK - Static variable in class UiConsts
Symbolic name for absence of keystroke mask.
noDefaultButton(JRootPane) - Static method in class UiUtil
Ensure that aRootPane has no default button associated with it.

O

OnClose - Enum in hirondelle.movies.util.ui
Enumeration of various close operations.
ONE_SPACE - Static variable in class UiConsts
 

P

parseBigDecimal(String, String) - Static method in class Util
Parse text into a BigDecimal.
parseBoolean(String) - Static method in class Util
Return true if aBoolean equals "true" (ignore case), or false if aBoolean equals "false" (ignore case).
parseDate(String, String) - Static method in class Util
Parse text into a Date.
PATH_SEPARATOR - Static variable in class Consts
 

R

RATING_SORT - Static variable in class Movie
Sort by Rating (descending), then Date Viewed (descending).
refreshView() - Method in class MovieTableModel
Explicitly refresh the view.
refreshView() - Method in class MainWindow
Refresh the display in response to changing database content.

S

setDefaultButton(JButton) - Method in class StandardDialog
Assign a default button for this dialog.
setId(String) - Method in class Movie
This set method is rather artificial.
showLoginScreen() - Method in class LoginView
Show the login screen.
shutdown() - Method in class MovieDAO
Save all data to a text file.
SIMPLE_FIELD_WIDTH - Static variable in class UiConsts
Suggested width for a JTextField
sortByColumn(int) - Method in class MovieTableModel
Sort the movies.
SPACE - Static variable in class Consts
 
STANDARD_BORDER - Static variable in class UiConsts
 
StandardDialog - Class in hirondelle.movies.util.ui
Standard dialog, centralizing various display policies.
StandardDialog(JFrame, String, boolean, OnClose, JPanel, List<JButton>) - Constructor for class StandardDialog
Construct a standard dialog.

T

TAB - Static variable in class Consts
 
textHasContent(String) - Static method in class Util
Return true only if aText is not null, and is not empty after trimming.
THREE_SPACES - Static variable in class UiConsts
 
TITLE_SORT - Static variable in class Movie
Sort by Title.
toString() - Method in class Movie
 
toString() - Method in enum Edit
 
tryAgain() - Method in class LoginView
Allow the user to attempt to log in again.
TWO_SPACES - Static variable in class UiConsts
 

U

UiConsts - Class in hirondelle.movies.util.ui
Collected constants related to the user interface.
UiUtil - Class in hirondelle.movies.util.ui
Static convenience methods for GUIs which eliminate code duplication.
UiUtil() - Constructor for class UiUtil
 
UiUtil.AlignX - Enum in hirondelle.movies.util.ui
Enumeration for horizontal alignment.
UiUtil.AlignY - Enum in hirondelle.movies.util.ui
Type-safe enumeration vertical alignment.
uncaughtException(Thread, Throwable) - Method in class ExceptionHandler
Custom handler for uncaught exceptions.
Util - Class in hirondelle.movies.util
Static convenience methods for common tasks, which eliminate code duplication.
Util() - Constructor for class Util
 

V

validateUserCredentials() - Method in class LoginController
Validate the user name and password entered by the user.
valueOf(String) - Static method in enum Edit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum OnClose
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum UiUtil.AlignX
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum UiUtil.AlignY
Returns the enum constant of this type with the specified name.
values() - Static method in enum Edit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum OnClose
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum UiUtil.AlignX
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum UiUtil.AlignY
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M N O P R S T U V 
My Movies 1.7.0

Copyright Hirondelle Systems - Generated 2013Sep20.11.16