Top Description Inners Fields Constructors Methods
org.apache.bcel.verifier

public Class VerifyDialog

extends JDialog
Class Inheritance
Imports
java.awt.Color, .Dialog, .Frame, .SystemColor, java.awt.event.ActionEvent, .ActionListener, .WindowAdapter, .WindowEvent, javax.swing.JButton, .JDialog, .JPanel, .WindowConstants, org.apache.bcel.Repository, org.apache.bcel.classfile.JavaClass, .Utility

A class for simple graphical class file verification. Use the main(String []) method with fully qualified class names as arguments to use it as a stand-alone application. Use the VerifyDialog(String) constructor to use this class in your application. [This class was created using VisualAge for Java, but it does not work under VAJ itself (Version 3.02 JDK 1.2)]
See Also
main(String[]), VerifyDialog(String)

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
VerifyDialog.IvjEventHandler

Machine-generated, made final.

Field Summary

Modifier and TypeField and Description
private static int
classesToVerify

This field is here to count the number of open VerifyDialog instances so the JVM can be exited afer every Dialog had been closed.

private String
className

The class to verify.

private final VerifyDialog.IvjEventHandler
ivjEventHandler

Machine-generated.

private JButton
ivjFlushButton

Machine-generated.

private JPanel
ivjJDialogContentPane

Machine-generated.

private JButton
ivjPass1Button

Machine-generated.

private JPanel
ivjPass1Panel

Machine-generated.

private JButton
ivjPass2Button

Machine-generated.

private JPanel
ivjPass2Panel

Machine-generated.

private JButton
ivjPass3Button

Machine-generated.

private JPanel
ivjPass3Panel

Machine-generated.

private static final long
Inherited from javax.swing.JDialog:
accessibleContextrootPanerootPaneCheckingEnabled

Constructor Summary

AccessConstructor and Description
public
VerifyDialog()

Machine-generated.

public
VerifyDialog(final Dialog owner)

Machine-generated.

public
VerifyDialog(final Dialog owner, final boolean modal)

Machine-generated.

public
VerifyDialog(final Dialog owner, final String title)

Machine-generated.

public
VerifyDialog(final Dialog owner, final String title, final boolean modal)

Machine-generated.

public
VerifyDialog(final Frame owner)

Machine-generated.

public
VerifyDialog(final Frame owner, final boolean modal)

Machine-generated.

public
VerifyDialog(final Frame owner, final String title)

Machine-generated.

public
VerifyDialog(final Frame owner, final String title, final boolean modal)

Machine-generated.

public
VerifyDialog(String
"java.lang.String"
fullyQualifiedClassName
)

Use this constructor if you want a possibility to verify other class files than Object.

Method Summary

Modifier and TypeMethod and Description
private void
connEtoC1(final ActionEvent arg1)

Machine-generated.

private void
connEtoC2(final ActionEvent arg1)

Machine-generated.

private void
connEtoC3(final ActionEvent arg1)

Machine-generated.

private void
connEtoC4(final ActionEvent arg1)

Machine-generated.

public void
flushButton_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

private JButton
getFlushButton()

Machine-generated.

private JPanel
getJDialogContentPane()

Machine-generated.

private JButton
getPass1Button()

Machine-generated.

private JPanel
getPass1Panel()

Machine-generated.

private JButton
getPass2Button()

Machine-generated.

private JPanel
getPass2Panel()

Machine-generated.

private JButton
getPass3Button()

Machine-generated.

private JPanel
getPass3Panel()

Machine-generated.

private void
handleException(final Throwable exception)

Machine-generated.

private void
initConnections()

Machine-generated.

private void
initialize()

Machine-generated.

public static void
main(final String[]
String[] fully qualified names of classes to verify.
args
)

Verifies one or more class files.

public void
pass1Button_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

public void
pass2Button_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

public void
pass4Button_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

Inherited from javax.swing.JDialog:
addImplcreateRootPanedialogInitgetAccessibleContextgetContentPanegetDefaultCloseOperationgetGlassPanegetGraphicsgetJMenuBargetLayeredPanegetRootPanegetTransferHandlerisDefaultLookAndFeelDecoratedisRootPaneCheckingEnabledparamStringprocessWindowEventremoverepaintsetContentPanesetDefaultCloseOperationsetDefaultLookAndFeelDecoratedsetGlassPanesetJMenuBarsetLayeredPanesetLayoutsetRootPanesetRootPaneCheckingEnabledsetTransferHandlerupdate

