Class MainFrameView

java.lang.Object
org.jrd.frontend.frame.main.MainFrameView

public class MainFrameView extends Object
  • Field Details

    • FS_VM_COMMAND

      public static final String FS_VM_COMMAND
      See Also:
    • REMOTE_VM_ACTION

      public static final String REMOTE_VM_ACTION
      See Also:
    • mainFrame

      private JFrame mainFrame
    • mainPanel

      private JPanel mainPanel
    • tabbedPane

      private JTabbedPane tabbedPane
    • localVmPanel

      private JPanel localVmPanel
    • localVmLabelPanel

      private JPanel localVmLabelPanel
    • forceNewAttach

      private JButton forceNewAttach
    • localVmButtonPanel

      private JPanel localVmButtonPanel
    • localVmRefreshButton

      private JButton localVmRefreshButton
    • localVmScrollPane

      private JScrollPane localVmScrollPane
    • localVmList

      private JList<VmInfo> localVmList
    • remoteVmPanel

      private JPanel remoteVmPanel
    • remoteVmLabelPanel

      private JPanel remoteVmLabelPanel
    • remoteVmButtonPanel

      private JPanel remoteVmButtonPanel
    • remoteVmDetach

      private JCheckBox remoteVmDetach
    • remoteVmAddButton

      private JButton remoteVmAddButton
    • remoteVmRemoveButton

      private JButton remoteVmRemoveButton
    • remoteVmScrollPane

      private JScrollPane remoteVmScrollPane
    • remoteVmList

      private JList<VmInfo> remoteVmList
    • fsVmPanel

      private JPanel fsVmPanel
    • fsVmLabelPanel

      private JPanel fsVmLabelPanel
    • fsVmButtonPanel

      private JPanel fsVmButtonPanel
    • fsVmAddButton

      private JButton fsVmAddButton
    • fsVmRemoveButton

      private JButton fsVmRemoveButton
    • fsVmScrollPane

      private JScrollPane fsVmScrollPane
    • fsVmList

      private JList<VmInfo> fsVmList
    • centerPanel

      private JPanel centerPanel
    • welcomePanel

      private JPanel welcomePanel
    • welcomeJTextArea

      private JTextArea welcomeJTextArea
    • bytecodeDecompilerView

      private BytecodeDecompilerView bytecodeDecompilerView
    • cardLayout

      private CardLayout cardLayout
    • jMenuConnect

      private JMenu jMenuConnect
    • jMenuItemNewConnection

      private JMenuItem jMenuItemNewConnection
    • jMenuStandaloneBytemanAgent

      private JMenuItem jMenuStandaloneBytemanAgent
    • openEditor

      private JMenuItem openEditor
    • jMenuConfig

      private JMenu jMenuConfig
    • jMenuSettings

      private JMenuItem jMenuSettings
    • jMenuPluginEditor

      private JMenuItem jMenuPluginEditor
    • jMenuOverrides

      private JMenuItem jMenuOverrides
    • jMenuAgents

      private JMenuItem jMenuAgents
    • jMenuHelp

      private JMenu jMenuHelp
    • jMenuItemAbout

      private JMenuItem jMenuItemAbout
    • jMenuItemUsage

      private JMenuItem jMenuItemUsage
    • jMenuItemLicense

      private JMenuItem jMenuItemLicense
    • jMenuItemLog

      private JMenuItem jMenuItemLog
    • vmChangingListener

      private ActionListener vmChangingListener
    • refreshLocalVmsListener

      private ActionListener refreshLocalVmsListener
    • newConnectionDialogListener

      private ActionListener newConnectionDialogListener
    • newFsVmDialogListener

      private ActionListener newFsVmDialogListener
    • removeVmDialogListener

      private ActionListener removeVmDialogListener
    • pluginConfigurationEditorListener

      private ActionListener pluginConfigurationEditorListener
    • haltAgentListener

      private ActionListener haltAgentListener
    • killAllSession

      private ActionListener killAllSession
    • manageOverrides

      private Runnable manageOverrides
    • manageAgents

      private Runnable manageAgents
    • BUTTON_SIZE

      private static final Dimension BUTTON_SIZE
    • WELCOME_CARD

      private static final String WELCOME_CARD
      See Also:
    • DECOMPILER_CARD

      private static final String DECOMPILER_CARD
      See Also:
    • WELCOME_MESSAGE

      private static final String WELCOME_MESSAGE
  • Constructor Details

    • MainFrameView

      public MainFrameView()
  • Method Details

    • getMainFrame

      public JFrame getMainFrame()
    • getBytecodeDecompilerView

      public BytecodeDecompilerView getBytecodeDecompilerView()
    • setHaltAgentListener

      public void setHaltAgentListener(ActionListener listener)
    • setKillAllSessionListener

      public void setKillAllSessionListener(ActionListener listener)
    • setVmChanging

      public void setVmChanging(ActionListener listener)
    • setMaintitle

      public void setMaintitle(String name)
    • getSelectedVm

      private String getSelectedVm()
    • decostatst

      private static String decostatst(VmDecompilerStatus vmDecompilerStatus)
    • setImageIcon

      private void setImageIcon()
    • clearLocalListSelection

      public void clearLocalListSelection()
    • clearRemoteListSelection

      public void clearRemoteListSelection()
    • switchPanel

      public void switchPanel(boolean isVmSelected)
      Switches centerPanel between decompiler view and welcome view.
      Parameters:
      isVmSelected - True - Decompiler view / False - Welcome view
    • sendHaltRequest

      private void sendHaltRequest()
    • setRefreshLocalVmsListener

      public void setRefreshLocalVmsListener(ActionListener listener)
    • setNewConnectionDialogListener

      public void setNewConnectionDialogListener(ActionListener listener)
    • setNewFsVmDialogListener

      public void setNewFsVmDialogListener(ActionListener newFsVmDialogListener)
    • setRemoveVmDialogListener

      public void setRemoveVmDialogListener(ActionListener removeVmDialogListener)
    • setPluginConfigurationEditorListener

      public void setPluginConfigurationEditorListener(ActionListener pluginConfigurationEditorListener)
    • setLocalVmList

      public void setLocalVmList(VmInfo[] vmInfos)
    • setRemoteVmList

      public void setRemoteVmList(VmInfo[] vmInfos)
    • setFsVmList

      public void setFsVmList(VmInfo[] vmInfos)
    • setManageOverrides

      public void setManageOverrides(Runnable action)
    • setManageAgents

      public void setManageAgents(Runnable action)
    • setVmList

      private void setVmList(JList<VmInfo> vmList, VmInfo[] vmInfos)
    • switchTabsToRemoteVms

      public void switchTabsToRemoteVms()