Java Doc for MenuImpl.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » portalsite » impl » 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 » Portal » jetspeed 2.1.3 » org.apache.jetspeed.portalsite.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.jetspeed.portalsite.impl.MenuElementImpl
      org.apache.jetspeed.portalsite.impl.MenuImpl

MenuImpl
public class MenuImpl extends MenuElementImpl implements Menu,Cloneable(Code)
This class implements the portal-site menu elements constructed and returned to decorators.
author:
   Randy Watler
version:
   $Id: MenuImpl.java 516448 2007-03-09 16:25:47Z ate $



Constructor Summary
public  MenuImpl(MenuImpl parent, MenuDefinition definition, PortalSiteRequestContextImpl context, Set menus)
    
public  MenuImpl(MenuDefinition definition, PortalSiteRequestContextImpl context, Set menus)
    

Method Summary
public  Objectclone()
    
public  StringgetElementType()
    
public  ListgetElements()
    
public  GenericMetadatagetMetadata()
    
public  StringgetName()
    
public  MenuElementgetSelectedElement(PortalSiteRequestContext context)
    
public  StringgetShortTitle()
    
public  StringgetShortTitle(Locale locale)
    
public  StringgetSkin()
    
public  StringgetTitle()
    
public  StringgetTitle(Locale locale)
    
public  StringgetUrl()
    
public  booleanisElementRelative()
    
public  booleanisEmpty()
    
public  booleanisHidden()
    
public  booleanisSelected(PortalSiteRequestContext context)
    


Constructor Detail
MenuImpl
public MenuImpl(MenuImpl parent, MenuDefinition definition, PortalSiteRequestContextImpl context, Set menus)(Code)
MenuImpl - request/session context dependent constructor
Parameters:
  parent - containing menu implementation
Parameters:
  definition - menu definition
Parameters:
  context - request context
Parameters:
  menus - related menu definition names set



MenuImpl
public MenuImpl(MenuDefinition definition, PortalSiteRequestContextImpl context, Set menus)(Code)
MenuImpl - request/session context dependent constructor
Parameters:
  definition - menu definition
Parameters:
  context - request context
Parameters:
  menus - related menu definition names set




Method Detail
clone
public Object clone() throws CloneNotSupportedException(Code)
clone - clone this instance unparented deep copy



getElementType
public String getElementType()(Code)
getElementType - get type of menu element MENU_ELEMENT_TYPE



getElements
public List getElements()(Code)
getElements - get ordered list of menu elements that are members of this menu; possibly contains options, nested menus, or separators menu elements list



getMetadata
public GenericMetadata getMetadata()(Code)
getMetadata - get generic metadata for menu element metadata



getName
public String getName()(Code)
getName - get name of menu menu name



getSelectedElement
public MenuElement getSelectedElement(PortalSiteRequestContext context)(Code)
getSelectedElement - return selected option or nested menu within this menu selected by the specified request context selected menu element



getShortTitle
public String getShortTitle()(Code)
getShortTitle - get default short title for menu element short title text



getShortTitle
public String getShortTitle(Locale locale)(Code)
getShortTitle - get locale specific short title for menu element from metadata
Parameters:
  locale - preferred locale short title text



getSkin
public String getSkin()(Code)
getSkin - get skin name for menu element skin name



getTitle
public String getTitle()(Code)
getTitle - get default title for menu element title text



getTitle
public String getTitle(Locale locale)(Code)
getTitle - get locale specific title for menu element from metadata
Parameters:
  locale - preferred locale title text



getUrl
public String getUrl()(Code)
getUrl - get url of top level folder that defined menu options; only available for menus defined without multiple options, nested menus, or separators folder url



isElementRelative
public boolean isElementRelative()(Code)
isElementRelative - get flag that indicates whether any relative paths dependent on the current page in context were referenced while constructing menu elements relative element status



isEmpty
public boolean isEmpty()(Code)
isEmpty - get empty state of list of menu elements menu elements list empty state



isHidden
public boolean isHidden()(Code)
isHidden - get hidden state of folder that defined menu options; only available for menus defined without multiple options, nested menus, or separators hidden state



isSelected
public boolean isSelected(PortalSiteRequestContext context)(Code)
isSelected - return true if an option or nested menu within this menu are selected by the specified request context
Parameters:
  context - request context selected state



Methods inherited from org.apache.jetspeed.portalsite.impl.MenuElementImpl
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
abstract public String getElementType()(Code)(Java Doc)
public GenericMetadata getMetadata()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
protected Node getNode()(Code)(Java Doc)
public Menu getParentMenu()(Code)(Java Doc)
public String getShortTitle()(Code)(Java Doc)
public String getShortTitle(Locale locale)(Code)(Java Doc)
public String getSkin()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
public String getTitle(Locale locale)(Code)(Java Doc)
public String getUrl()(Code)(Java Doc)
protected void setNode(Node node)(Code)(Java Doc)
protected void setParentMenu(Menu parentMenu)(Code)(Java Doc)

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.