Class InstanceInfoFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, InstanceInfo

public class InstanceInfoFrame extends JFrame implements InstanceInfo
Frame for displaying information on the displayed data.
Version:
$Revision: 8034 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • InstanceInfoFrame

      public InstanceInfoFrame()
      Initializes the frame.
  • Method Details

    • setInfoText

      public void setInfoText(String text)
      Sets the text to display.
      Specified by:
      setInfoText in interface InstanceInfo
      Parameters:
      text - the text to display
    • getInfoText

      public String getInfoText()
      Returns the currently displayed info text.
      Specified by:
      getInfoText in interface InstanceInfo
      Returns:
      the info text
    • setInfoData

      public void setInfoData(Vector<Instances> data)
      Sets the underlying data.
      Specified by:
      setInfoData in interface InstanceInfo
      Parameters:
      data - the data of the info text
    • getInfoData

      public Vector<Instances> getInfoData()
      Returns the underlying data.
      Specified by:
      getInfoData in interface InstanceInfo
      Returns:
      the data of the info text, can be null