Java Platform 1.2
Beta 4

Uses of Class
java.lang.Class

Packages that use Class
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.event Provides for events fired by Swing components.  
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.  
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.  
java.awt.dnd Provides interfaces and classes for supporting drag-and-drop operations.  
java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images.  
java.beans Contains classes related to Java Beans development.  
java.beans.beancontext Provides classes and interfaces relating to bean context.  
java.io Provides for system input and output through data streams, serialization and the file system.  
java.lang Provides classes that are fundamental to the design of the Java programming language.  
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.  
java.net Provides the classes for implementing networking applications.  
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. A group of classes are used by the stubs and skeletons generated by the rmic stub compiler.  
java.security Provides the classes and interfaces for the security framework.  
org.omg.CORBA   
org.omg.CORBA.portable   
 

Uses of Class in com.sun.java.swing
 

Methods in com.sun.java.swing that return Class
 Class JTable.getColumnClass(int column)
          Returns the type of the column at the specified view position.
 Class UIDefaults.getUIClass(String uiClassID, ClassLoader uiClassLoader)
          The value of get(uidClassID) must be the String name of a class that implements the corresponding ComponentUI class.
 Class UIDefaults.getUIClass(String uiClassID)
           
 

Methods in com.sun.java.swing with parameters of type Class
static Container SwingUtilities.getAncestorOfClass(Class c, Component comp)
          Convience method for searching above comp in the component hierarchy and returns the first object of class c it finds.
 void JTable.setDefaultRenderer(Class columnClass, TableCellRenderer renderer)
          Set a default renderer to be used if no renderer has been set in a TableColumn.
 TableCellRenderer JTable.getDefaultRenderer(Class columnClass)
          Returns the renderer to be used when no renderer has been set in a TableColumn.
 void JTable.setDefaultEditor(Class columnClass, TableCellEditor editor)
          Set a default editor to be used if no editor has been set in a TableColumn.
 TableCellEditor JTable.getDefaultEditor(Class columnClass)
          Returns the editor to be used when no editor has been set in a TableColumn.
static Object LookAndFeel.makeIcon(Class baseClass, String gifFile)
          Utility method that creates a UIDefaults.
 

Uses of Class in com.sun.java.swing.event
 

Methods in com.sun.java.swing.event with parameters of type Class
 int EventListenerList.getListenerCount(Class t)
          Return the total number of listeners of the supplied type for this listenerlist.
 void EventListenerList.add(Class t, EventListener l)
          Add the listener as a listener of the specified type.
 void EventListenerList.remove(Class t, EventListener l)
          Remove the listener as a listener of the specified type.
 

Uses of Class in com.sun.java.swing.table
 

Methods in com.sun.java.swing.table that return Class
 Class AbstractTableModel.getColumnClass(int columnIndex)
          Returns Object.class by default
 Class TableModel.getColumnClass(int columnIndex)
          Returns the lowest common denominator Class in the column.
 

Uses of Class in java.awt
 

Methods in java.awt with parameters of type Class
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, 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.awt.datatransfer
 

Methods in java.awt.datatransfer that return Class
 Class DataFlavor.getRepresentationClass()
          Returns the Class which objects supporting this DataFlavor will return when this DataFlavor is requested.
 

Constructors in java.awt.datatransfer with parameters of type Class
DataFlavor.DataFlavor(String primaryType, String subType, MimeTypeParameterList params, Class representationClass, String humanPresentableName)
          Construct a fully specified DataFlavor
DataFlavor.DataFlavor(Class representationClass, String humanPresentableName)
          Construct a DataFlavor that represents a Java class The returned DataFlavor will have the following characteristics representationClass = representationClass
mimeType = application/x-java-serialized-object
 

Uses of Class in java.awt.dnd
 

Methods in java.awt.dnd with parameters of type Class
 DragGestureRecognizer DragSource.createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          Creates a new DragSourceRecognizer that implements the specified abstract subclass of DragGestureRecognizer, and sets the specified Component and DragGestureListener on the newly created object.
 

Uses of Class in java.awt.image.renderable
 

Methods in java.awt.image.renderable that return Class
 Class[] ParameterBlock.getParamClasses()
          Returns an array of Class objects describing the types of the parameters.
 

Uses of Class in java.beans
 

Methods in java.beans that return Class
 Class PropertyDescriptor.getPropertyType()
           
 Class PropertyDescriptor.getPropertyEditorClass()
           
 Class IndexedPropertyDescriptor.getIndexedPropertyType()
           
 Class BeanDescriptor.getBeanClass()
           
 Class BeanDescriptor.getCustomizerClass()
           
 Class EventSetDescriptor.getListenerType()
           
 

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.
 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.
 

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.
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, Method[] listenerMethods, Method addListenerMethod, Method removeListenerMethod)
          This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.
EventSetDescriptor.EventSetDescriptor(String eventSetName, Class listenerType, MethodDescriptor[] listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod)
          This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.
 

