Java Doc for FxSelectListItem.java in  » J2EE » fleXive » com » flexive » shared » structure » 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 » J2EE » fleXive » com.flexive.shared.structure 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.shared.structure.FxSelectListItem

All known Subclasses:   com.flexive.shared.structure.FxSelectListItemEdit,
FxSelectListItem
public class FxSelectListItem implements Serializable,SelectableObjectWithLabel,ObjectWithColor(Code)
Items for select lists
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
final public static  FxSelectListItemEMPTY
    
protected  ACLacl
    
protected  Stringcolor
    
protected  Stringdata
    
protected  longiconId
    
protected  inticonQuality
    
protected  inticonVer
    
protected  longid
    
protected  FxStringlabel
    
protected  LifeCycleInfolifeCycleInfo
    
protected  FxSelectListlist
    
protected  FxSelectListItemparentItem
    
protected  longparentItemId
    

Constructor Summary
public  FxSelectListItem(long id, ACL acl, FxSelectList list, long parentItemId, FxString label, String data, String color, long iconId, int iconVer, int iconQuality, LifeCycleInfo lifeCycleInfo)
    
public  FxSelectListItem(long id, FxSelectList list, long parentItemId, FxString label)
     Creates a new in-memory select list item.

Method Summary
protected  void_synchronize(FxEnvironment env)
    
protected  void_updateList(FxSelectList list)
    
public  FxSelectListItemEditasEditable()
    
public  ACLgetAcl()
     Get the ACL for this item.
public  StringgetColor()
    
public  StringgetData()
    
public  longgetIconId()
    
public  intgetIconQuality()
    
public  intgetIconVer()
    
public  longgetId()
    
public  FxStringgetLabel()
    
public  LifeCycleInfogetLifeCycleInfo()
    
public  FxSelectListgetList()
    
public  FxSelectListItemgetParentItem()
    
public  booleanhasParentItem()
    
public  booleanisEmpty()
    
public  StringtoString()
    

Field Detail
EMPTY
final public static FxSelectListItem EMPTY(Code)



acl
protected ACL acl(Code)



color
protected String color(Code)



data
protected String data(Code)



iconId
protected long iconId(Code)



iconQuality
protected int iconQuality(Code)



iconVer
protected int iconVer(Code)



id
protected long id(Code)



label
protected FxString label(Code)



lifeCycleInfo
protected LifeCycleInfo lifeCycleInfo(Code)



list
protected FxSelectList list(Code)



parentItem
protected FxSelectListItem parentItem(Code)



parentItemId
protected long parentItemId(Code)




Constructor Detail
FxSelectListItem
public FxSelectListItem(long id, ACL acl, FxSelectList list, long parentItemId, FxString label, String data, String color, long iconId, int iconVer, int iconQuality, LifeCycleInfo lifeCycleInfo)(Code)
Internal(!) Constructor to be used while loading from storage
Parameters:
  id - id
Parameters:
  acl - the items acl
Parameters:
  list - the list this item belongs to
Parameters:
  parentItemId - parent item id if >= 0
Parameters:
  label - this items label
Parameters:
  data - optional data
Parameters:
  color - color for display
Parameters:
  iconId - id of icon (binary reference)
Parameters:
  iconVer - version of icon (binary reference)
Parameters:
  iconQuality - quality of icon (binary reference)
Parameters:
  lifeCycleInfo - life cycle



FxSelectListItem
public FxSelectListItem(long id, FxSelectList list, long parentItemId, FxString label)(Code)
Creates a new in-memory select list item. Not suitable for select lists that should be stored in the database.
Parameters:
  id - the new select list item ID, possible some external ID
Parameters:
  list - the select list this item should be added to
Parameters:
  parentItemId - the parent item ID, if any
Parameters:
  label - the select item label




Method Detail
_synchronize
protected void _synchronize(FxEnvironment env)(Code)
Internal method to synchronize/load parent items
Parameters:
  env - environment



_updateList
protected void _updateList(FxSelectList list)(Code)
Update this items list (internally used when creating new lists to have a valid id)
Parameters:
  list - new list with a valid id



asEditable
public FxSelectListItemEdit asEditable()(Code)
Get this FxSelectListItem as editable FxSelectListItemEdit



getAcl
public ACL getAcl()(Code)
Get the ACL for this item. This ACL is treated in a special way: The only relevant permissions are create and delete for adding and removing entries, all items are readable and editable (to allow saving set items) by default ACL for this item



getColor
public String getColor()(Code)
Get the color to display for this item color to display for this item



getData
public String getData()(Code)
Get optional data assigned to this item optional data assigned to this item



getIconId
public long getIconId()(Code)
Id of icon used for user interfaces (reference to binaries, internal field!) id of icon used for user interfaces (reference to binaries, internal field!)



getIconQuality
public int getIconQuality()(Code)
Quality of icon used for user interfaces (reference to binaries, internal field!) quality of icon used for user interfaces (reference to binaries, internal field!)



getIconVer
public int getIconVer()(Code)
Version of icon used for user interfaces (reference to binaries, internal field!) version of icon used for user interfaces (reference to binaries, internal field!)



getId
public long getId()(Code)
Get the internal id internal id



getLabel
public FxString getLabel()(Code)
Get label label



getLifeCycleInfo
public LifeCycleInfo getLifeCycleInfo()(Code)
Get this items lifecycle info lifecycle info



getList
public FxSelectList getList()(Code)
Get the list this item belongs to list this item belongs to



getParentItem
public FxSelectListItem getParentItem()(Code)
Get the parent item of this item (check existance with hasParentItem() first!) parent item of this item



hasParentItem
public boolean hasParentItem()(Code)
Does a parent item exist for this item? parent item exists



isEmpty
public boolean isEmpty()(Code)
Is this item used as the "empty" item? if this is the "empty" item



toString
public String toString()(Code)



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.