Package hec.dataTable

Class Title

All Implemented Interfaces:
G2dToolbarListener, ImageObserver, MenuContainer, Serializable, Observer, Accessible

public class Title extends G2dTitle
Class for Titles for the TableFrame.
See Also:
  • Constructor Details

    • Title

      public Title(HecDataTable table)
      Create a new Table Title using table
      Parameters:
      table -
  • Method Details

    • configureControls

      protected void configureControls()
      configure the controls for this component. Create listeners etc.
    • createPopup

      protected void createPopup()
      create the popup menu if not already created
    • editPropertiesAction

      public void editPropertiesAction()
      display the edit properties dialog
    • getText

      public String getText()
      get the text for this Title
      Overrides:
      getText in class G2dLabel
    • setText

      public void setText(String text)
      set the text for this Title. Also sets the Print Title for the table
      Overrides:
      setText in class G2dLabel
      Parameters:
      text - the new text
    • paintComponent

      public void paintComponent(Graphics g)
      overridden to call paintGfx(Graphics)
      Overrides:
      paintComponent in class G2dComponent