Class RmaJTableFillDialog

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

public class RmaJTableFillDialog extends RmaJDialog
dialog used for the RmaJTable fill operations
See Also:
  • Constructor Details

    • RmaJTableFillDialog

      protected RmaJTableFillDialog(Frame frame, RmaJTable table)
    • RmaJTableFillDialog

      protected RmaJTableFillDialog(Dialog dialog, RmaJTable table)
  • Method Details

    • getFillDialog

      public static RmaJTableFillDialog getFillDialog(RmaJTable table)
    • buildControls

      protected JPanel buildControls()
    • addListeners

      protected void addListeners()
      add the component listeners
    • isCanceled

      public boolean isCanceled()
    • fillTable

      protected boolean fillTable()
    • getButtonGroup

      protected final ButtonGroup getButtonGroup()
    • setSelectedColumn

      public void setSelectedColumn(int column)
    • setVisible

      public void setVisible(boolean visible)
      Description copied from class: RmaJDialog
      make sure the ok button is the default button when the dialog comes up.
      Overrides:
      setVisible in class RmaJDialog
      Parameters:
      visible - if true, makes the Dialog visible, otherwise hides the Dialog. If the dialog and/or its owner are not yet displayable, both are made displayable. The dialog will be validated prior to being made visible. If false, hides the Dialog and then causes setVisible(true) to return if it is currently blocked.

      Notes for modal dialogs.

      • setVisible(true): If the dialog is not already visible, this call will not return until the dialog is hidden by calling setVisible(false) or dispose.
      • setVisible(false): Hides the dialog and then returns on setVisible(true) if it is currently blocked.
      • It is OK to call this method from the event dispatching thread because the toolkit ensures that other events are not blocked while this method is blocked.
    • setRowDate

      public void setRowDate(hec.heclib.util.HecTime rowDate)
      Sets the date for the specified row in the JTable fill dialog. Updates the relevant text field in the dialog with the formatted date and time.
      Parameters:
      rowDate - the HecTime object representing the date and time to be set; if null, no action is taken.