Class SetValueDialog


  • public class SetValueDialog
    extends java.lang.Object
    Displays a modal dialog used to edit the value of key-value pairs.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Object CANCEL_OPTION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object show​(java.awt.Component parent, java.lang.String name)
      Display a modal edit dialog.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CANCEL_OPTION

        public static final java.lang.Object CANCEL_OPTION
    • Constructor Detail

      • SetValueDialog

        public SetValueDialog​(ClientContext context)
    • Method Detail

      • show

        public java.lang.Object show​(java.awt.Component parent,
                                     java.lang.String name)
        Display a modal edit dialog.
        Parameters:
        parent - the component to center on, or null
        name - the variable/key name of this value
        Returns:
        a value from the expression parsed in the text editor, or SetValueDialog.CANCEL_OPTION if the dialog was closed/canceled.