|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Class | |
java.awt | |
java.beans | |
java.io | |
java.lang | |
java.util |
Uses of Class in java.awt |
Methods in java.awt with parameters of type Class | |
java.awt.dnd.DragGestureRecognizer |
Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass,
java.awt.dnd.DragSource ds,
Component c,
int srcActions,
java.awt.dnd.DragGestureListener dgl)
create a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associate it with the DragSource, Component and DragGestureListener specified subclasses should override this to provide their own implementation |
Uses of Class in java.beans |
Fields in java.beans declared as Class | |
private Class |
PropertyDescriptor.propertyType
|
private Class |
PropertyDescriptor.propertyEditorClass
|
private Class |
IndexedPropertyDescriptor.indexedPropertyType
|
private Class |
BeanDescriptor.beanClass
|
private Class |
BeanDescriptor.customizerClass
|
private Class |
Introspector.beanClass
|
private static Class |
Introspector.eventListenerType
|
private Class |
EventSetDescriptor.listenerType
|
Methods in java.beans that return Class | |
Class |
PropertyDescriptor.getPropertyType()
Gets the Class object for the property. |
Class |
PropertyDescriptor.getPropertyEditorClass()
Gets any explicit PropertyEditor Class that has been registered for this property. |
Class |
IndexedPropertyDescriptor.getIndexedPropertyType()
Gets the Class object of the indexed properties' type. |
Class |
BeanDescriptor.getBeanClass()
Gets the bean's Class object. |
Class |
BeanDescriptor.getCustomizerClass()
Gets the Class object for the bean's customizer. |
private Class |
ObjectInputStreamWithLoader.primitiveType(char type)
Make a primitive array class |
protected Class |
ObjectInputStreamWithLoader.resolveClass(ObjectStreamClass classDesc)
Use the given ClassLoader rather than using the system class |
Class |
EventSetDescriptor.getListenerType()
Gets the Class object for the target interface. |
Methods in java.beans with parameters of type Class | |
static void |
PropertyEditorManager.registerEditor(Class targetType,
Class editorClass)
Register an editor class to be used to editor values of a given target class. |
static PropertyEditor |
PropertyEditorManager.findEditor(Class targetType)
Locate a value editor for a given target type. |
private static void |
PropertyEditorManager.load(Class targetType,
String name)
|
void |
PropertyDescriptor.setPropertyEditorClass(Class propertyEditorClass)
Normally PropertyEditors will be found using the PropertyEditorManager. |
static Object |
Beans.getInstanceOf(Object bean,
Class targetType)
From a given bean, obtain an object representing a specified type view of that source object. |
static boolean |
Beans.isInstanceOf(Object bean,
Class targetType)
Check if a bean can be viewed as a given target type. |
static BeanInfo |
Introspector.getBeanInfo(Class beanClass)
Introspect on a Java bean and learn about all its properties, exposed methods, and events. |
static BeanInfo |
Introspector.getBeanInfo(Class beanClass,
int flags)
Introspect on a Java bean and learn about all its properties, exposed methods, and events, subnject to some comtrol flags. |
static BeanInfo |
Introspector.getBeanInfo(Class beanClass,
Class stopClass)
Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point. |
static void |
Introspector.flushFromCaches(Class clz)
Flush the Introspector's internal cached information for a given class. |
private static BeanInfo |
Introspector.findInformant(Class beanClass)
|
private static java.lang.reflect.Method[] |
Introspector.getPublicDeclaredMethods(Class clz)
|
private static java.lang.reflect.Method |
Introspector.internalFindMethod(Class start,
String methodName,
int argCount)
Internal support for finding a target methodName on a given class. |
(package private) static java.lang.reflect.Method |
Introspector.findMethod(Class cls,
String methodName,
int argCount)
Find a target methodName on a given class. |
(package private) static boolean |
Introspector.isSubclass(Class a,
Class b)
Return true if class a is either equivalent to class b, or if class a is a subclass of class b, i.e. |
private boolean |
Introspector.throwsException(java.lang.reflect.Method method,
Class exception)
Return true iff the given method throws the given exception. |
(package private) static Object |
Introspector.instantiate(Class sibling,
String className)
Try to create an instance of a named class. |
Constructors in java.beans with parameters of type Class | |
PropertyDescriptor.PropertyDescriptor(String propertyName,
Class beanClass)
Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods. |
|
PropertyDescriptor.PropertyDescriptor(String propertyName,
Class beanClass,
String getterName,
String setterName)
This constructor takes the name of a simple property, and method names for reading and writing the property. |
|
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName,
Class beanClass)
This constructor constructs an IndexedPropertyDescriptor for a property that follows the standard Java conventions by having getFoo and setFoo accessor methods, for both indexed access and array access. |
|
IndexedPropertyDescriptor.IndexedPropertyDescriptor(String propertyName,
Class beanClass,
String getterName,
String setterName,
String indexedGetterName,
String indexedSetterName)
This constructor takes the name of a simple property, and method names for reading and writing the property, both indexed and non-indexed. |
|
BeanDescriptor.BeanDescriptor(Class beanClass)
Create a BeanDescriptor for a bean that doesn't have a customizer. |
|
BeanDescriptor.BeanDescriptor(Class beanClass,
Class customizerClass)
Create a BeanDescriptor for a bean that has a customizer. |
|
Introspector.Introspector(Class beanClass,
Class stopClass,
int flags)
|
|
EventSetDescriptor.EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String listenerMethodName)
This constructor creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method. |
|
EventSetDescriptor.EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor.EventSetDescriptor(String eventSetName,
Class listenerType,
java.lang.reflect.Method[] listenerMethods,
java.lang.reflect.Method addListenerMethod,
java.lang.reflect.Method removeListenerMethod)
This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
|
EventSetDescriptor.EventSetDescriptor(String eventSetName,
Class listenerType,
MethodDescriptor[] listenerMethodDescriptors,
java.lang.reflect.Method addListenerMethod,
java.lang.reflect.Method removeListenerMethod)
This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects. |
Uses of Class in java.io |
Fields in java.io declared as Class | |
private Class |
ObjectStreamField.clazz
|
private Class |
ObjectStreamClass.ofClass
|
private static Class[] |
ObjectStreamClass.NULL_ARGS
|
private static Class[] |
ObjectStreamClass.OIS_ARGS
|
private static Class[] |
ObjectStreamClass.OOS_ARGS
|
private Class |
ObjectInputStream.currentClass
|
(package private) Class[] |
ObjectInputStream.classes
|
Methods in java.io that return Class | |
Class |
ObjectStreamField.getType()
Get the type of the field. |
Class |
ObjectStreamClass.forClass()
Return the class in the local VM that this version is mapped to. |
protected Class |
ObjectInputStream.resolveClass(ObjectStreamClass v)
Load the local class equivalent of the specified stream class description. |
private Class |
ObjectInputStream.loadClass0(Class cl,
String classname)
|
Methods in java.io with parameters of type Class | |
private boolean |
ObjectOutputStream.checkSubstitutableSpecialClasses(Object obj,
Class cl)
|
protected void |
ObjectOutputStream.annotateClass(Class cl)
Subclasses may implement this method to allow class data to be stored in the stream. |
private void |
ObjectOutputStream.outputClass(Class aclass)
|
private void |
ObjectOutputStream.outputClassFields(Object o,
Class cl,
ObjectStreamField[] fields)
|
(package private) static ObjectStreamField |
ObjectStreamField.constructSearchKey(String fieldName,
Class fieldType)
|
static ObjectStreamClass |
ObjectStreamClass.lookup(Class cl)
Find the descriptor for a class that can be serialized. |
(package private) static ObjectStreamClass |
ObjectStreamClass.lookupInternal(Class cl)
|
(package private) ObjectStreamField |
ObjectStreamClass.getField(String name,
Class fieldType)
Get the field of this class by name and fieldType. |
private void |
ObjectStreamClass.validateLocalClass(Class localCl)
|
(package private) void |
ObjectStreamClass.setClass(Class cl)
|
private static long |
ObjectStreamClass.computeSerialVersionUID(Class cl)
|
(package private) static String |
ObjectStreamClass.getSignature(Class clazz)
Compute the JVM signature for the class. |
private static ObjectStreamClass |
ObjectStreamClass.findDescriptorFor(Class cl)
|
private static boolean |
ObjectStreamClass.hasStaticInitializer(Class cl)
|
private java.lang.reflect.Method |
ObjectStreamClass.getDeclaredMethod(String methodName,
Class[] args,
int requiredModifierMask,
int disallowedModifierMask)
|
private static boolean |
ObjectStreamClass.isSameClassPackage(Class cl1,
Class cl2)
|
private Class |
ObjectInputStream.loadClass0(Class cl,
String classname)
|
private void |
ObjectInputStream.inputClassFields(Object o,
Class cl,
ObjectStreamField[] fields)
|
private static Object |
ObjectInputStream.allocateNewObject(Class aclass,
Class initclass)
|
private static Object |
ObjectInputStream.allocateNewArray(Class aclass,
int length)
|
private ObjectStreamField |
ObjectInputStream.GetFieldImpl.checkField(String name,
Class type)
|
Constructors in java.io with parameters of type Class | |
ObjectStreamField.ObjectStreamField(String n,
Class clazz)
Create a Serializable field with the specified type. |
|
ObjectStreamClass.ObjectStreamClass(Class cl,
ObjectStreamClass superdesc,
boolean serial,
boolean extern)
|
Uses of Class in java.lang |
Fields in java.lang declared as Class | |
private Class |
ClassLoader.NativeLibrary.fromClass
|
static Class |
Byte.TYPE
The Class object representing the primitive type byte. |
static Class |
Character.TYPE
The Class object representing the primitive type char. |
static Class |
Short.TYPE
The Class object representing the primitive type short. |
static Class |
Double.TYPE
The Class object representing the primitive type double. |
static Class |
Long.TYPE
The Class object representing the primitive type long. |
static Class |
Float.TYPE
The Class object representing the primitive type float. |
static Class |
Void.TYPE
The Class object representing the primitive Java type void. |
static Class |
Integer.TYPE
The Class object representing the primitive type int. |
static Class |
Boolean.TYPE
The Class object representing the primitive type boolean. |
Methods in java.lang that return Class | |
Class |
Object.getClass()
Returns the runtime class of an object. |
Class |
ClassLoader.loadClass(String name)
Loads the class with the specified name. |
protected Class |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified name. |
protected Class |
ClassLoader.findClass(String name)
Finds the specified class. |
protected Class |
ClassLoader.defineClass(byte[] b,
int off,
int len)
Deprecated. Replaced by defineClass(java.lang.String, byte[], int, int) |
protected Class |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len)
Converts an array of bytes into an instance of class Class . |
protected Class |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
java.security.ProtectionDomain protectionDomain)
Converts an array of bytes into an instance of class Class, with an optional ProtectionDomain. |
protected Class |
ClassLoader.findSystemClass(String name)
Finds a class with the specified name, loading it if necessary. Prior to JDK1.2, this method loads a class from the local file system in a platform-dependent manner, and returns a class object that has no associated class loader. Since JDK1.2, this method loads the class through the system class loader(see ClassLoader.getSystemClassLoader() ). |
private Class |
ClassLoader.defineClass0(String name,
byte[] b,
int off,
int len)
|
private Class |
ClassLoader.findBootstrapClass(String name)
|
protected Class |
ClassLoader.findLoadedClass(String name)
Finds the class with the given name if it had been previously loaded through this class loader. |
(package private) static Class |
ClassLoader.NativeLibrary.getFromClass()
|
static Class |
Class.forName(String className)
Returns the Class object associated with the class or
interface with the given string name. |
static Class |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the Class object associated with the class or
interface with the given string name, using the given class loader. |
private static Class |
Class.forName0(String name,
boolean initialize,
ClassLoader loader)
Called after security checks have been made. |
Class |
Class.getSuperclass()
Returns the Class representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class . |
Class[] |
Class.getInterfaces()
Determines the interfaces implemented by the class or interface represented by this object. |
Class |
Class.getComponentType()
Returns the Class representing the component type of an
array. |
Class |
Class.getDeclaringClass()
If the class or interface represented by this Class object
is a member of another class, returns the Class object
representing the class in which it was declared. |
Class[] |
Class.getClasses()
Returns an array containing Class objects representing all
the public classes and interfaces that are members of the class
represented by this Class object. |
Class[] |
Class.getDeclaredClasses()
Returns an array of Class objects reflecting all the
classes and interfaces declared as members of the class represented by
this Class object. |
(package private) static Class |
Class.getPrimitiveClass(String name)
|
private Class[] |
Class.getDeclaredClasses0()
|
protected Class[] |
SecurityManager.getClassContext()
Returns the current execution stack as an array of classes. |
protected Class |
SecurityManager.currentLoadedClass()
Deprecated. This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
private Class |
SecurityManager.currentLoadedClass0()
|
(package private) static Class |
System.getCallerClass()
|
Methods in java.lang with parameters of type Class | |
(package private) void |
ClassLoader.addClass(Class c)
|
protected void |
ClassLoader.resolveClass(Class c)
Links the specified class. |
protected void |
ClassLoader.setSigners(Class c,
Object[] signers)
Sets the signers of a class. |
private void |
ClassLoader.resolveClass0(Class c)
|
(package private) static void |
ClassLoader.loadLibrary(Class fromClass,
String name,
boolean isAbsolute)
|
private static boolean |
ClassLoader.loadLibrary0(Class fromClass,
File file)
|
boolean |
Class.isAssignableFrom(Class cls)
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter. |
java.lang.reflect.Method |
Class.getMethod(String name,
Class[] parameterTypes)
Returns a Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
java.lang.reflect.Constructor |
Class.getConstructor(Class[] parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object. |
java.lang.reflect.Method |
Class.getDeclaredMethod(String name,
Class[] parameterTypes)
Returns a Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
java.lang.reflect.Constructor |
Class.getDeclaredConstructor(Class[] parameterTypes)
Returns a Constructor object that reflects the specified
constructor of the class or interface represented by this
Class object. |
private java.lang.reflect.Method |
Class.getMethod0(String name,
Class[] parameterTypes,
int which)
|
private java.lang.reflect.Constructor |
Class.getConstructor0(Class[] parameterTypes,
int which)
|
(package private) void |
Runtime.load0(Class fromClass,
String filename)
|
(package private) void |
Runtime.loadLibrary0(Class fromClass,
String libname)
|
void |
SecurityManager.checkMemberAccess(Class clazz,
int which)
Throws a SecurityException if the
calling thread is not allowed to access members. |
static boolean |
Compiler.compileClass(Class clazz)
Compiles the specified class. |
(package private) static Package |
Package.getPackage(Class c)
Get the package for the specified class. |
Constructors in java.lang with parameters of type Class | |
ClassLoader.NativeLibrary.ClassLoader.NativeLibrary(Class fromClass,
String name)
|
Uses of Class in java.util |
Methods in java.util that return Class | |
private static Class[] |
ResourceBundle.getClassContext()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |