Java Doc for Images.java in  » Portal » uPortal_rel-2-6-1-GA » org » jasig » portal » channels » jsp » tree » 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 » uPortal_rel 2 6 1 GA » org.jasig.portal.channels.jsp.tree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jasig.portal.channels.jsp.tree.Images

Images
public class Images (Code)
Represents a set of well known keys and the default URL paths for images used in rendering the tree. These are loaded from configuration using the values of the constants defined in this class having names of XXX_IMG. The matching constants having just the XXX names hold the values of the keys into the table. These keys are used in the tree control's renderer.jsp to embed the URL from the map for that key into the rendered html tree. Applications that use the tree control can provide their own maps of image names to image URLs using the XXX constant names for the keys and providing their own URL values in their map objects. These customized maps can then be passed to the Config object for use by the renderer. If only a portion of the images are to be overridden they can obtain the default URLs from the configuration system for the unchanged images using the XXX_IMG constants.
 FOLDER_OPEN             = "folderOpen"
 FOLDER_CLOSED           = "folderClosed"
 START_OF_CONTAINER      = "startOfContainer"
 END_OF_CONTAINER        = "endOfContainer"
 MIDDLE_BRANCH_COLLAPSED = "middleBranchCollapsed"
 MIDDLE_BRANCH_EXPANDED  = "middleBranchExpanded"
 LAST_BRANCH_COLLAPSED   = "lastBranchCollapsed"
 LAST_BRANCH_EXPANDED    = "lastBranchExpanded"
 NO_BRANCH               = "noBranch"
 TRANSPARENT_POINT       = "transparentPoint"
 MIDDLE_CHILD            = "middleChild"
 SKIPPED_CHILD_RPT       = "skippedChildRpt"
 SKIPPED_CHILD           = "skippedChild"
 LAST_CHILD              = "lastChild"
 SHOW_ASPECTS            = "showAspects"
 HIDE_ASPECTS            = "hideAspects"
 

author:
   Mark Boyd


Field Summary
final public static  StringEND_OF_CONTAINER
     Represents the key used by the renderer to obtain the URL for the containment end image in the tree when containment is being used.
final public static  StringEND_OF_CONTAINER_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.END_OF_CONTAINER image.
final public static  StringFOLDER_CLOSED
     Represents the key used by the renderer to obtain the URL for the closed container node in the tree.
final public static  StringFOLDER_CLOSED_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.FOLDER_CLOSED image.
final public static  StringFOLDER_OPEN
     Represents the key used by the renderer to obtain the URL for the open container node in the tree.
final public static  StringFOLDER_OPEN_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.FOLDER_OPEN image.
final public static  StringHIDE_ASPECTS
     Represents the key used by the renderer to obtain the URL for an image used to hide aspects of a node in the tree.
final public static  StringHIDE_ASPECTS_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.HIDE_ASPECTS image.
final public static  StringLAST_BRANCH_COLLAPSED
     Represents the key used by the renderer to obtain the URL for the image depicting a collapsed branch point in the tree where there are no additional following sibling nodes.
final public static  StringLAST_BRANCH_COLLAPSED_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.LAST_BRANCH_COLLAPSED image.
final public static  StringLAST_BRANCH_EXPANDED
     Represents the key used by the renderer to obtain the URL for the image depicting an expanded branch point in the tree where there are no additional following sibling nodes.
final public static  StringLAST_BRANCH_EXPANDED_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.LAST_BRANCH_EXPANDED image.
final public static  StringLAST_CHILD
     Represents the key used by the renderer to obtain the URL for the branch of a non-expandable child node with no additional following sibling nodes.
final public static  StringLAST_CHILD_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.LAST_CHILD image.
final public static  StringMIDDLE_BRANCH_COLLAPSED
     Represents the key used by the renderer to obtain the URL for the image depicting a collapsed branch point in the tree where there are additional following sibling nodes.
final public static  StringMIDDLE_BRANCH_COLLAPSED_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.MIDDLE_BRANCH_COLLAPSED image.
final public static  StringMIDDLE_BRANCH_EXPANDED
     Represents the key used by the renderer to obtain the URL for the image depicting an expanded branch point in the tree where there are additional following sibling nodes.
final public static  StringMIDDLE_BRANCH_EXPANDED_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.MIDDLE_BRANCH_EXPANDED image.
final public static  StringMIDDLE_CHILD
     Represents the key used by the renderer to obtain the URL for the image representing the non expandable branch of a child node with additional following sibling nodes.
final public static  StringMIDDLE_CHILD_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.MIDDLE_CHILD image.
final public static  StringNO_BRANCH
     Represents the key used by the renderer to obtain the URL for the image depicting an area of the tree not containing a branch.
