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.
Debug()
- Default initialization
getClass(int)
- The name of the class type of the object at index i
getSize()
- The number of objects being debugged
isDebug(Class)
- Check if a class wants to be debugged
isDebug(Object)
- Check if a class wants to be debugged
isDebug(String)
- Check if a class wants to be debugged
println(Object, String)
- Check if a class wants to be debugged
setClass(int, String)
- The class type at index i in the vector containing the
Debug classes
setSize(int)
- The total number of objects that can be debugged
Debug
public Debug()
- Default initialization
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
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
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
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
getSize
public int getSize()
- The number of objects being debugged
setSize
public void setSize(int s)
- The total number of objects that can be debugged
getClass
public String getClass(int i) throws ArrayIndexOutOfBoundsException
- The name of the class type of the object at index i
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