Class BytecodeDecompilerView


  • public class BytecodeDecompilerView
    extends java.lang.Object
    Class that creates GUI for attached VM.
    • Field Detail

      • BytecodeDecompilerPanel

        private javax.swing.JPanel BytecodeDecompilerPanel
      • srcBin

        private final javax.swing.JTabbedPane srcBin
      • splitPane

        private javax.swing.JSplitPane splitPane
      • leftMainPanel

        private javax.swing.JPanel leftMainPanel
      • classesSortField

        private javax.swing.JTextField classesSortField
      • classesSortFieldColor

        private final java.awt.Color classesSortFieldColor
      • searchCodeField

        private javax.swing.JTextField searchCodeField
      • topComboBox

        private javax.swing.JComboBox topComboBox
      • classesPanel

        private javax.swing.JPanel classesPanel
      • rightMainPanel

        private javax.swing.JPanel rightMainPanel
      • rightBin

        private javax.swing.JPanel rightBin
      • leftScrollPanel

        private javax.swing.JScrollPane leftScrollPanel
      • filteredClassesJlist

        private javax.swing.JList<java.lang.String> filteredClassesJlist
      • bytecodeScrollPane

        private javax.swing.JScrollPane bytecodeScrollPane
      • bytecodeSyntaxTextArea

        private javax.swing.JTextArea bytecodeSyntaxTextArea
      • hexControls

        private javax.swing.JPanel hexControls
      • lastDecompiledClass

        private java.lang.String lastDecompiledClass
      • bytesActionListener

        private java.awt.event.ActionListener bytesActionListener
      • classesActionListener

        private java.awt.event.ActionListener classesActionListener
      • classes

        private java.lang.String[] classes
      • splitPaneFirstResize

        private boolean splitPaneFirstResize
    • Constructor Detail

      • BytecodeDecompilerView

        public BytecodeDecompilerView()
    • Method Detail

      • getBytecodeDecompilerPanel

        public javax.swing.JPanel getBytecodeDecompilerPanel()
        Constructor creates the graphics and adds the action listeners.
        Returns:
        BytecodeDecompilerPanel
      • styleTooltip

        public static java.lang.String styleTooltip()
      • updateClassList

        private void updateClassList()
      • reloadClassList

        public void reloadClassList​(java.lang.String[] classesToReload)
        Sets the unfiltered class list array and invokes an update.
        Parameters:
        classesToReload - String[] classesToReload.
      • reloadTextField

        public void reloadTextField​(java.lang.String name,
                                    java.lang.String decompiledClass,
                                    byte[] source)
        Sets the decompiled code into JTextArea
        Parameters:
        decompiledClass - String of source code of decompiler class
      • setDecompiledClass

        private void setDecompiledClass​(java.lang.String name,
                                        java.lang.String data,
                                        byte[] source)
      • setClassesActionListener

        public void setClassesActionListener​(java.awt.event.ActionListener listener)
      • setBytesActionListener

        public void setBytesActionListener​(java.awt.event.ActionListener listener)
      • handleError

        public void handleError​(java.lang.String msg)
        Creates a warning table in case of error.
        Parameters:
        msg - message
      • searchCode

        private void searchCode()
        Search string in decompiled code
      • classWorker

        private void classWorker​(java.lang.String name)