final public static  StringNO_BRANCH_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.NO_BRANCH image.
final public static  StringSHOW_ASPECTS
     Represents the key used by the renderer to obtain the URL for an image used to show aspects of a node in the tree.
final public static  StringSHOW_ASPECTS_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.SHOW_ASPECTS image.
final public static  StringSKIPPED_CHILD
     Represents the key used by the renderer to obtain the URL for an image representing the branch leading from the parent of an exposed child to the parent's following sibling.
final public static  StringSKIPPED_CHILD_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.SKIPPED_CHILD image.
final public static  StringSKIPPED_CHILD_RPT
     Represents the key used by the renderer to obtain the URL for a vertically repeatable version of an image representing the branch leading from the parent of an exposed child to the parent's following sibling.
final public static  StringSKIPPED_CHILD_RPT_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.SKIPPED_CHILD_RPT image.
final public static  StringSTART_OF_CONTAINER
     Represents the key used by the renderer to obtain the URL for the containment start image in the tree when containment is being used.
final public static  StringSTART_OF_CONTAINER_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.START_OF_CONTAINER image.
final public static  StringTRANSPARENT_POINT
     Represents the key used by the renderer to obtain the URL for a single pixel transparent image suitable for stretching to fill areas of labels for spacing.
final public static  StringTRANSPARENT_POINT_IMG
     Defines the property name used within the configuration system to obtain the URL for the tree's default Images.TRANSPARENT_POINT image.


Method Summary
public static  MapgetDefaultSet()
     Builds a Map of the default images used in the tree control that can then be customized by an application to override some or all of the URLs for the images.

Field Detail
END_OF_CONTAINER
final public static String END_OF_CONTAINER(Code)
Represents the key used by the renderer to obtain the URL for the containment end image in the tree when containment is being used. A typical default is a close paren.



END_OF_CONTAINER_IMG
final public static String END_OF_CONTAINER_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.END_OF_CONTAINER image.



FOLDER_CLOSED
final public static String FOLDER_CLOSED(Code)
Represents the key used by the renderer to obtain the URL for the closed container node in the tree.



FOLDER_CLOSED_IMG
final public static String FOLDER_CLOSED_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.FOLDER_CLOSED image.



FOLDER_OPEN
final public static String FOLDER_OPEN(Code)
Represents the key used by the renderer to obtain the URL for the open container node in the tree. A typical default image for containers is a folder.



FOLDER_OPEN_IMG
final public static String FOLDER_OPEN_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.FOLDER_OPEN image.



HIDE_ASPECTS
final public static String HIDE_ASPECTS(Code)
Represents the key used by the renderer to obtain the URL for an image used to hide aspects of a node in the tree. Aspects do not receive a horizontal branch connected to the vertical child branch of a parent node thus implying that they are aspects of the parent node and not child nodes.
 an expanded middle branch
 | 
 +---+                         +------------------+
 | - +-- node image and label  | hideAspectsImage |
 +---+     | aspect 1          +------------------+
 |       | aspect 2
 |       | aspect 3
 |       +-- child 
 |       |
 



HIDE_ASPECTS_IMG
final public static String HIDE_ASPECTS_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.HIDE_ASPECTS image.



LAST_BRANCH_COLLAPSED
final public static String LAST_BRANCH_COLLAPSED(Code)
Represents the key used by the renderer to obtain the URL for the image depicting a collapsed branch point in the tree where there are no additional following sibling nodes. For example:
 lastBranchCollapsed
 |  
 +---+
 | + |--- node image and label
 +---+ 
 



LAST_BRANCH_COLLAPSED_IMG
final public static String LAST_BRANCH_COLLAPSED_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.LAST_BRANCH_COLLAPSED image.



LAST_BRANCH_EXPANDED
final public static String LAST_BRANCH_EXPANDED(Code)
Represents the key used by the renderer to obtain the URL for the image depicting an expanded branch point in the tree where there are no additional following sibling nodes. For example:
 lastBranchExpanded
 | 
 +---+
 | - +--- node image and label
 +---+     |
 +--- child 
 |
 



LAST_BRANCH_EXPANDED_IMG
final public static String LAST_BRANCH_EXPANDED_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.LAST_BRANCH_EXPANDED image.



LAST_CHILD
final public static String LAST_CHILD(Code)
Represents the key used by the renderer to obtain the URL for the branch of a non-expandable child node with no additional following sibling nodes.
 lastBranch
 |        
 +-- child image and label
 



LAST_CHILD_IMG
final public static String LAST_CHILD_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.LAST_CHILD image.



