public class View
extends java.lang.Object
Constructor and Description |
---|
View(Controller controller)
Constructor for the View
|
Modifier and Type | Method and Description |
---|---|
void |
addListeners()
This function adds the action Listeners to the menu items
|
void |
closeLoginWindow()
close the login window
|
void |
closeMainWindow()
close the main window
|
void |
closeSemesterDialog()
close the semester dialog
|
void |
closeServerSettingsWindow()
close the server settings window
|
static javax.swing.JFrame |
getFrame()
get the view's frame
|
void |
hide()
Hide the window
|
void |
openLoginWindow()
Open the Login Window
|
void |
openMainWindow()
setup window for use when we are logged in
|
void |
openSemesterDialog()
open the semester dialog
|
void |
openServerSettingsWindow()
Open the server settings window
|
static void |
repaint()
Repaint the frame
|
static void |
setFrame(javax.swing.JFrame frame)
set the View's frame the given one
|
void |
show()
Show the window
|
public View(Controller controller)
Controller
- that has a model to getpublic static void repaint()
public void hide()
public void show()
public void openServerSettingsWindow()
public void openLoginWindow()
public void openMainWindow()
public void addListeners()
public void openSemesterDialog()
public void closeServerSettingsWindow()
public void closeLoginWindow()
public void closeMainWindow()
public void closeSemesterDialog()
public static void setFrame(javax.swing.JFrame frame)
JFrame
- new frame for the viewpublic static javax.swing.JFrame getFrame()