Uses of Class in java.beans.beancontext
 

Fields in java.beans.beancontext declared as Class
protected  Class BeanContextServiceAvailableEvent.serviceClass
           
protected  Class BeanContextServiceRevokedEvent.serviceClass
          fields
 

Methods in java.beans.beancontext that return Class
 Class BeanContextServiceAvailableEvent.getServiceClass()
          get the service class that is the subject of this notification
 Class BeanContextServiceRevokedEvent.getServiceClass()
          get the service class that is the subject of this notification
 

Methods in java.beans.beancontext with parameters of type Class
protected static boolean BeanContextSupport.classEquals(Class first, Class second)
           
 Object BeanContextServiceProvider.getService(BeanContextServices bcs, Object requestor, Class serviceClass, Object serviceSelector)
          request an instance of a service,
 Iterator BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs, Class serviceClass)
           
 boolean BeanContextServices.addService(Class serviceClass, BeanContextServiceProvider serviceProvider)
          add a service to this BeanContext
 void BeanContextServices.revokeService(Class serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow)
          remove a service from this BeanContext
 boolean BeanContextServices.hasService(Class serviceClass)
           
 Object BeanContextServices.getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
           
 Iterator BeanContextServices.getCurrentServiceSelectors(Class serviceClass)
           
 boolean BeanContextServiceRevokedEvent.isServiceClass(Class service)
          test service equality
protected  BeanContextServicesSupport.BCSSServiceProvider BeanContextServicesSupport.createBCSSServiceProvider(Class sc, BeanContextServiceProvider bcsp)
          subclasses can override this method to create new subclasses of BCSSServiceProvider without having to overrride addService() in order to instantiate.
 boolean BeanContextServicesSupport.addService(Class serviceClass, BeanContextServiceProvider bcsp)
          add a service
protected  boolean BeanContextServicesSupport.addService(Class serviceClass, BeanContextServiceProvider bcsp, boolean fireEvent)
          add a service
 void BeanContextServicesSupport.revokeService(Class serviceClass, BeanContextServiceProvider bcsp, boolean revokeCurrentServicesNow)
          remove a service
 boolean BeanContextServicesSupport.hasService(Class serviceClass)
          has a service, which may be delegated
 Object BeanContextServicesSupport.getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
          obtain a service which may be delegated
 Iterator BeanContextServicesSupport.getCurrentServiceSelectors(Class serviceClass)
           
protected  void BeanContextServicesSupport.fireServiceAdded(Class serviceClass)
          Fire a BeanContextServiceEvent notifying of a new service
protected  void BeanContextServicesSupport.fireServiceRevoked(Class serviceClass, boolean revokeNow)
          Fire a BeanContextServiceEvent notifying of a service being revoked
 

Constructors in java.beans.beancontext with parameters of type Class
BeanContextServiceAvailableEvent.BeanContextServiceAvailableEvent(BeanContextServices bcs, Class sc)
          construct a BeanContextServiceEvent
BeanContextServiceRevokedEvent.BeanContextServiceRevokedEvent(BeanContextServices bcs, Class sc, boolean invalidate)
          construct a BeanContextServiceEvent
 

Uses of Class in java.io
 

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.
 

Methods in java.io with parameters of type Class
protected  void ObjectOutputStream.annotateClass(Class cl)
          Subclasses may implement this method to allow class data to be stored in the stream.
static ObjectStreamClass ObjectStreamClass.lookup(Class cl)
          Find the descriptor for a class that can be serialized.
 

Constructors in java.io with parameters of type Class
ObjectStreamField.ObjectStreamField(String n, Class clazz)
          Create a Serializable field with the specified type.
 

Uses of Class in java.lang
 

Fields in java.lang declared as Class
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, 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.
protected  Class ClassLoader.findLoadedClass(String name)
          Finds the class with the given name if it had been previously loaded through this class loader.
static Class Class.forName(String className)
          Returns the Class object associated with the class with the given string name.
static Class Class.forName(String name, boolean initialize, ClassLoader loader)
          Given the name of a class a lá getName, this method loads the class through the specified ClassLoader.
 Class Class.getSuperclass()
          If this object represents any class other than the class Object, then the object that represents the superclass of that class is returned.
 Class[] Class.getInterfaces()
          Determines the interfaces implemented by the class or interface represented by this object.
 Class Class.getComponentType()
          If this class represents an array type, returns the Class object representing the component type of the array; otherwise returns null.
 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 of which it is a member (its declaring class).
 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.
protected  Class[] SecurityManager.getClassContext()
          Returns the current execution stack as an array of classes.
protected  Class SecurityManager.currentLoadedClass()
          Returns the current Class with a ClassLoader on the execution stack.
 

Methods in java.lang with parameters of type Class
protected  void ClassLoader.resolveClass(Class c)
          Resolves the class so that an instance of the class can be created, or so that one of its methods can be called.
