Overloaded radio buttons -- good GUI design?

I don't know where else to ask this. What do you think about overloading radio buttons with multiple functions? I have made an update to my Interactive Color Wheel that uses this technique. I haven't released it yet, but it is available here:
* http://r0k.us/rock/Junk/SIHwheel.html
It offers eight different sorts of 1567 colors and their names. That seemed to me to be way too many radio buttons; there were originally just three sorts and three buttons. I made a second row that contains the five new sorts accessed via two buttons. The sorts on each button are closely related, riffs on a theme if you will. Consecutive clicks on one of these two buttons will rotate through its functions, with the button text and toolTip updated to match its current sort and state.
I won't try describing more -- just use it, and let me know what you think. Intuitive? Ugly? Bad GUI design? Other comments?

RichF wrote:
Don't forget to take Spot, the Magic Color Dog for a walk! I recommend a different sort than the default [alphabetically], but you can change sorts on the fly. (Try [by hue], or one of the three Hilbert sorts.) In fact, Spot isn't stopping you from doing anything. Well, you'd have to have him go really slow to type in a hex color.
I was really, really amazed how fast Spot can run. With the gauge fully to the right, the timer has a specified delay of 0, so he's running as fast as everything else in the program lets him. There's a LOT going on, yet Spot can traverse all 1567 colors in mere seconds.
[add] It just occurred to me, maybe I should set a minimum update rate. I don't want it to cause someone to have an epileptic seizure. I'm thinking of setting 10 updates a second as the fastest it would go. What do you guys think?Actually it made me have to kill the JVM to stop the applet (closing the web page didn't work, apparently the new Java plugin sandboxing doesn't work). Only the JList was updating at full speed, not the color wheel.
This one I did not do. There was a complication with intensity. It uses a quantized color space, with intensity almost ranging from 0..74. I say almost because this integral range also includes 0.5. I forced that in so the value after black on a 0.255 scale would not be 4, but 2. The third value is 4, and the rest of the time it jumps by 3 or 4 on the 255 scale.
Once I decided to keep the intensity buttons as they were, it did not make sense to change the tile width buttons either. Their range is only 10..15, so IMO the [-] and [+] buttons work well.Just as a demo how to do that with JSpinner (JSlider is much harder to have non linear scales):
import java.awt.EventQueue;
import java.awt.FlowLayout;
import javax.swing.JFrame;
import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel;
public class TestJSpinner {
    public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                SpinnerNumberModel rings = new SpinnerNumberModel(10, 10, 15, 1);
                SpinnerNumberModel intensity = new SpinnerNumberModel(10.0, 0.0, 74.0, 1.0) {
                    @Override
                    public Object getPreviousValue() {
                        Double value = (Double) getValue();
                        if (value == 1.0) {
                            return 0.5;
                        else if (value == 0.5) {
                            return 0.0;
                        else {
                            return super.getPreviousValue();
                    @Override
                    public Object getNextValue() {
                        Double value = (Double) getValue();
                        if (value == 0.0) {
                            return 0.5;
                        else if (value == 0.5) {
                            return 1.0;
                        else {
                            return super.getNextValue();
                JFrame frame = new JFrame("Test");
                frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                frame.getContentPane().setLayout(new FlowLayout());
                frame.getContentPane().add(new JSpinner(intensity));
                frame.getContentPane().add(new JSpinner(rings));
                frame.pack();
                frame.setLocationRelativeTo(null);
                frame.setVisible(true);
}Edited by: Walter Laan on Nov 5, 2010 2:01 PM

Similar Messages

  • References on Good GUI Design

    Hi folks,
    I was wondering if anyone out there knew of good resources (ideally a tutorial-style book, not a reference) that would teach me about GUI design - the class structure (mine are always hideously coupled) and general conventions etc....
    I mean, I know how to put together a gui that works, but they are not always code that I am proud of... (blushes)
    Any ideas?
    Thanks!

    Hi folks,
    I was wondering if anyone out there knew of good
    resources (ideally a tutorial-style book, not a
    reference) that would teach me about GUI design - the
    class structure (mine are always hideously coupled)
    and general conventions etc....
    I mean, I know how to put together a gui that works,
    but they are not always code that I am proud of...
    (blushes)
    Any ideas?
    Thanks!Are you asking how code or design GUI?
    if(code) {
       // find "Divelog" tutorial
    } else if(design) {
      // find something about usability engineering
      //ie http://java.sun.com/docs/books/tutorial/networking/TOC.html
    }

  • Radio button selection, deselecting others

    My experience with "radio" buttons in GUI libraries is that selecting one in a group deselects any other button in that group -- kinda like a car radio (hence "radio" button).  How do we do that in LabView?  I thought I had seen a property to do that (though I may have been using some other GUI at the time)
       ...Dan

    Hi Dan,
    If you are using LabVIEW 7.1 or later, you can use the Radio Buttons Control in the Boolean palette to accomplish exactly what you're looking for.  If you're using a previous version of LabVIEW, you will have to write the underlying code to do this selection/deselection yourself...I'm sure you can find an example of how to do this on these forums somewhere.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Single select option in table view as radio button without design

    Hi,
    When I use the Content design = "Design2002" or design = "Design2003" then I get a checkbox in table view by giving the single select option. But when I do not use any design for the Content then I get a radio button in the table view.
    How do I get a radio button in the table view with Content Design = "Design2002" or design = "Design2003"?
    Message was edited by: Brian McKellar
    Assume you are asking about design=2002 versus 2003? Updated question.

    Hallo Sachin,
    Later this afternoon I will check your question with a colleague for an answer. We are all offsite today.
    Until then, it would be good if you review your questions Tableview radio button event..
    ++bcm

  • Livecycle Designer 7.0 - How do I link a text box in a form to a radio button or checkbox?

    Hello,
    I am using Livecycle Designer 7.0 to create a form. I have a scenario where I have several options on a question where they choose one radio button. The last option of the radio button has a text box accompanying it and I only want it to be able to be filled out/typed into if that particular radio button is chosen. Not to be able to be typed into if that particular radio button is not chosen as an answer to that question.
    How do I do that?
    Also how to I do the same for a text box to be entered into and typed into only if the accompanying checkbox is checked?
    Help?

    This forum is for the Adobe FormsCentral  (formscentral.adobe.com) which is a service that allows you to create,  collect and analyze data using an online web form. You should ask  Designer related form questions in the Designer forums: http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_des igner_es
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • Radio Buttons / Check box of Gui Transaction not displaying in WEB UI

    HI,
    We are using CRM 7.0 / ECC 6.0, i am launching some ECC transaction in WEB UI using transaction launcher, Radio button and Checkbox are displaying properly in Dev CRM system but it is not displaying in Quality system.
    I compared both systems, everything is the same. I also checked the ITS URL, we are using transaction IC_LTXE.
    /sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE&sap-client=100
    Please Advise ?.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    Hi,
    We are working on an upgrade project and have used transaction launcher to give SAP GUI transactions in Web UI.
    We are facing a similar issue.
    We have a report program with several checkboxes. User will select few checkbox and perform further processing.
    In development system it is working fine but in quality system if we scroll down or up after clicking on checkbox the page is getting refreshed and check is cleared.
    Did you come up with a reasonable solution to this issue?
    Do you know any way around this issue?
    Thanks in advance
    Regards,
    Sayan

  • Adding Radio button & regular button to selection-screen without new gui

    Hi,
    Is there a way to add a radio button & regular button to a selection-screen without having to create a new gui, status and etc?
    Thanks,
    John

    Hi
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 4(30) TEXT-001 FOR FIELD P_1.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: P_1 RADIOBUTTON GROUP R1 DEFAULT 'X'.
    SELECTION-SCREEN END   OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 4(30) TEXT-002 FOR FIELD P_2.
    SELECTION-SCREEN POSITION 1.
    PARAMETERS: P_2 RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END   OF LINE.
    Where the symbols text TEXT-001 and TEXT-002 have the label for the radiobuttons
    Max

  • Radio Buttons in Design Studio

    Hi Experts,
        Am new to Design Studio, I am middle of creating dashboard. here i have to use radio button which shows Value and Quantity. where as if i select value as  a radio button then my dash board should show only respective Graph and Cross Tab in case if the user selects Quantity then Quanity related Graph and Cross Tab should show . Kindly help me with guide lines.
    Thank you.
    Regards,
    Maruthi

    Thank you Tammy. i got the answer from the materials. Here instead of using two tabs or Tabstrip am using the Radiobutton. am able to accompish my task. this is how am using.
    if(RADIOBUTTONGROUP_1.getSelectedValue() =='Value')
    CHART_1.setVisible(true);
    CROSSTAB_1.setVisible(true);
    CHART_2.setVisible(false);
    CROSSTAB_2.setVisible(false);
    else
    CHART_1.setVisible(false);
    CROSSTAB_1.setVisible(false);
    CHART_2.setVisible(true);
    CROSSTAB_2.setVisible(true);

  • SetSelectedValue() on Radio Button only executes one time in Design Studio 1.2

    Using Design Studio 1.2 - I've placed an image on our dashboard that acts as refresh button.  When the image is clicked, two radio buttons on the screen should get reset to their default values.  The code only executes properly the first time, and any subsequent try does nothing.  Does anyone know why this might be happening?
    Step 1. Place the image on the screen
    Step 2. Add code to On Click event to change values of two Radio Buttons: RB_ORG_LEVEL and RB_YEAR.
    Step 3. Change values in both Radio Buttons to any value but their default value. 
    Step 4. Click the refresh image the first time, and both values get set back to their default values ("Entire Org" and "Current Year").
    Step 5. Click the refresh image the second time, and even though the code programmatically sets them to their default values ("Entire Org" and "Current Year"), the change doesn't occur. 

    Could you try this again with the latest Design Studio 1.2 SP2 ?  See http://service.sap.com/sap/support/notes/1962767

  • Good Java GUI Designer... & UML Eclipse Plugin...

    Hi,
    Im starting my final year project in september & while I have some free time I wanted to get prepared and set up my development environment.
    Im going to be using Eclipse for the IDE which is fine.
    But I need a GUI designer, so I can throw a GUI together quickly so I can get a prototype out for December.
    But I have searched High and Low for one and threre does not seem to be a decent (free) one about Jigloo seems to have problems on my mac and does not seems to be that good.
    Any suggestions?
    Also can anyone recommend and good UML plugin for eclipse?
    Message was edited by:
    ChrisUK

    Why not use Netbeans? I don't think you will find a better GUI builders than Matisse.
    I have used Jigloo, it is okay but I would rather build my GUI in Netbeans and then import my code to Eclipse.
    I have never used any UML plug-ins for Eclipse but I have used Poseidon which is free for non-commercial use and a pretty cool UML designer.
    http://www.gentleware.com/uml-software-community-edition.html
    http://www.netbeans.org/kb/41/flash-matisse.html

  • Adobe LiveCycle Designer 7 Radio Button Help

    HELP!!!
    I have a list of radio buttons which all denote a different value.
    How do I attach this value to each button, and then make the value of that button appear in a numeric field beside it and how can I de-select the button and its value?

    Radio buttons come in groups. In LiveCycle Designer, when you select a single button, you're selecting the entire group as far as the button values are concerned. Look on the Object window. You'll find a listing there of the radio button group values, and you can edit them.
    To get a value from a radio button just use the fields name.
    In JavaScript use this code for a Radio button group named MyRadio
    MyRadio.rawValue;
    You can find out more by watching this video:
    https://admin.adobe.acrobat.com/_a200985228/p87746471/
    Thom Parker
    WindJack Solutions
    www.windjack.com
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/

  • One pair of radio buttons to control multiple text objects - Designer 8.0

    Greetings - a big thank you in advance for any assistance. I have often found answers to my problems on this forum, but have been unable to find an answer to the following.
    The short of it - is it possible to make a pair of radio buttons control the visibility of multiple text objects with the same name(I have had success in manipulating only a single text object with one pair of buttons)?
    The long of it - I am trying to make a form bilingual based on the value of a radio button group to control the visibility of the text object in the selected language. When the user selects the language they wish to see, all the text objects in the form switch to that language. I am working with a dynamic PDF.
    I have succeeded to a very limited extent in manipulating one text object by overlaying text objects in both languages, setting one object to "invisible" as default, and controlling that text objects visibility with the following JavaScript in the click event of the radio button group:
    ----- form1.#subform[0].ENG_JPN::click: - (JavaScript, client) -------------------------------------
    if (ENG_JPN.rawValue == 1)///1 equals the value of on
    {English.presence = "visible";}
    else
    {English.presence = "invisible";}
    if (ENG_JPN.rawValue == 2)///2 equals the value of on
    {Japanese.presence = "visible";}
    else
    {Japanese.presence = "invisible";}
    endif
    The problem is I need to manipulate the visibility of all text objects with the same name on the form with a single radio button group. I have tried writing the code as one does for the sum of a repeating field, ie. English[*].presence etc. however I get a C++ error in preview.
    Any ideas are greatly appreciated. I am truly stumped - thank you for your time.

    To access objects with the same name you need to deal with occurance numbers. If your object is called TextField then the 1st occurance will be TextField[0], the second occurance will be TextField[1] etc.....
    The issue is that the [] in javascript are interpretted as an array element so you have to use the syntax: xfa.reolveNode("string") to get to your object names. In your case you would use:
    xfa.resolveNode("TextField[1]").presence = "visible"
    This string syntax allows you to use a var to hold the index number and is very useful with for loops where you want to set large numbers of objects. So if the index was held in the var i then your syntax would be:
    xfa.resolveNode("TextField[" + i + "]").presence = "visible"
    If the objects are in a repeating subform then the occurance numbers are on the subform and not the object. You can always get the expression to use by app.alert(objectname.somExpression). This will return the expression that you need to create.
    Make sense?

  • Connecting selection of radio button to a text or numeric field

    Hi. I am using LiveCycle Designer 8.0 and I am trying to define object properties that will allow the selection of a radio button to populate in a numeric data field at the bottom of the page. I was able to write the script to have that happen with drop-down lists, but I can't figure out how to write the script for the radio button. I also don't know if the script is supposed to apply to the radio button itself or the numeric field where I want the result to show-up. Can you please help me with some sort of an example script? Thanks.

    Hi Jen,
    I would recommend that you amend your workspace in Designer. You can show/hide palettes from the Window menu.
    Here are some pointers (which are optional):
    This is the hierarchy palette and is very handy when working with forms. You can select objects quickly and drag objects around.
    This is the Object palette, which makes it easy to drag objects onto the page.
    The main space with tabs for Design View, Master Pages, XML Source (you should not need this) and Preview.
    You can select objects in EITHER the page or the hierarchy view and then change properties in other palettes.
    The Script Editor is very important when you start to add functionality to your form. It is visible on your screen shot, but it is limited to one line in height. So I would recommend that you drag this down so that you can see a few lines of script. The Show dropdown in the Editor allows you to look at the script in various events. In the example I posted, there is script in the click event.
    Object palette (and Font & Paragraph palettes). These will allow you to make changes to various properties, depending on the object that is selected.
    You will see from the screenshot that you can position and stack the palettes to suite your screen and workflow.
    Now, in relation to your screenshot:
    You have selected a single radio button in your group. You need to select the whole exclusion group, this is easy in the hierarchy palette.
    In the Object > Binding palette you have ticked the Specify Item Values (good), but you need to edit the values to match the Display Items. For example for item "$85", the specified value should be "85".
    For starters, I would recommend that you open a few of the palettes and then have a look at my example and the screenshots. Hopefully that will clear it up for you.
    Niall

  • How do I disable one item in a radio buttons control at run time

    I need to disable one item in a radio buttons control. At design time
    this is possible, but how do I do this at run time? Is this possible? I
    cannot find a property per item

    Use the property "Controls[ ]" - this gives you an array with references of each single button in the radio buttons control. These you can access with property nodes too.
    Hope this helps.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Linking a radio button to a text field in a pdf form

    Forgive my ignorance but does anyone know how to link a radio button to a text field in an Acobat pdf form?
    I have a series of 4 radio buttons. If you click on one of them I would like to activate a text field which you then have to fill in. In addition it would be good to have it so that if you don't click on the radio button you're not able to fill in the associated text box.
    I am a designer not a programmer so I don't know much about javascript. Can anyone help?
    Many thanks

    You might want to look at Hiding and Showing Form Fields by Thom Parker. You might also want to clear the text field when the radio button changes.

Maybe you are looking for

  • Converting pic to line art

    I'm about to purchase some scale models I want to photograph, then turn the photos into line art so I can make alterations to them. Is it easier to turn a picture that is mostly white or very colorful into line art using Photoshop? Thanks guys!

  • Digital Sign into payload and other security doubts

    Hello experts, I have a RFC_to_SOAP scenario, and I have to digitally sign the information of the outbound payload (comming from the RFC sender) AND add it to the inbound payload (send it to the target web service, which imported wsdl file is forcing

  • While attempting to install Acrobat XI Pro (11.0.10) update, it stalls

    Acrobat XI Pro (11.0.00) said there was an update. So I clicked on it, downloaded it and have been attempting to install it. It goes through all the steps installing the update, until it gets to the "Status: Copying new files" and just stalls with "T

  • Transaction Code  to create new fonts.

    Hello, Please tell me a Transaction Code  to create new fonts. Regards, Roshan Lilaram Wadhwani.

  • FRM-41085 when launching form for running report in headstart

    I try to migrate headstart application built in developer 6i, using headstart 5.0 to run on the web, i.e. Oracle application server 10g.When I try to call report, form qms0012f should appear, but then error occurs: FRM-41085: variable global.cgnv_las