Package hec.gui

Class AbstractEditorPanel

All Implemented Interfaces:
PanelSelectorCard, ImageObserver, MenuContainer, Serializable, Accessible, Modifiable
Direct Known Subclasses:
AbstractEditorPanel, SelectorEditorPanel, StreamConversionPanel, StreamStationingPanel, TimeZonePanel

public abstract class AbstractEditorPanel extends EnabledJPanel implements PanelSelectorCard, Modifiable
Description of the Class
See Also:
  • Field Details

    • _alignment

      protected StreamAlignmentIfc _alignment
      Description of the Field
    • _modified

      protected boolean _modified
  • Constructor Details

    • AbstractEditorPanel

      public AbstractEditorPanel()
    • AbstractEditorPanel

      public AbstractEditorPanel(LayoutManager lm)
  • Method Details

    • setStreamAlignment

      public void setStreamAlignment(StreamAlignmentIfc alignment)
      Sets the StreamAlignment attribute of the AbstractEditorPanel object

      Parameters:
      alignment - The new StreamAlignment value
    • getTabname

      public abstract String getTabname()
      Gets the Tabname attribute of the AbstractEditorPanel object

      Specified by:
      getTabname in interface PanelSelectorCard
      Returns:
      The Tabname value
    • getPanelMenus

      public Vector getPanelMenus()
      Returns a list of Menus that can be put in the dialogs Menu Bar

      Returns:
      The PanelMenus value
    • fillPanel

      public abstract void fillPanel(NamedType dobj)
      Description of the Method

      Parameters:
      dobj - Description of Parameter
    • savePanel

      public boolean savePanel()
      Description of the Method
    • savePanel

      public abstract boolean savePanel(NamedType dobj)
    • getParentWindow

      protected Window getParentWindow()
      Returns the window that contains this object. If the component does not belong to a window, null is returned.

      Returns:
      The ParentWindow value
    • undoEdits

      public void undoEdits()
    • isModified

      public boolean isModified()
      Specified by:
      isModified in interface Modifiable
    • setModified

      public void setModified(boolean modified)
      Specified by:
      setModified in interface Modifiable
    • setIgnoreModifiedEvents

      public void setIgnoreModifiedEvents(boolean ignore)
    • isIgnoringModifiedEvents

      public boolean isIgnoringModifiedEvents()
    • getToolTipText

      public String getToolTipText(MouseEvent e)
      Overrides:
      getToolTipText in class EnabledJPanel