Class SystemInfoPanel

    • Field Detail

      • m_TableModel

        protected MapTableModel m_TableModel
        the table model displaying the data.
      • m_PanelSearch

        protected SearchPanel m_PanelSearch
        the search panel.
      • m_SystemInfo

        protected SystemInfo m_SystemInfo
        the hashtable containing the information.
      • m_MenuBar

        protected JMenuBar m_MenuBar
        the menu bar.
      • m_MenuItemFileSaveAs

        protected JMenuItem m_MenuItemFileSaveAs
        the save as menu item.
      • m_MenuItemEditCopy

        protected JMenuItem m_MenuItemEditCopy
        the copy menu item.
      • m_MenuItemEditSelectAll

        protected JMenuItem m_MenuItemEditSelectAll
        the select all menu item.
      • m_FileChooser

        protected BaseFileChooser m_FileChooser
        the file chooser for saving the system info data.
    • Constructor Detail

      • SystemInfoPanel

        public SystemInfoPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • getPopupMenu

        protected BasePopupMenu getPopupMenu​(int row)
        Returns a popup menu if appropriate.
        Parameters:
        row - the row that got the click
        Returns:
        the menu if appropriate, otherwise null
      • getMenuBar

        public JMenuBar getMenuBar()
        Creates a menu bar (singleton per panel object). Can be used in frames.
        Specified by:
        getMenuBar in interface MenuBarProvider
        Returns:
        the menu bar
      • runJMap

        protected void runJMap​(int pid)
        Runs jmap and displays the result.
        Parameters:
        pid - the pid to run jmap on
      • runJVisualVM

        protected void runJVisualVM​(int pid)
        Starts up jvisualvm.
        Parameters:
        pid - the pid to run jvisualvm on
      • runJConsole

        protected void runJConsole​(int pid)
        Starts up jconsole.
        Parameters:
        pid - the pid to run jconsole on
      • getContent

        public SpreadSheet getContent()
        Generates a spreadsheet object from the system info data table.
        Returns:
        the generated spreadsheet
      • saveAs

        protected void saveAs()
        Saves the table content as CSV file.
      • hasSendToItem

        public boolean hasSendToItem​(Class[] cls)
        Checks whether something to send is available.
        Specified by:
        hasSendToItem in interface SendToActionSupporter
        Parameters:
        cls - the requested classes
        Returns:
        true if an object is available for sending