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/ToggleButton"

(New page: {{ScoutPage|cat=Component Model}} Type of {{ScoutLink|Concepts|Field|Field}} for buttons. * extends: {{ScoutJavadoc|AbstractToggleButton|C}} == Description == The ToggleButton is a Butt...)
 
m (Description)
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
The ToggleButton is a Button with 2 states.
 
The ToggleButton is a Button with 2 states.
  
If the user clicks on the ToggleButton then the button will be pressed as long as the user clicks on it again.
+
If the user clicks on the ToggleButton then the button will be selected as long as the user clicks on it again.
  
 
== Screenshot ==
 
== Screenshot ==
 
+
{|{{BMTableStyle}}
 +
|-{{BMTHStyle}}
 +
! State
 +
! RAP
 +
! SWT
 +
! Swing
 +
! Swing Rayo
 +
|-
 +
| Normal || [[Image:Scout_3.8_ToggleButton_Normal_RAP.png]] || [[Image:Scout_3.8_ToggleButton_Normal_SWT.png]] || [[Image:Scout_3.8_ToggleButton_Normal_Swing.png]] || [[Image:Scout_3.8_ToggleButton_Normal_Swing_Rayo.png]]
 +
|-
 +
| Selected || [[Image:Scout_3.8_ToggleButton_Selected_RAP.png]] || [[Image:Scout_3.8_ToggleButton_Selected_SWT.png]] || [[Image:Scout_3.8_ToggleButton_Selected_Swing.png]] || [[Image:Scout_3.8_ToggleButton_Selected_Swing_Rayo.png]]
 +
|-
 +
|}
  
 
== Properties ==
 
== Properties ==

Revision as of 02:58, 5 October 2012

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

Type of The Scout documentation has been moved to https://eclipsescout.github.io/. for buttons.

Description

The ToggleButton is a Button with 2 states.

If the user clicks on the ToggleButton then the button will be selected as long as the user clicks on it again.

Screenshot

State RAP SWT Swing Swing Rayo
Normal Scout 3.8 ToggleButton Normal RAP.png Scout 3.8 ToggleButton Normal SWT.png Scout 3.8 ToggleButton Normal Swing.png Scout 3.8 ToggleButton Normal Swing Rayo.png
Selected Scout 3.8 ToggleButton Selected RAP.png Scout 3.8 ToggleButton Selected SWT.png Scout 3.8 ToggleButton Selected Swing.png Scout 3.8 ToggleButton Selected Swing Rayo.png

Properties

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 properties that all fields have in common.


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.


See Also

Back to the top