org.jtheque.films.controllers.able
Interface IFilmController

All Superinterfaces:
org.jtheque.core.managers.view.able.controller.Controller, EventListener, org.jtheque.primary.controller.able.IPrincipalController<Film>, MouseListener, TreeSelectionListener
All Known Implementing Classes:
FilmController

public interface IFilmController
extends org.jtheque.primary.controller.able.IPrincipalController<Film>, MouseListener, TreeSelectionListener

A film controller specification.

Author:
Baptiste Wicht

Method Summary
 void cancel()
          Cancel the current state.
 void createFilm()
          Create a new film.
 void deleteCurrentFilm()
          Delete the current film.
 IFilmView getView()
           
 IFilmsModel getViewModel()
           
 void manualEdit()
          Edit manually a film.
 void printCurrentFilm()
          Print the current film.
 void save()
          Save the current film.
 void sendCurrentFilmByMail()
          Send the current film by email.
 void view(Film film)
          Display a film in the interface.
 
Methods inherited from interface org.jtheque.primary.controller.able.IPrincipalController
getAutoAddState, getDataType, getDisplayList, getModifyState, getNewObjectState, getViewState
 
Methods inherited from interface org.jtheque.core.managers.view.able.controller.Controller
closeView, displayView
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface javax.swing.event.TreeSelectionListener
valueChanged
 

Method Detail

save

void save()
Save the current film.


view

void view(Film film)
Display a film in the interface.

Parameters:
film - The film to edit.

manualEdit

void manualEdit()
Edit manually a film.


createFilm

void createFilm()
Create a new film.


deleteCurrentFilm

void deleteCurrentFilm()
Delete the current film.


cancel

void cancel()
Cancel the current state.


sendCurrentFilmByMail

void sendCurrentFilmByMail()
Send the current film by email.


printCurrentFilm

void printCurrentFilm()
Print the current film.


getViewModel

IFilmsModel getViewModel()
Specified by:
getViewModel in interface org.jtheque.primary.controller.able.IPrincipalController<Film>

getView

IFilmView getView()
Specified by:
getView in interface org.jtheque.core.managers.view.able.controller.Controller


Copyright © 2010 JTheque. All Rights Reserved.