Field Detail

classesToVerifyback to summary
private static int classesToVerify

This field is here to count the number of open VerifyDialog instances so the JVM can be exited afer every Dialog had been closed.

classNameback to summary
private String className

The class to verify. Default set to 'java.lang.Object' in case this class is instantiated via one of the many machine-generated constructors.

ivjEventHandlerback to summary
private final VerifyDialog.IvjEventHandler ivjEventHandler

Machine-generated.

ivjFlushButtonback to summary
private JButton ivjFlushButton

Machine-generated.

ivjJDialogContentPaneback to summary
private JPanel ivjJDialogContentPane

Machine-generated.

ivjPass1Buttonback to summary
private JButton ivjPass1Button

Machine-generated.

ivjPass1Panelback to summary
private JPanel ivjPass1Panel

Machine-generated.

ivjPass2Buttonback to summary
private JButton ivjPass2Button

Machine-generated.

ivjPass2Panelback to summary
private JPanel ivjPass2Panel

Machine-generated.

ivjPass3Buttonback to summary
private JButton ivjPass3Button

Machine-generated.

ivjPass3Panelback to summary
private JPanel ivjPass3Panel

Machine-generated.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.awt.Dialog.serialVersionUID.

Constructor Detail

VerifyDialogback to summary
public VerifyDialog()

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Dialog owner)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Dialog owner, final boolean modal)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Dialog owner, final String title)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Dialog owner, final String title, final boolean modal)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Frame owner)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Frame owner, final boolean modal)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Frame owner, final String title)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(final Frame owner, final String title, final boolean modal)

Machine-generated.

VerifyDialogback to summary
public VerifyDialog(String fullyQualifiedClassName)

Use this constructor if you want a possibility to verify other class files than Object.

Parameters
fullyQualifiedClassName:String

"java.lang.String"

Method Detail

connEtoC1back to summary
private void connEtoC1(final ActionEvent arg1)

Machine-generated.

connEtoC2back to summary
private void connEtoC2(final ActionEvent arg1)

Machine-generated.

connEtoC3back to summary
private void connEtoC3(final ActionEvent arg1)

Machine-generated.

connEtoC4back to summary
private void connEtoC4(final ActionEvent arg1)

Machine-generated.

flushButton_ActionPerformedback to summary
public void flushButton_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

getFlushButtonback to summary
private JButton getFlushButton()

Machine-generated.

getJDialogContentPaneback to summary
private JPanel getJDialogContentPane()

Machine-generated.

getPass1Buttonback to summary
private JButton getPass1Button()

Machine-generated.

getPass1Panelback to summary
private JPanel getPass1Panel()

Machine-generated.

getPass2Buttonback to summary
private JButton getPass2Button()

Machine-generated.

getPass2Panelback to summary
private JPanel getPass2Panel()

Machine-generated.

getPass3Buttonback to summary
private JButton getPass3Button()

Machine-generated.

getPass3Panelback to summary
private JPanel getPass3Panel()

Machine-generated.

handleExceptionback to summary
private void handleException(final Throwable exception)

Machine-generated.

initConnectionsback to summary
private void initConnections()

Machine-generated.

initializeback to summary
private void initialize()

Machine-generated.

mainback to summary
public static void main(final String[] args)

Verifies one or more class files. Verification results are presented graphically: Red means 'rejected', green means 'passed' while yellow means 'could not be verified yet'.

Parameters
args:String[]

String[] fully qualified names of classes to verify.

pass1Button_ActionPerformedback to summary
public void pass1Button_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

pass2Button_ActionPerformedback to summary
public void pass2Button_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

pass4Button_ActionPerformedback to summary
public void pass4Button_ActionPerformed(final ActionEvent actionEvent)

Machine-generated.

org.apache.bcel.verifier back to summary

pack-priv final Class VerifyDialog.IvjEventHandler

extends Object
implements ActionListener
Class Inheritance
All Implemented Interfaces
java.awt.event.ActionListener, java.util.EventListener

Machine-generated, made final.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
actionPerformed(final ActionEvent
the event to be processed
e
)

Implements java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IvjEventHandlerback to summary
pack-priv IvjEventHandler()

Method Detail

actionPerformedback to summary
public void actionPerformed(final ActionEvent e)

Implements java.awt.event.ActionListener.actionPerformed.

Doc from java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

Parameters
e:ActionEvent

the event to be processed

Annotations
@Override