public class BytecodeDecompilerView
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private javax.swing.JPanel |
BytecodeDecompilerPanel |
private javax.swing.JScrollPane |
bytecodeScrollPane |
private javax.swing.JTextArea |
bytecodeSyntaxTextArea |
private java.awt.event.ActionListener |
bytesActionListener |
private java.lang.String[] |
classes |
private java.awt.event.ActionListener |
classesActionListener |
private javax.swing.JPanel |
classesPanel |
private javax.swing.JTextField |
classesSortField |
private javax.swing.JList<java.lang.String> |
filteredClassesJlist |
private javax.swing.JPanel |
leftMainPanel |
private javax.swing.JScrollPane |
leftScrollPanel |
private java.awt.event.ActionListener |
rewriteActionListener |
private javax.swing.JPanel |
rightMainPanel |
private javax.swing.JSplitPane |
splitPane |
private boolean |
splitPaneFirstResize |
private javax.swing.JComboBox |
topComboBox |
Constructor and Description |
---|
BytecodeDecompilerView() |
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
getBytecodeDecompilerPanel()
Constructor creates the graphics and adds the action listeners.
|
DecompilerWrapperInformation |
getSelecteddecompilerWrapperInformation() |
void |
handleError(java.lang.String msg)
Creates a warning table in case of error.
|
void |
refreshComboBox(java.util.List<DecompilerWrapperInformation> wrappers) |
void |
reloadClassList(java.lang.String[] classesToReload)
Sets the unfiltered class list array and invokes an update.
|
void |
reloadTextField(java.lang.String decompiledClass)
Sets the decompiled code into JTextArea
|
void |
setBytesActionListener(java.awt.event.ActionListener listener) |
void |
setClassesActionListener(java.awt.event.ActionListener listener) |
void |
setRewriteActionListener(java.awt.event.ActionListener rewriteActionListener) |
private void |
updateClassList() |
private javax.swing.JPanel BytecodeDecompilerPanel
private javax.swing.JSplitPane splitPane
private javax.swing.JPanel leftMainPanel
private javax.swing.JTextField classesSortField
private javax.swing.JComboBox topComboBox
private javax.swing.JPanel classesPanel
private javax.swing.JPanel rightMainPanel
private javax.swing.JScrollPane leftScrollPanel
private javax.swing.JList<java.lang.String> filteredClassesJlist
private javax.swing.JScrollPane bytecodeScrollPane
private javax.swing.JTextArea bytecodeSyntaxTextArea
private java.awt.event.ActionListener bytesActionListener
private java.awt.event.ActionListener classesActionListener
private java.awt.event.ActionListener rewriteActionListener
private java.lang.String[] classes
private boolean splitPaneFirstResize
public javax.swing.JPanel getBytecodeDecompilerPanel()
private void updateClassList()
public void reloadClassList(java.lang.String[] classesToReload)
classesToReload
- public void reloadTextField(java.lang.String decompiledClass)
decompiledClass
- String of source code of decompiler classpublic void setClassesActionListener(java.awt.event.ActionListener listener)
public void setBytesActionListener(java.awt.event.ActionListener listener)
public void setRewriteActionListener(java.awt.event.ActionListener rewriteActionListener)
public void handleError(java.lang.String msg)
msg
- messagepublic void refreshComboBox(java.util.List<DecompilerWrapperInformation> wrappers)
public DecompilerWrapperInformation getSelecteddecompilerWrapperInformation()