Package hec.server

Class NameSelectorDialog

All Implemented Interfaces:
ActionListener, ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, Modifiable

public class NameSelectorDialog extends RmaJDialog implements ActionListener
See Also:
  • Constructor Details

    • NameSelectorDialog

      public NameSelectorDialog(Frame parent, boolean modal)
    • NameSelectorDialog

      public NameSelectorDialog(Dialog parent, boolean modal)
    • NameSelectorDialog

      public NameSelectorDialog(Frame parent, String title, boolean modal)
    • NameSelectorDialog

      public NameSelectorDialog(Dialog parent, String title, boolean modal)
  • Method Details

    • createControls

      protected void createControls()
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Intercepts all action messages and routes them to the correct handler
      Specified by:
      actionPerformed in interface ActionListener
    • setNameLabels

      public void setNameLabels(String[] labels)
      Sets the name labels in the drop down box
    • isCanceled

      public boolean isCanceled()
      Returns the cancels variable that tells weather the dialog was canceled or not
    • getLabel

      public String getLabel()
      Returns the Item selected in the drop down box
    • getNewLabel

      public String getNewLabel()
      Returns the Item in the "To:" text field
    • getDescription

      public String getDescription()
      Returns the Item in the "Description:" Text Field
    • hideDescription

      public void hideDescription()
      Hides the Description Box from the User