Skip to main content
Jump to: navigation, search

Scout/Concepts/Form

< Scout‎ | Concepts
Revision as of 12:01, 24 September 2014 by Jeremie.bresson.unblu.com (Talk | contribs) (Description)


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
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

Each form contains:

  • 0..n variables.
  • 0..n Key Strokes (inner classes implementing IKeyStroke).
  • exactly 1 Main Box field (inner class implementing IGroupBox): this is the root GroupBox field containing the other fields
  • 0..n ToolButtons (inner classes implementing IToolButton),
  • 1..n Form Handler (usually defined as inner classes implementing IFormHandler, but since the handler is set as parameter of AbstractForm.startInternal(IFormHandler) the handler can be defined everywhere): start the form with different behaviors (e.g. startNew() and startModify())

A Form can be opened as a Dialog or as a View (see How to open a form in a view).

Java code of a simple form as example.

See also SearchForm.

Screenshot

Properties

Defined with getConfiguredXxxxxx() methods.



Events

Defined with execXxxxxx() methods.



See Also

Back to the top