protected  void ClassLoader.setSigners(Class c, Object[] signers)
          Sets the signers of a class.
 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.
 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.
 Constructor Class.getConstructor(Class[] parameterTypes)
          Returns a Constructor object that reflects the specified public constructor of the class represented by this Class object.
 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.
 Constructor Class.getDeclaredConstructor(Class[] parameterTypes)
          Returns a Constructor object that reflects the specified declared constructor of the class or interface represented by this Class object.
 void SecurityManager.checkMemberAccess(Class clazz, int which)
          Tests if a client is allowed to access members.
static boolean Compiler.compileClass(Class clazz)
          Compiles the specified class.
 

Uses of Class in java.lang.reflect
 

Methods in java.lang.reflect that return Class
 Class Field.getDeclaringClass()
          Returns the Class object representing the class or interface that declares the field represented by this Field object.
 Class Field.getType()
          Returns a Class object that identifies the declared type for the field represented by this Field object.
 Class Method.getDeclaringClass()
          Returns the Class object representing the class or interface that declares the method represented by this Method object.
 Class Method.getReturnType()
          Returns a Class object that represents the formal return type of the method represented by this Method object.
 Class[] Method.getParameterTypes()
          Returns an array of Class objects that represent the formal parameter types, in declaration order, of the method represented by this Method object.
 Class[] Method.getExceptionTypes()
          Returns an array of Class objects that represent the types of the checked exceptions thrown by the underlying method represented by this Method object.
 Class Constructor.getDeclaringClass()
          Returns the Class object representing the class that declares the constructor represented by this Constructor object.
 Class[] Constructor.getParameterTypes()
          Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor represented by this Constructor object.
 Class[] Constructor.getExceptionTypes()
          Returns an array of Class objects that represent the types of the checked exceptions thrown by the underlying constructor represented by this Constructor object.
 Class Member.getDeclaringClass()
          Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
 

Methods in java.lang.reflect with parameters of type Class
static Object Array.newInstance(Class componentType, int length)
          Creates a new array with the specified component type and length.
static Object Array.newInstance(Class componentType, int[] dimensions)
          Creates a new array with the specified component type and dimensions.
 

Uses of Class in java.net
 

Methods in java.net that return Class
protected  Class URLClassLoader.findClass(String name)
          Finds and loads the class with the specified name from the URL search path.
 

Uses of Class in java.rmi.server
 

Methods in java.rmi.server that return Class
 Class LoaderHandler.loadClass(String name)
          Deprecated. Load a class from the location specified by the java.rmi.server.codebase property.
 Class LoaderHandler.loadClass(URL codebase, String name)
          Deprecated. Load a class from a URL.
static Class RMIClassLoader.loadClass(String name)
          Deprecated.  
static Class RMIClassLoader.loadClass(URL codebase, String name)
          Load a class from a codebase URL.
static Class RMIClassLoader.loadClass(String codebase, String name)
          Load a class from a codebase URL path.
 

Methods in java.rmi.server with parameters of type Class
static String RMIClassLoader.getClassAnnotation(Class cl)
          Returns the class annotation (representing the location for a class) that RMI will use to annotate the call stream when marshalling objects of the given class.
 

Uses of Class in java.security
 

Methods in java.security that return Class
protected  Class SecureClassLoader.defineClass(String name, byte[] b, int off, int len, CodeSource cs)
          Converts an array of bytes into an instance of class Class, with an optional CodeSource.
 

Methods in java.security with parameters of type Class
 AlgorithmParameterSpec AlgorithmParameters.getParameterSpec(Class paramSpec)
          Returns a (transparent) specification of this parameters object.
protected abstract  KeySpec KeyFactorySpi.engineGetKeySpec(Key key, Class keySpec)
          Returns a specification (key material) of the given key object.
 KeySpec KeyFactory.getKeySpec(Key key, Class keySpec)
          Returns a specification (key material) of the given key object.
protected abstract  AlgorithmParameterSpec AlgorithmParametersSpi.engineGetParameterSpec(Class paramSpec)
          Returns a (transparent) specification of this parameters object.
 

Uses of Class in org.omg.CORBA
 

Methods in org.omg.CORBA that return Class
 Class ORB.register_value_factory(String repository_id, Class factory)
           
 Class ORB.lookup_value_factory(String repository_id)
           
 

Methods in org.omg.CORBA with parameters of type Class
 Class ORB.register_value_factory(String repository_id, Class factory)
           
 

Uses of Class in org.omg.CORBA.portable
 

Methods in org.omg.CORBA.portable with parameters of type Class
 ServantObject ObjectImpl._servant_preinvoke(String operation, Class expectedType)
           
 ServantObject Delegate.servant_preinvoke(Object self, String operation, Class expectedType)
           
 Object InputStream.read_Object(Class clz)
          read_Object unmarshals an object and returns a CORBA Object which is an instance of the class passed as its argument.
 Object InputStream.read_AbstractObject(Class clz)
          read_AbstractObject unmarshals and returns either a value object or a remote object reference.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.