org.jtheque.primary.controller.impl
Class ChoiceController
java.lang.Object
org.jtheque.core.managers.view.able.controller.AbstractController
org.jtheque.primary.controller.impl.ChoiceController
- All Implemented Interfaces:
- org.jtheque.core.managers.view.able.controller.Controller, IChoiceController
public final class ChoiceController
- extends org.jtheque.core.managers.view.able.controller.AbstractController
- implements IChoiceController
A Choice Controller.
- Author:
- Baptiste Wicht
Methods inherited from class org.jtheque.core.managers.view.able.controller.AbstractController |
closeView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jtheque.core.managers.view.able.controller.Controller |
closeView |
ChoiceController
public ChoiceController()
doAction
public void doAction(Object selectedItem)
- Description copied from interface:
IChoiceController
- Do the choice action on the selected item.
- Specified by:
doAction
in interface IChoiceController
- Parameters:
selectedItem
- The item selected on the choice view.
setAction
public void setAction(String action)
- Description copied from interface:
IChoiceController
- Set the action of the controller.
- Specified by:
setAction
in interface IChoiceController
- Parameters:
action
- The new action
setContent
public void setContent(String content)
- Description copied from interface:
IChoiceController
- Set the content of controller.
- Specified by:
setContent
in interface IChoiceController
- Parameters:
content
- The new content
displayView
public void displayView()
- Specified by:
displayView
in interface org.jtheque.core.managers.view.able.controller.Controller
- Overrides:
displayView
in class org.jtheque.core.managers.view.able.controller.AbstractController
getView
public org.jtheque.core.managers.view.able.IView getView()
- Specified by:
getView
in interface org.jtheque.core.managers.view.able.controller.Controller
Copyright © 2010 JTheque. All Rights Reserved.