All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class ORG.opengroup.beans.Debug

java.lang.Object
    |
    +----ORG.opengroup.beans.Debug

public final class Debug
extends Object
implements Serializable
This bean supports debugging by class.


Constructor Index

 o Debug()
Default initialization

Method Index

 o getClass(int)
The name of the class type of the object at index i
 o getSize()
The number of objects being debugged
 o isDebug(Class)
Check if a class wants to be debugged
 o isDebug(Object)
Check if a class wants to be debugged
 o isDebug(String)
Check if a class wants to be debugged
 o println(Object, String)
Check if a class wants to be debugged
 o setClass(int, String)
The class type at index i in the vector containing the Debug classes
 o setSize(int)
The total number of objects that can be debugged

Constructors

 o Debug
public Debug()
Default initialization

Methods

 o isDebug
public static boolean isDebug(Class c)
Check if a class wants to be debugged

Parameters:
c - the class type
Returns:
true is the class is registered for debugging false otherwise
 o isDebug
public static boolean isDebug(String name)
Check if a class wants to be debugged

Parameters:
s - the component's name t
Returns:
true is the class is registered for debugging false otherwise
 o isDebug
public static boolean isDebug(Object self)
Check if a class wants to be debugged

Parameters:
self - the object to be debugged
Returns:
true is the class is registered for debugging false otherwise
 o println
public static void println(Object self,
                           String line)
Check if a class wants to be debugged

Parameters:
self - the object to be debugged
line - the statement to be printed if the self object is being debugged
Returns:
true is the class is registered for debugging false otherwise
 o getSize
public int getSize()
The number of objects being debugged

 o setSize
public void setSize(int s)
The total number of objects that can be debugged

 o getClass
public String getClass(int i) throws ArrayIndexOutOfBoundsException
The name of the class type of the object at index i

 o setClass
public void setClass(int i,
                     String s) throws ArrayIndexOutOfBoundsException
The class type at index i in the vector containing the Debug classes


All Packages  Class Hierarchy  This Package  Previous  Next  Index