[Blindmath] Question on keyboard control of an SWT Scale object
Richard Baldwin
baldwin at dickbaldwin.com
Thu Feb 16 19:07:48 UTC 2012
Definitely worth considering.
Thanks,
Dick Baldwin
On Thu, Feb 16, 2012 at 12:57 PM, Peter Donahue <pdonahue2 at satx.rr.com>wrote:
> Hello again Dick and everyone,
>
> Once the slider issue is resolved perhaps you could add "Preset Options"
> a blind or sighted user could set for different embossers. When the user
> finds a desirable setting they could be asked if they wish to create a
> preset for this option. If they answer "Yes" they could then be prompted to
> name the preset. Depending on the images to be embossed and the embosser
> type they could either use the slider or scroll their presets to select the
> one for their particular embosser. If I were to emboss an image with my
> Index Basic D for example once I've found the values that produce the best
> results using the slider I could create a preset called "Index Basic D." If
> I need to emboss an image using this embosser I would simply select "Index
> Basic D" from the list of embosser presets I've configured and produce the
> tactile image. . Likewise should I use a Tiger Embosser to produce a
> Braille
> graphic I would need only select "Tiger Embosser" from the list of presets
> and emboss the image.
>
> And let's not forget to add the ability to share embosser presets with
> others to make it possible for someone to use an embosser preset created by
> another user to Braille their project images. Keep up the great work.
>
> Peter Donahue
>
>
> ----- Original Message -----
> From: "Richard Baldwin" <baldwin at dickbaldwin.com>
> To: "BlindMath Mailing List" <blindmath at nfbnet.org>;
> <accessibleimage at freelists.org>; <brailleblaster at freelists.org>
> Sent: Thursday, February 16, 2012 12:14 PM
> Subject: [Blindmath] Question on keyboard control of an SWT Scale object
>
>
> I am using an SWT Scale object in the GUI for my latest generation of
> blind-oriented software tools. Here is an excerpt of the configuration
> code:
>
> Label scaleLabel = new Label(shell,SWT.CENTER);
> scaleLabel.setText("Slide to adjust threshold.");
>
> //Place a Scale object (slider) on the GUI
> scale = new Scale(shell, SWT.HORIZONTAL);
> scale.setBounds(0, 0, 40, 200);
> scale.setMaximum(100);
> scale.setMinimum(0);
> scale.setIncrement(1);
> scale.setPageIncrement(1);
>
> I would like to find a way to make it possible for a blind user to move the
> slider on the scale in both large steps and small steps while maintaining a
> reasonable control strategy for mouse users.
>
> As configured, the arrow keys cause the slider to move in one-unit
> increments. Also clicking the mouse in the track causes the slider to move
> one unit.
>
> Increasing the value of the setPageIncrement parameter has no effect on
> movement using the arrow keys. However, it does increase the distance that
> the slider moves when the mouse is clicked in the track.
>
> The value of the setIncrement parameter doesn't seem to have any effect for
> either keyboard users or mouse users.
>
> Holding down the shift key or the control key while pressing an arrow key
> doesn't seem to have any effect.
>
> If anyone knows how to configure the Scale object to make it possible for a
> blind user to move the slider on the scale in both large steps and small
> steps while maintaining a reasonable control strategy for mouse users,
> please let me know.
>
> Or, if there is a different slider-like SWT control that would be better to
> use in such an application, I would like to hear about it also. By the way,
> before using the Scale object, I looked into the Slider object and found it
> unacceptable for my purpose.
>
> Dick Baldwin
>
> --
> Richard G. Baldwin (Dick Baldwin)
> Home of Baldwin's on-line Java Tutorials
> http://www.DickBaldwin.com
>
> Professor of Computer Information Technology
> Austin Community College
> (512) 223-4758
> mailto:Baldwin at DickBaldwin.com
> http://www.austincc.edu/baldwin/
> _______________________________________________
> Blindmath mailing list
> Blindmath at nfbnet.org
> http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Blindmath:
>
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/pdonahue2%40satx.rr.com
>
>
> _______________________________________________
> Blindmath mailing list
> Blindmath at nfbnet.org
> http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Blindmath:
>
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/baldwin%40dickbaldwin.com
>
--
Richard G. Baldwin (Dick Baldwin)
Home of Baldwin's on-line Java Tutorials
http://www.DickBaldwin.com
Professor of Computer Information Technology
Austin Community College
(512) 223-4758
mailto:Baldwin at DickBaldwin.com
http://www.austincc.edu/baldwin/
More information about the BlindMath
mailing list