org.jtheque.movies.controllers.able
Interface IMovieController

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

public interface IMovieController
extends org.jtheque.primary.controller.able.IPrincipalController<Movie>

Author:
Baptiste Wicht

Method Summary
 void closeViewer()
          Close the current viewer.
 IMovieView getView()
           
 IMoviesModel getViewModel()
           
 boolean isEditing()
          Indicate if we currently edit a movie.
 void playCurrentMovie()
          Play the current movie using a viewer depending on the current configuration of the user.
 void save()
          Save the current film.
 
Methods inherited from interface org.jtheque.primary.controller.able.IPrincipalController
cancel, create, deleteCurrent, getAutoAddState, getDataType, getDisplayList, getModifyState, getNewObjectState, getViewState, manualEdit, save, view
 
Methods inherited from interface org.jtheque.core.managers.view.able.controller.Controller
closeView, displayView
 
Methods inherited from interface javax.swing.event.TreeSelectionListener
valueChanged
 

Method Detail

save

void save()
Save the current film.


isEditing

boolean isEditing()
Indicate if we currently edit a movie.

Returns:
true if we currently edit a movie else false.

closeViewer

void closeViewer()
Close the current viewer.


getView

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

getViewModel

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

playCurrentMovie

void playCurrentMovie()
Play the current movie using a viewer depending on the current configuration of the user.



Copyright © 2010 JTheque. All Rights Reserved.