Java Doc for GenericObjectForm.java in  » Workflow-Engines » osbl-1_0 » org » osbl » client » wings » form » 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 » Workflow Engines » osbl 1_0 » org.osbl.client.wings.form 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.osbl.client.wings.form.GenericObjectForm

All known Subclasses:   org.osbl.orga.gui.MemberForm,  org.osbl.inventory.gui.AllocationForm,  org.osbl.client.wings.form.ExtendableGenericObjectForm,  org.osbl.orga.gui.GroupForm,  org.osbl.orga.gui.OrganisationsForm,  org.osbl.riskmanagement.gui.ClassificationsForm,  org.osbl.inventory.gui.CostTypeHierarchyForm,  org.osbl.identity.gui.AddressForm,  org.osbl.inventory.gui.CostTypeHierarchiesForm,  org.osbl.orga.gui.OrganisationForm,  org.osbl.orga.gui.MemberShipForm,  org.osbl.riskmanagement.gui.RiskTypeForm,  org.osbl.demo.urlaub.gui.UrlaubsAntragForm,  org.osbl.riskmanagement.gui.ClassificationForm,  org.osbl.issue.gui.IssueForm,  org.osbl.domain.gui.DomainForm,  org.osbl.inventory.gui.LocationForm,  org.osbl.authorization.gui.ProfileForm,  org.osbl.client.wings.devtools.hibernate.HibernateQueryForm,  org.osbl.riskmanagement.gui.RiskForm,  org.osbl.inventory.gui.InventoryForm,  org.osbl.orga.gui.RelationshipForm,  org.osbl.inventory.gui.CostTypeForm,
GenericObjectForm
abstract public class GenericObjectForm implements ObjectForm,ObjectContextAware,VisibilityListener(Code)
An abstract implementation of generic ObjectForm functionality. It assumes, that the UI is built from one or more BeanMetas following a descriptive layout specification. Databinding is accomplished using BeanDatas.

Inner Class :protected static class DelegateObjectAction extends AbstractAction
Inner Class :class ViewerAction extends AbstractAction

Field Summary
protected  ChangeStatuschangeStatus
    
protected  SComponentcomponent
    
protected  ObjectContextcontext
    
protected  SortedMap<String, BeanData>datas
    
protected  booleandocumentLook
    
protected  DelegateEnvironmentenvironment
    
protected  Layouterlayouter
    
protected  SortedMap<String, BeanMeta>metas
    
protected  Objectobject
    
protected  intviewMode
    

Constructor Summary
protected  GenericObjectForm()
    

Method Summary
protected  voidactivateValidation()
     Activate validation.
public  voidaddObjectAction(ObjectAction objectAction)
    
public  voidaddViewModeVariation(int viewMode, Modifier modifier)
    
public  voidclearChanges()
    
protected  voidclearDatas()
    
protected  BeanDatacreateBeanData(String path)
    
abstract protected  BeanMetacreateBeanMeta(String path)
    
protected  SComponentcreateCustomComponent(String key)
    
protected  SLabelcreateCustomLabel(String key)
    
abstract protected  InstructioncreateLayoutInstruction()
    
protected  voiddeactivateValidation()
     Activate validation.
protected  voidfocus()
    
final public  BeanDatagetBeanData(String path)
     Retrieve or lazily create a BeanData for the respective object. A details implementation might display complex object graphs.
final public  BeanMetagetBeanMeta(String path)
     Retrieve or lazily create a BeanMeta for the respective object. A details implementation might display complex object graphs.
public  ChangeStatusgetChangeStatus()
    
public  SComponentgetComponent()
     Lazily construct the details component according to the provided Layouter and BeanMeta.
protected  ComponentProvidergetComponentProvider()
    
public  ObjectContextgetContext()
    
public  EnvironmentgetEnvironment()
    
abstract protected  ObjectgetObject(String path)
     Retrieve the subobject, addressed by the specified path. A details implementation might display complex object graphs.
public  ObjectgetObject()
    
public  ObjectAction[]getObjectActions()
    
public  ClassgetType()
    
public  ValidationStatusgetValidationStatus()
    
public  booleanhasChanges()
    
public  booleanhasValidationIssues()
    
public  voidinitData(BeanData data)
    
protected  LayouterinitLayout(Instruction instruction)
     Construct a descriptive layout specification.
protected  voidinitializeForm()
     Perform initialization tasks. Override this method, if you want to perform initialization tasks on some UI elements after construction.
protected  voidinstallTools()
    
public  voidremoveObjectAction(ObjectAction objectAction)
    
public  voidsetApplicability(Instruction instruction, boolean applicable)
    
public  voidsetContext(ObjectContext context)
    
public  voidsetDocumentLook(boolean documentLook)
    
abstract protected  voidsetObject(String path, Object object)
     Set the subobject, addressed by the specified path. A details implementation might display complex object graphs.
public  voidsetObject(Object object)
    
public  voidsetViewMode(int viewMode)
    
protected  StringtitleArguments()
    
protected  voidupdateEditorComponent(String beanName, String propertyName)
    
protected  voidupdateLabel(String beanName, String propertyName)
    
protected  voidupdateLabelAndEditor(String beanName, String propertyName)
    
