Class ChoiceItem

java.lang.Object
org.eclipse.nebula.widgets.opal.dialog.ChoiceItem

public class ChoiceItem
extends java.lang.Object
Instances of this class are choice items used by the choice widget
  • Constructor Summary

    Constructors 
    Constructor Description
    ChoiceItem​(java.lang.String instruction)
    Constructor
    ChoiceItem​(java.lang.String instruction, java.lang.String text)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getInstruction()  
    java.lang.String getText()  

    Methods inherited from class java.lang.Object

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

    • ChoiceItem

      public ChoiceItem​(java.lang.String instruction, java.lang.String text)
      Constructor
      Parameters:
      instruction - instruction of the choice
      text - text displayed under the instruction
    • ChoiceItem

      public ChoiceItem​(java.lang.String instruction)
      Constructor
      Parameters:
      instruction - instruction
  • Method Details

    • getInstruction

      public java.lang.String getInstruction()
      Returns:
      the instruction
    • getText

      public java.lang.String getText()
      Returns:
      the text