Class RadioGroupWidget

java.lang.Object
org.dawnsci.common.widgets.radio.RadioGroupWidget

public class RadioGroupWidget extends Object
Creates a set of Radio buttons given a list of Actions
  • Constructor Summary

    Constructors
    Constructor
    Description
    RadioGroupWidget(org.eclipse.swt.widgets.Widget parent)
    Create a set of Radio buttons given a list of Actions
    The radio button text is coming from the text defined for each action, so is the ToolTipText.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<? extends org.eclipse.swt.widgets.Widget>
     
    void
    setActions(List<org.eclipse.jface.action.Action> actions)
    Creates a list of Actions as Menu items or Buttons given the parent Widget
    The radio item text is coming from the text defined for each action
    void
    setActions(List<org.eclipse.jface.action.Action> actions, boolean repectCurrentSelections)
    Creates a list of Actions as Menu items or Buttons given the parent Widget
    The radio item text is coming from the text defined for each action
    void
    setEnabled(boolean b)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RadioGroupWidget

      public RadioGroupWidget(org.eclipse.swt.widgets.Widget parent)
      Create a set of Radio buttons given a list of Actions
      The radio button text is coming from the text defined for each action, so is the ToolTipText.
      Parameters:
      parent - can be a Composite or a Menu
  • Method Details

    • setActions

      public void setActions(List<org.eclipse.jface.action.Action> actions)
      Creates a list of Actions as Menu items or Buttons given the parent Widget
      The radio item text is coming from the text defined for each action
      Parameters:
      actions -
    • setActions

      public void setActions(List<org.eclipse.jface.action.Action> actions, boolean repectCurrentSelections)
      Creates a list of Actions as Menu items or Buttons given the parent Widget
      The radio item text is coming from the text defined for each action
      Parameters:
      actions -
    • getRadiosList

      public List<? extends org.eclipse.swt.widgets.Widget> getRadiosList()
    • setEnabled

      public void setEnabled(boolean b)