Java Doc for FxGroupEdit.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.FxStructureElement
      com.flexive.shared.structure.FxGroup
         com.flexive.shared.structure.FxGroupEdit

FxGroupEdit
public class FxGroupEdit extends FxGroup (Code)
FxGroup used for structure editing
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)



Constructor Summary
public  FxGroupEdit(FxGroup group)
    

Method Summary
public  voidclearOption(String key)
    
public static  FxGroupEditcreateNew(FxGroup base, String newName)
    
public static  FxGroupEditcreateNew(String name, FxString description, FxString hint, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity)
    
public  intgetAssignmentDefaultMultiplicity()
    
public  GroupModegetAssignmentGroupMode()
    
public  List<FxStructureOption>getOptions()
    
public  booleanisNew()
    
public  FxGroupEditsetAssignmentDefaultMultiplicity(int defaultMultiplicity)
     This value set will only be used when creating a new property and will be set for the created assignment! Set the default multiplicity (used i.e.
public  FxGroupEditsetAssignmentGroupMode(GroupMode mode)
     Set the group mode.
public  FxGroupEditsetHint(FxString hint)
    
public  FxGroupEditsetLabel(FxString label)
    
public  FxGroupEditsetMultiplicity(FxMultiplicity multiplicity)
    
public  FxGroupEditsetName(String name)
    
public  FxGroupEditsetOption(String key, boolean overrideable, String value)
    
public  FxGroupEditsetOption(String key, boolean overrideable, boolean value)
    
public  FxGroupEditsetOverrideMultiplicity(boolean overrideMultiplicity)
    


Constructor Detail
FxGroupEdit
public FxGroupEdit(FxGroup group)(Code)
Make an editable instance of an existing group
Parameters:
  group - existing group




Method Detail
clearOption
public void clearOption(String key)(Code)
Clear an option entry
Parameters:
  key - option name



createNew
public static FxGroupEdit createNew(FxGroup base, String newName)(Code)
Create a clone of an existing group with a new name
Parameters:
  base - group to clone
Parameters:
  newName - new name to assign FxGroupEdit



createNew
public static FxGroupEdit createNew(String name, FxString description, FxString hint, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity)(Code)
Create a new FxGroupEdit instance
Parameters:
  name - group name
Parameters:
  description - description
Parameters:
  hint - hint message
Parameters:
  overrideBaseMultiplicity - allow base multiplicity override?
Parameters:
  multiplicity - multiplicity FxGroupEdit



getAssignmentDefaultMultiplicity
public int getAssignmentDefaultMultiplicity()(Code)
Get the created assignments default multiplicity default multiplicity



getAssignmentGroupMode
public GroupMode getAssignmentGroupMode()(Code)
Get the group mode if this GroupEdit is for a new group and assignment is to be created group mode



getOptions
public List<FxStructureOption> getOptions()(Code)
Get a (unmodifiable) list of all options set for this group (unmodifiable) list of all options set for this group



isNew
public boolean isNew()(Code)
Is this a new group if this is a new group



setAssignmentDefaultMultiplicity
public FxGroupEdit setAssignmentDefaultMultiplicity(int defaultMultiplicity)(Code)
This value set will only be used when creating a new property and will be set for the created assignment! Set the default multiplicity (used i.e. in user interfaces editors and determines the amount of values that will be initialized when creating an empty element).

If the set value is < min or > max multiplicity of this assignment it will be auto adjusted to the next valid value without throwing an exception
Parameters:
  defaultMultiplicity - the default multiplicity this




setAssignmentGroupMode
public FxGroupEdit setAssignmentGroupMode(GroupMode mode) throws FxInvalidParameterException(Code)
Set the group mode. Only possible for new groups to reflect it to the new assignment
Parameters:
  mode - group mode this
throws:
  FxInvalidParameterException - if group is not new



setHint
public FxGroupEdit setHint(FxString hint)(Code)
Set the hint message
Parameters:
  hint - hint message this



setLabel
public FxGroupEdit setLabel(FxString label)(Code)
Set the label
Parameters:
  label - the label this



setMultiplicity
public FxGroupEdit setMultiplicity(FxMultiplicity multiplicity)(Code)
Set the multiplicity
Parameters:
  multiplicity - multiplicity this



setName
public FxGroupEdit setName(String name)(Code)
Set the name for the group
Parameters:
  name - group name this
throws:
  com.flexive.shared.exceptions.FxRuntimeException - on errors



setOption
public FxGroupEdit setOption(String key, boolean overrideable, String value)(Code)
Set an option
Parameters:
  key - option key
Parameters:
  overrideable - is the option overrideable from assignments?
Parameters:
  value - value of the option the group itself, useful for chained calls



setOption
public FxGroupEdit setOption(String key, boolean overrideable, boolean value)(Code)
Set a boolean option
Parameters:
  key - option key
Parameters:
  overrideable - is the option overrideable from assignments?
Parameters:
  value - value of the option the group itself, useful for chained calls



setOverrideMultiplicity
public FxGroupEdit setOverrideMultiplicity(boolean overrideMultiplicity)(Code)
May the base multiplicity be overridden?
Parameters:
  overrideMultiplicity - may the base multiplicity be overridden? this



Methods inherited from com.flexive.shared.structure.FxGroup
public FxGroupEdit asEditable()(Code)(Java Doc)

Fields inherited from com.flexive.shared.structure.FxStructureElement
protected FxString hint(Code)(Java Doc)
protected FxString label(Code)(Java Doc)
protected FxMultiplicity multiplicity(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected List<FxStructureOption> options(Code)(Java Doc)
protected boolean overrideMultiplicity(Code)(Java Doc)
protected boolean referenced(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxStructureElement
public FxString getHint()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public FxString getLabel()(Code)(Java Doc)
public FxMultiplicity getMultiplicity()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public FxStructureOption getOption(String key)(Code)(Java Doc)
public boolean hasOption(String key)(Code)(Java Doc)
public boolean isReferenced()(Code)(Java Doc)
public boolean mayOverrideBaseMultiplicity()(Code)(Java Doc)
public void setReferenced(boolean referenced)(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.