public  voidvisibilityChanged(VisibilityEvent event)
    
protected  voidvisibilityChanged(List<SComponent> visibleComponents)
    

Field Detail
changeStatus
protected ChangeStatus changeStatus(Code)



component
protected SComponent component(Code)



context
protected ObjectContext context(Code)



datas
protected SortedMap<String, BeanData> datas(Code)



documentLook
protected boolean documentLook(Code)



environment
protected DelegateEnvironment environment(Code)



layouter
protected Layouter layouter(Code)



metas
protected SortedMap<String, BeanMeta> metas(Code)



object
protected Object object(Code)



viewMode
protected int viewMode(Code)




Constructor Detail
GenericObjectForm
protected GenericObjectForm()(Code)




Method Detail
activateValidation
protected void activateValidation()(Code)
Activate validation. Validation issues will be published.



addObjectAction
public void addObjectAction(ObjectAction objectAction)(Code)



addViewModeVariation
public void addViewModeVariation(int viewMode, Modifier modifier)(Code)



clearChanges
public void clearChanges()(Code)



clearDatas
protected void clearDatas()(Code)



createBeanData
protected BeanData createBeanData(String path)(Code)



createBeanMeta
abstract protected BeanMeta createBeanMeta(String path)(Code)



createCustomComponent
protected SComponent createCustomComponent(String key)(Code)



createCustomLabel
protected SLabel createCustomLabel(String key)(Code)



createLayoutInstruction
abstract protected Instruction createLayoutInstruction()(Code)



deactivateValidation
protected void deactivateValidation()(Code)
Activate validation. Validation issues will not be published.



focus
protected void focus()(Code)



getBeanData
final public BeanData getBeanData(String path)(Code)
Retrieve or lazily create a BeanData for the respective object. A details implementation might display complex object graphs. Then the path for the root of the object graph is named ROOT and child objects are addressed using dot notation.
Parameters:
  path - addresses an object in the object graph. a BeanMeta for the respective object / subobject



getBeanMeta
final public BeanMeta getBeanMeta(String path)(Code)
Retrieve or lazily create a BeanMeta for the respective object. A details implementation might display complex object graphs. Then the path for the root of the object graph is named ROOT and child objects are addressed using dot notation.
Parameters:
  path - addresses an object in the object graph. a BeanMeta for the respective object / subobject



getChangeStatus
public ChangeStatus getChangeStatus()(Code)



getComponent
public SComponent getComponent()(Code)
Lazily construct the details component according to the provided Layouter and BeanMeta. the component showing the object



getComponentProvider
protected ComponentProvider getComponentProvider()(Code)



getContext
public ObjectContext getContext()(Code)



getEnvironment
public Environment getEnvironment()(Code)



getObject
abstract protected Object getObject(String path)(Code)
Retrieve the subobject, addressed by the specified path. A details implementation might display complex object graphs. Then the path for the root of the object graph is named ROOT and child objects are addressed using dot notation.
Parameters:
  path - addresses an object in the object graph. the object / subobject of the object graph



getObject
public Object getObject()(Code)



getObjectActions
public ObjectAction[] getObjectActions()(Code)



getType
public Class getType()(Code)



getValidationStatus
public ValidationStatus getValidationStatus()(Code)



hasChanges
public boolean hasChanges()(Code)



hasValidationIssues
public boolean hasValidationIssues()(Code)
Are there any unresolved validations issues pending? true, if there are pending issues, false otherwise



initData
public void initData(BeanData data)(Code)



initLayout
protected Layouter initLayout(Instruction instruction)(Code)
Construct a descriptive layout specification. the layout
Parameters:
  instruction - layout instructions



initializeForm
protected void initializeForm()(Code)
Perform initialization tasks. Override this method, if you want to perform initialization tasks on some UI elements after construction. This is the place, where PropertyChangeListeners can be registered on BeanDatas.



installTools
protected void installTools()(Code)



removeObjectAction
public void removeObjectAction(ObjectAction objectAction)(Code)



setApplicability
public void setApplicability(Instruction instruction, boolean applicable)(Code)



setContext
public void setContext(ObjectContext context)(Code)



setDocumentLook
public void setDocumentLook(boolean documentLook)(Code)



setObject
abstract protected void setObject(String path, Object object)(Code)
Set the subobject, addressed by the specified path. A details implementation might display complex object graphs. Then the path for the root of the object graph is named ROOT and child objects are addressed using dot notation.
Parameters:
  path - addresses an object in the object graph.
Parameters:
  object - the object / subobject of the object graph



setObject
public void setObject(Object object)(Code)



setViewMode
public void setViewMode(int viewMode)(Code)



titleArguments
protected String titleArguments()(Code)



updateEditorComponent
protected void updateEditorComponent(String beanName, String propertyName)(Code)



updateLabel
protected void updateLabel(String beanName, String propertyName)(Code)



updateLabelAndEditor
protected void updateLabelAndEditor(String beanName, String propertyName)(Code)



visibilityChanged
public void visibilityChanged(VisibilityEvent event)(Code)



visibilityChanged
protected void visibilityChanged(List<SComponent> visibleComponents)(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.