MIDDLE_BRANCH_COLLAPSED
final public static String MIDDLE_BRANCH_COLLAPSED(Code)
Represents the key used by the renderer to obtain the URL for the image depicting a collapsed branch point in the tree where there are additional following sibling nodes. For example:
 middleBranchCollapsed
 |            
 +---+
 | + |--- node image and label
 +---+
 |                           
 |   
 



MIDDLE_BRANCH_COLLAPSED_IMG
final public static String MIDDLE_BRANCH_COLLAPSED_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.MIDDLE_BRANCH_COLLAPSED image.



MIDDLE_BRANCH_EXPANDED
final public static String MIDDLE_BRANCH_EXPANDED(Code)
Represents the key used by the renderer to obtain the URL for the image depicting an expanded branch point in the tree where there are additional following sibling nodes. For example:
 middleBranchExpanded
 | 
 +---+
 | - +--- node image and label
 +---+     |
 |       +-- child 
 |       |
 



MIDDLE_BRANCH_EXPANDED_IMG
final public static String MIDDLE_BRANCH_EXPANDED_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.MIDDLE_BRANCH_EXPANDED image.



MIDDLE_CHILD
final public static String MIDDLE_CHILD(Code)
Represents the key used by the renderer to obtain the URL for the image representing the non expandable branch of a child node with additional following sibling nodes.
 middleBranch
 |        
 +-- child image and label
 |
 



MIDDLE_CHILD_IMG
final public static String MIDDLE_CHILD_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.MIDDLE_CHILD image.



NO_BRANCH
final public static String NO_BRANCH(Code)
Represents the key used by the renderer to obtain the URL for the image depicting an area of the tree not containing a branch. For example the lastBranchExpanded example has been included again below but with an empty representation of this image below the lastBranchExpanded image.
 lastBranchExpanded
 | 
 +---+
 | - +-- node image and label
 +---+     |
 +---+     +-- child
 |   |     |
 +---+     |
 



NO_BRANCH_IMG
final public static String NO_BRANCH_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.NO_BRANCH image.



SHOW_ASPECTS
final public static String SHOW_ASPECTS(Code)
Represents the key used by the renderer to obtain the URL for an image used to show aspects of a node in the tree. Aspects do not receive a horizontal branch connected to the vertical child branch of a parent node thus implying that they are aspects of the parent node and not child nodes.
 an expanded middle branch
 | 
 +---+                         +------------------+
 | - +-- node image and label  | showAspectsImage |
 +---+     |                   +------------------+
 |       +-- child 
 |       |
 



SHOW_ASPECTS_IMG
final public static String SHOW_ASPECTS_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.SHOW_ASPECTS image.



SKIPPED_CHILD
final public static String SKIPPED_CHILD(Code)
Represents the key used by the renderer to obtain the URL for an image representing the branch leading from the parent of an exposed child to the parent's following sibling. This may be the same as the repeatable version or may differ if needed.
 skippedChild
 |   |
 |   +-- child of parallel branch skipped by parent's sibling branch
 |    
 +-- child's parent's following sibling
 



SKIPPED_CHILD_IMG
final public static String SKIPPED_CHILD_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.SKIPPED_CHILD image.



SKIPPED_CHILD_RPT
final public static String SKIPPED_CHILD_RPT(Code)
Represents the key used by the renderer to obtain the URL for a vertically repeatable version of an image representing the branch leading from the parent of an exposed child to the parent's following sibling. By using this repeatable version as a repeated background image the text in rows can wrap and the tree branches will accomodate the expansion by appearing to expand and collapse vertically as needed.
 skippedChild
 |   |
 |   +-- child of parallel branch skipped by parent's sibling branch
 |    
 +-- child's parent's following sibling
 



SKIPPED_CHILD_RPT_IMG
final public static String SKIPPED_CHILD_RPT_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.SKIPPED_CHILD_RPT image.



START_OF_CONTAINER
final public static String START_OF_CONTAINER(Code)
Represents the key used by the renderer to obtain the URL for the containment start image in the tree when containment is being used. Such an image implies containment. A typical default is an open paren. These images can be used to render logical expressions via the tree renderer.



START_OF_CONTAINER_IMG
final public static String START_OF_CONTAINER_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.START_OF_CONTAINER image.



TRANSPARENT_POINT
final public static String TRANSPARENT_POINT(Code)
Represents the key used by the renderer to obtain the URL for a single pixel transparent image suitable for stretching to fill areas of labels for spacing.



TRANSPARENT_POINT_IMG
final public static String TRANSPARENT_POINT_IMG(Code)
Defines the property name used within the configuration system to obtain the URL for the tree's default Images.TRANSPARENT_POINT image.





Method Detail
getDefaultSet
public static Map getDefaultSet()(Code)
Builds a Map of the default images used in the tree control that can then be customized by an application to override some or all of the URLs for the images.



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.