Jump to: navigation, search

Difference between revisions of "Scout/Concepts/Form"

m (Description)
m (Category changed)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ScoutPage|cat=Concepts}}
+
{{ScoutPage|cat=Client}}
  
 
A form is both a model structure of a ui concept known as dialog or view and also a model of a {{ScoutLink|Concepts|Wizard|wizard}} page. Wizard {{ScoutLink|Concepts|Button|buttons}} are added automatically to the main box if missing.
 
A form is both a model structure of a ui concept known as dialog or view and also a model of a {{ScoutLink|Concepts|Wizard|wizard}} page. Wizard {{ScoutLink|Concepts|Button|buttons}} are added automatically to the main box if missing.
Line 12: Line 12:
 
* MainBox Field (the main {{ScoutLink|Concepts|GroupBox|GroupBox Field}} at the root of a Form)
 
* MainBox Field (the main {{ScoutLink|Concepts|GroupBox|GroupBox Field}} at the root of a Form)
 
* {{ScoutLink|Concepts|Form Handler|Handlers}}: start the form with different behaviors (e.g. <code>startNew()</code> and <code>startModify()</code>)
 
* {{ScoutLink|Concepts|Form Handler|Handlers}}: start the form with different behaviors (e.g. <code>startNew()</code> and <code>startModify()</code>)
 +
* A Form can be opened as a Dialog or as a View (see {{ScoutLink|HowTo|Open_a_Form_in_a_View|Open a form in a view}}).
  
 
{{ScoutLink|Concepts|Form/Example|Java code of a simple form}} as example.
 
{{ScoutLink|Concepts|Form/Example|Java code of a simple form}} as example.
Line 18: Line 19:
  
 
== Screenshot ==
 
== Screenshot ==
{{note|TODO|Add a screenshot (or remove this section, if there is no screenshot to make)}}
+
<gallery>
 
+
Image:Scout Form.png|Form as Dialog
 
+
Image:Scout Form View.png|Form as View
 +
</gallery>
 
== Properties ==
 
== Properties ==
 
''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''.
 
''Defined with {{ScoutLink|Concepts|GetConfigured Methods|getConfiguredXxxxxx()}} methods''.
Line 37: Line 39:
 
* {{ScoutLink|Concepts|FormData|FormData}}
 
* {{ScoutLink|Concepts|FormData|FormData}}
 
* {{ScoutLink|Concepts|Wizard|Wizard}}
 
* {{ScoutLink|Concepts|Wizard|Wizard}}
 +
* {{ScoutLink|HowTo|Open_a_Form_in_a_View|How to open a form in a view}}
 
* {{ScoutLink|Concepts|Client Plug-In|Client Plug-In}}
 
* {{ScoutLink|Concepts|Client Plug-In|Client Plug-In}}

Revision as of 11:44, 3 November 2011


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
Bugzilla
Bugzilla


A form is both a model structure of a ui concept known as dialog or view and also a model of a wizard page. Wizard buttons are added automatically to the main box if missing.

  • implements: I obj.pngIForm
  • extends: C obj.pngAbstractForm

Description

Note.png
TODO
Add a description

TODO:

Java code of a simple form as example.

See also SearchForm

Screenshot

Properties

Defined with getConfiguredXxxxxx() methods.

Note.png
TODO
Add a description of important properties. The idea is not to recreate the JavaDoc of the getConfiguredXxxxxx() methods but to provide explanations, best practice, example... Group the properties by domain.


Events

Defined with execXxxxxx() methods.

Note.png
TODO
Add a description of important events. The idea is not to recreate the JavaDoc of the execXxxxxx() methods but to provide explanations, best practice, example... Group the events by domain.


See Also