Java Doc for PresentationTool.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » presentation » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.presentation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.tool.presentation.PresentationTool

PresentationTool
public class PresentationTool (Code)

Presentation Tool


author:
   Mark Norton
version:
   $Revision: 14075 $

Inner Class :public class PresentationBean

Field Summary
protected  booleanallowShow
    
protected  StringcurrentMode
     These flags indicate our relationship to the show or slides.
protected  PresentationcurrentPresentation
    
protected  intcurrentSlidePos
    
protected  Idid
     Private properties.
protected  IdManageridMgr
     Service Dependency: IdManager.
protected  Loggerlogger
     Service Dependency: Logger - eventually this will be the Sakai logger.
 Stringm_instruction_message
     Error message, etc..
 ObservingCourierm_observer
    
protected  Listm_presentations
    
protected  PresentationManagerprMgr
     Service Dependency: Presentation Service.
protected  Listpresentations
     A list (PresentationView) of presentations to be displayed.

Constructor Summary
public  PresentationTool()
     noarg constructor, required for managed beans.

Method Summary
public  booleangetAllowShow()
    
public  IdManagergetIdMgr()
     Return the IdManager service.
public  StringgetInstructionMessage()
    
public  booleangetIsShowing()
     Determine whether or not the current presentation is showing.
protected  FacesMessagegetLocalizedMessage(String resourceBundlePropertyName, String messageParameter)
    
public  PresentationManagergetPrMgr()
     Return the PresentationManager service.
public  ListgetPresentations()
     Return the list of presentations (decorated).
public  StringgetShowPosition()
    
public  SlidegetSlide()
     Get the current slide.
public  intgetSlideCount()
    
protected  ListloadPresentations()
    
protected  ObservingCouriermakeResourceCourier(String pattern)
     Return an EventsObservingCourier for the particular reference area.
public  StringprocessActionEnd()
     Process the "End" action.
public  StringprocessActionExit()
     Process the "Exit" action.
public  StringprocessActionJoin()
     Process the "Join" action.
public  StringprocessActionNext()
     Process the "Next" action.
public  StringprocessActionPrevious()
     Process the "Previous" action.
public  StringprocessActionRefresh()
     Handle a refresh view event.
public  StringprocessActionRefreshPresentations()
     Process the "Refresh Presentations" action.
public  StringprocessActionView()
     Process the "View" action.
protected  voidrefreshPresentations()
     Refresh the list of presentations.
public  voidsetIdMgr(IdManager mgr)
     Set the IdManager service.
public  voidsetInstructionMessage(String message)
    
public  voidsetPrMgr(PresentationManager mgr)
     Set the PrsentationManager service.
protected  voidsetPresentations(List list)
    

Field Detail
allowShow
protected boolean allowShow(Code)
Determines if this user has access only or has write ability



currentMode
protected String currentMode(Code)
These flags indicate our relationship to the show or slides.



currentPresentation
protected Presentation currentPresentation(Code)



currentSlidePos
protected int currentSlidePos(Code)



id
protected Id id(Code)
Private properties.



idMgr
protected IdManager idMgr(Code)
Service Dependency: IdManager.



logger
protected Logger logger(Code)
Service Dependency: Logger - eventually this will be the Sakai logger.



m_instruction_message
String m_instruction_message(Code)
Error message, etc..



m_observer
ObservingCourier m_observer(Code)
Courier for update *



m_presentations
protected List m_presentations(Code)



prMgr
protected PresentationManager prMgr(Code)
Service Dependency: Presentation Service.



presentations
protected List presentations(Code)
A list (PresentationView) of presentations to be displayed.




Constructor Detail
PresentationTool
public PresentationTool()(Code)
noarg constructor, required for managed beans. Note: You are NOT service injected at this point.




Method Detail
getAllowShow
public boolean getAllowShow()(Code)



getIdMgr
public IdManager getIdMgr()(Code)
Return the IdManager service.



getInstructionMessage
public String getInstructionMessage()(Code)



getIsShowing
public boolean getIsShowing()(Code)
Determine whether or not the current presentation is showing. True is the current presentation is showing.



getLocalizedMessage
protected FacesMessage getLocalizedMessage(String resourceBundlePropertyName, String messageParameter)(Code)



getPrMgr
public PresentationManager getPrMgr()(Code)
Return the PresentationManager service.



getPresentations
public List getPresentations()(Code)
Return the list of presentations (decorated). Also check to see if the user is allowed to update the content area so the proper buttons are made available.



getShowPosition
public String getShowPosition()(Code)
Return a string indicating the current show position as an example: "1 of 5" the expectation is that there will be a message like Viewing: 1 of 5 Viewing: No current presentation Position Insdicator String



getSlide
public Slide getSlide()(Code)
Get the current slide. curent Slide



getSlideCount
public int getSlideCount()(Code)



loadPresentations
protected List loadPresentations()(Code)



makeResourceCourier
protected ObservingCourier makeResourceCourier(String pattern)(Code)
Return an EventsObservingCourier for the particular reference area.
Parameters:
  pattern -



processActionEnd
public String processActionEnd()(Code)
Process the "End" action. This causes the active show to end. the navigation outcome.



processActionExit
public String processActionExit()(Code)
Process the "Exit" action. Handle the exit even out of the viewer page. the navigation outcome.



processActionJoin
public String processActionJoin()(Code)
Process the "Join" action. the navigation outcome.



processActionNext
public String processActionNext()(Code)
Process the "Next" action. This causes the current show to move to the next slide. It will not go past the end of the show.\ the navigation outcome.



processActionPrevious
public String processActionPrevious()(Code)
Process the "Previous" action. This causes the current show to move the current slide to the previous slide. It will not go past the first slide. the navigation outcome.



processActionRefresh
public String processActionRefresh()(Code)
Handle a refresh view event. This is only needed while watching a presentation.



processActionRefreshPresentations
public String processActionRefreshPresentations()(Code)
Process the "Refresh Presentations" action. This causes the presentation list to be reloaded. the navigation outcome.



processActionView
public String processActionView()(Code)
Process the "View" action. the navigation outcome.



refreshPresentations
protected void refreshPresentations()(Code)
Refresh the list of presentations.



setIdMgr
public void setIdMgr(IdManager mgr)(Code)
Set the IdManager service.



setInstructionMessage
public void setInstructionMessage(String message)(Code)



setPrMgr
public void setPrMgr(PresentationManager mgr)(Code)
Set the PrsentationManager service.



setPresentations
protected void setPresentations(List list)(Code)
Set the decorated presentation list to be decorated objects of this list
Parameters:
  list - The set of Presentations for the list.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.