Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/ValueField"

(Added NumberField and DecimalField to fields not to be used in forms)
(Type of Value Fields: add ProposalField)
Line 22: Line 22:
 
*{{ScoutLink|Concepts|CheckboxField|Boolean Field}} also called {{ScoutLink|Concepts|CheckboxField|Checkbox Field}}  
 
*{{ScoutLink|Concepts|CheckboxField|Boolean Field}} also called {{ScoutLink|Concepts|CheckboxField|Checkbox Field}}  
 
*{{ScoutLink|Concepts|SmartField|Smart Field <T>}}  
 
*{{ScoutLink|Concepts|SmartField|Smart Field <T>}}  
 +
*{{ScoutLink|Concepts|ProposalField|Proposal Field <T>}} (<tt><T></tt> is not the type of the value field. Type is <tt>String</tt>)
 
*{{ScoutLink|Concepts|ListBox|List Box <T[]>}}  
 
*{{ScoutLink|Concepts|ListBox|List Box <T[]>}}  
 
*{{ScoutLink|Concepts|TreeBox|Tree Box <T[]>}}  
 
*{{ScoutLink|Concepts|TreeBox|Tree Box <T[]>}}  

Revision as of 12:58, 24 July 2014

The Scout documentation has been moved to https://eclipsescout.github.io/.

Specific type of Fields that contains a value. Depending on the The Scout documentation has been moved to https://eclipsescout.github.io/., one of the child class needs to be considered.

Description

Value fields allow the user to enter some values in the form. Scout provides different implementation of the value fields, in order to add properties and event specific to the type (The Scout documentation has been moved to https://eclipsescout.github.io/. on The Scout documentation has been moved to https://eclipsescout.github.io/., or The Scout documentation has been moved to https://eclipsescout.github.io/. for The Scout documentation has been moved to https://eclipsescout.github.io/.)

Important.png
Do not use this field in your forms
This class mutualizes the all the common logic for all values fields (validations...) but there is no renderer for this field. You should consider using one of the child classes, depending on the type of the value you want to display. Other such fields that provide common functionality to extensions but have no renderer are NumberField and DecimalFieldand; they shouldn't be used in your forms, either.


Type of Value Fields

Properties

Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. 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 The Scout documentation has been moved to https://eclipsescout.github.io/. methods.

See also the The Scout documentation has been moved to https://eclipsescout.github.io/. page for the events that all fields have in common.

Input validation

Scout ValueField Validation.png

Other events

See Also

Back to the top