|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Class | |
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 | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images. |
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
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. |
java.security | Provides the classes and interfaces for the security framework. |
java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
javax.crypto | Provides the classes and interfaces for cryptographic operations. |
javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
javax.rmi | Contains user APIs for RMI-IIOP. |
javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
javax.security.auth | This package provides a framework for authentication and authorization. |
javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.event | Provides for events fired by Swing components. |
javax.swing.table | Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
javax.swing.tree | Provides classes and interfaces for dealing with
javax.swing.JTree . |
org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
org.omg.CORBA_2_3.portable | Provides methods for the input and output of value types, and contains
other updates to the org/omg/CORBA/portable package. |
org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
org.omg.DynamicAny | Provides classes and interfaces that enable traversal of the data value
associated with an any at
runtime, and extraction of the primitive constituents of the data value. |
org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
Uses of Class in java.awt |
Methods in java.awt with parameters of type Class | |
protected static void |
AWTKeyStroke.registerSubclass(Class subclass)
Registers a new class which the factory methods in AWTKeyStroke will use when generating new
instances of AWTKeyStroke s. |
static EventListener[] |
AWTEventMulticaster.getListeners(EventListener l,
Class listenerType)
Returns an array of all the objects chained as FooListener s by the specified
java.util.EventListener . |
EventListener[] |
CheckboxMenuItem.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this CheckboxMenuItem . |
EventListener[] |
Window.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Window . |
EventListener[] |
Choice.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Choice . |
EventListener[] |
Scrollbar.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Scrollbar . |
EventListener[] |
Checkbox.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Checkbox . |
EventListener[] |
List.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this List . |
EventListener[] |
TextComponent.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this TextComponent . |
EventListener[] |
TextField.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this TextField . |
EventListener[] |
Button.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Button . |
EventListener[] |
MenuItem.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this MenuItem . |
DragGestureRecognizer |
Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass,
DragSource ds,
Component c,
int srcActions,
DragGestureListener dgl)
Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified. |
EventListener[] |
Container.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Container . |
EventListener[] |
Component.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Component . |
Uses of Class in java.awt.datatransfer |
Methods in java.awt.datatransfer that return Class | |
protected static Class |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
Tries to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified. |
Class |
DataFlavor.getRepresentationClass()
Returns the Class which objects supporting this
DataFlavor will return when this DataFlavor
is requested. |
Class |
DataFlavor.getDefaultRepresentationClass()
|
Constructors in java.awt.datatransfer with parameters of type Class | |
DataFlavor(Class representationClass,
String humanPresentableName)
Constructs a DataFlavor that represents a Java class. |
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 DragGestureRecognizer
that implements the specified
abstract subclass of
DragGestureRecognizer , and
sets the specified Component
and DragGestureListener on
the newly created object. |
EventListener[] |
DragSource.getListeners(Class listenerType)
Gets all the objects currently registered as FooListener s upon this DragSource . |
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 |
IndexedPropertyDescriptor.getIndexedPropertyType()
Gets the Class object of the indexed properties' type. |
Class |
EventSetDescriptor.getListenerType()
Gets the Class object for the target interface. |
Class |
BeanDescriptor.getBeanClass()
Gets the bean's Class object. |
Class |
BeanDescriptor.getCustomizerClass()
Gets the Class object for the bean's customizer. |
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. |
Methods in java.beans with parameters of type Class | |
static Object |
EventHandler.create(Class listenerInterface,
Object target,
String action)
Creates an implementation of listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target . |
static Object |
EventHandler.create(Class listenerInterface,
Object target,
String action,
String eventPropertyName)
Creates an implementation of listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName , to the final method in the
statement, action , which is applied to the target . |
static Object |
EventHandler.create(Class listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName ,
to the final method in the statement, action , which
is applied to the target . |
protected void |
DefaultPersistenceDelegate.initialize(Class type,
Object oldInstance,
Object newInstance,
Encoder out)
This default implementation of the initialize method assumes
all state held in objects of this type is exposed via the
matching pairs of "setter" and "getter" methods in the order
they are returned by the Introspector. |
PersistenceDelegate |
Encoder.getPersistenceDelegate(Class type)
Returns the persistence delegate for the given type. |
void |
Encoder.setPersistenceDelegate(Class type,
PersistenceDelegate persistenceDelegate)
Sets the persistence delegate associated with this type to
persistenceDelegate . |
protected void |
PersistenceDelegate.initialize(Class type,
Object oldInstance,
Object newInstance,
Encoder out)
Produce a series of statements with side effects on newInstance
so that the new instance becomes equivalent to oldInstance . |
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 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. |
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, subject to some control 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. |
void |
PropertyDescriptor.setPropertyEditorClass(Class propertyEditorClass)
Normally PropertyEditors will be found using the PropertyEditorManager. |
Constructors in java.beans with parameters of type Class | |
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(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. |
|
EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String listenerMethodName)
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(Class sourceClass,
String eventSetName,
Class listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(Class sourceClass,
String eventSetName,
Class listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using string names. |
|
EventSetDescriptor(String eventSetName,
Class listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
|
EventSetDescriptor(String eventSetName,
Class listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
|
EventSetDescriptor(String eventSetName,
Class listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects. |
|
BeanDescriptor(Class beanClass)
Create a BeanDescriptor for a bean that doesn't have a customizer. |
|
BeanDescriptor(Class beanClass,
Class customizerClass)
Create a BeanDescriptor for a bean that has a customizer. |
|
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(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. |
Uses of Class in java.beans.beancontext |
Fields in java.beans.beancontext declared as Class | |
protected Class |
BeanContextServiceRevokedEvent.serviceClass
A Class reference to the service that is being revoked. |
protected Class |
BeanContextServiceAvailableEvent.serviceClass
A Class reference to the newly available service |
Methods in java.beans.beancontext that return Class | |
Class |
BeanContextServiceRevokedEvent.getServiceClass()
Gets the service class that is the subject of this notification |
Class |
BeanContextServiceAvailableEvent.getServiceClass()
Gets the service class that is the subject of this notification. |
Methods in java.beans.beancontext with parameters of type Class | |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
|
Iterator |
BeanContextServicesSupport.BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
|
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)
Fires a BeanContextServiceEvent notifying of a new service. |
protected void |
BeanContextServicesSupport.fireServiceRevoked(Class serviceClass,
boolean revokeNow)
Fires a BeanContextServiceRevokedEvent indicating that a particular service is no longer available. |
protected static boolean |
BeanContextSupport.classEquals(Class first,
Class second)
Tests to see if two class objects, or their names are equal. |
boolean |
BeanContextServiceRevokedEvent.isServiceClass(Class service)
Checks this event to determine whether or not the service being revoked is of a particular class. |
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by BeanContextServices , this method
requests an instance of a
service from this BeanContextServiceProvider . |
Iterator |
BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
Invoked by BeanContextServices , this method
gets the current service selectors for the specified service. |
boolean |
BeanContextServices.addService(Class serviceClass,
BeanContextServiceProvider serviceProvider)
Adds a service to this BeanContext. |
void |
BeanContextServices.revokeService(Class serviceClass,
BeanContextServiceProvider serviceProvider,
boolean revokeCurrentServicesNow)
BeanContextServiceProviders wishing to remove a currently registered service from this context may do so via invocation of this method. |
boolean |
BeanContextServices.hasService(Class serviceClass)
Reports whether or not a given service is currently available from this context. |
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A BeanContextChild , or any arbitrary object
associated with a BeanContextChild , may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Iterator |
BeanContextServices.getCurrentServiceSelectors(Class serviceClass)
Gets the list of service dependent service parameters (Service Selectors) for the specified service, by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider. |
Constructors in java.beans.beancontext with parameters of type Class | |
BeanContextServiceRevokedEvent(BeanContextServices bcs,
Class sc,
boolean invalidate)
Construct a BeanContextServiceEvent . |
|
BeanContextServiceAvailableEvent(BeanContextServices bcs,
Class sc)
Construct a BeanContextAvailableServiceEvent . |
Uses of Class in java.io |
Methods in java.io that return Class | |
Class |
ObjectStreamClass.forClass()
Return the class in the local VM that this version is mapped to. |
protected Class |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class description. |
protected Class |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class. |
Class |
ObjectStreamField.getType()
Get the type of the field. |
Methods in java.io with parameters of type Class | |
static ObjectStreamClass |
ObjectStreamClass.lookup(Class cl)
Find the descriptor for a class that can be serialized. |
protected void |
ObjectOutputStream.annotateClass(Class cl)
Subclasses may implement this method to allow class data to be stored in the stream. |
protected void |
ObjectOutputStream.annotateProxyClass(Class cl)
Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes. |
Constructors in java.io with parameters of type Class | |
ObjectStreamField(String name,
Class type)
Create a Serializable field with the specified type. |
|
ObjectStreamField(String name,
Class type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the given name and type. |
Uses of Class in java.lang |
Fields in java.lang declared as Class | |
static Class |
Character.TYPE
The Class instance representing the primitive type
char . |
static Class |
Void.TYPE
The Class object representing the primitive Java type void. |
static Class |
Boolean.TYPE
The Class object representing the primitive type boolean. |
static Class |
Double.TYPE
The Class instance representing the primitive type
double . |
static Class |
Float.TYPE
The Class instance representing the primitive type
float . |
static Class |
Short.TYPE
The Class instance representing the primitive type
short . |
static Class |
Byte.TYPE
The Class instance representing the primitive type
byte . |
static Class |
Long.TYPE
The Class instance representing the primitive type
long . |
static Class |
Integer.TYPE
The Class instance representing the primitive type
int . |
Methods in java.lang that return Class | |
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. |
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(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)
Returns the class with the given name if this loader has been recorded by the Java virtual machine as an initiating loader of a class with that name. |
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. |
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. |
Class |
Object.getClass()
Returns the runtime class of an object. |
Methods in java.lang with parameters of type Class | |
static boolean |
Compiler.compileClass(Class clazz)
Compiles the specified class. |
void |
SecurityManager.checkMemberAccess(Class clazz,
int which)
Throws a SecurityException if the
calling thread is not allowed to access members. |
protected void |
ClassLoader.resolveClass(Class c)
Links the specified class. |
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
constructor of the class or interface represented by this
Class object. |
Uses of Class in java.lang.reflect |
Methods in java.lang.reflect that return Class | |
static Class |
Proxy.getProxyClass(ClassLoader loader,
Class[] interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
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 exceptions declared to be thrown
by the underlying method
represented by this Method object. |
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 |
Member.getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member. |
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
of exceptions declared to be thrown by the underlying constructor
represented by this Constructor object. |
Methods in java.lang.reflect with parameters of type Class | |
static Class |
Proxy.getProxyClass(ClassLoader loader,
Class[] interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler. |
static boolean |
Proxy.isProxyClass(Class cl)
Returns true if and only if the specified class was dynamically generated to be a proxy class using the getProxyClass
method or the newProxyInstance method. |
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. |
Methods in java.net with parameters of type Class | |
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified. |
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection. |
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL. |
Uses of Class in java.rmi.server |
Methods in java.rmi.server that return Class | |
Class |
LoaderHandler.loadClass(String name)
Deprecated. no replacement |
Class |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated. no replacement |
abstract Class |
RMIClassLoaderSpi.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Provides the implementation for RMIClassLoader.loadClass(URL,String) ,
RMIClassLoader.loadClass(String,String) , and
RMIClassLoader.loadClass(String,String,ClassLoader) . |
abstract Class |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for RMIClassLoader.loadProxyClass(String,String[],ClassLoader) . |
static Class |
RMIClassLoader.loadClass(String name)
Deprecated. replaced by loadClass(String,String) method |
static Class |
RMIClassLoader.loadClass(URL codebase,
String name)
Loads a class from a codebase URL. |
static Class |
RMIClassLoader.loadClass(String codebase,
String name)
Loads a class from a codebase URL path. |
static Class |
RMIClassLoader.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Loads a class from a codebase URL path, optionally using the supplied loader. |
static Class |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see Proxy )
that implements a set of interfaces with the given names
from a codebase URL path. |
Methods in java.rmi.server with parameters of type Class | |
abstract String |
RMIClassLoaderSpi.getClassAnnotation(Class cl)
Provides the implementation for RMIClassLoader.getClassAnnotation(Class) . |
static String |
RMIClassLoader.getClassAnnotation(Class cl)
Returns the annotation string (representing a location for the class definition) that RMI will use to annotate the class descriptor 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 | |
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. |
AlgorithmParameterSpec |
AlgorithmParameters.getParameterSpec(Class paramSpec)
Returns a (transparent) specification of this parameter object. |
Uses of Class in java.util.prefs |
Methods in java.util.prefs with parameters of type Class | |
static Preferences |
Preferences.userNodeForPackage(Class c)
Returns the preference node from the calling user's preference tree that is associated (by convention) with the specified class's package. |
static Preferences |
Preferences.systemNodeForPackage(Class c)
Returns the preference node from the system preference tree that is associated (by convention) with the specified class's package. |
Uses of Class in javax.crypto |
Methods in javax.crypto with parameters of type Class | |
protected abstract KeySpec |
SecretKeyFactorySpi.engineGetKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
KeySpec |
SecretKeyFactory.getKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
Uses of Class in javax.imageio.metadata |
Methods in javax.imageio.metadata that return Class | |
Class |
IIOMetadataFormatImpl.getObjectClass(String elementName)
|
Class |
IIOMetadataFormat.getObjectClass(String elementName)
Returns the Class type of the Object
reference stored within the element. |
Methods in javax.imageio.metadata with parameters of type Class | |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
boolean required,
Object defaultValue)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
boolean required,
Object defaultValue,
List enumeratedValues)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
Object defaultValue,
Comparable minValue,
Comparable maxValue,
boolean minInclusive,
boolean maxInclusive)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class classType,
int arrayMinLength,
int arrayMaxLength)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
Uses of Class in javax.imageio.spi |
Fields in javax.imageio.spi declared as Class | |
protected Class |
ImageOutputStreamSpi.outputClass
A Class object indicating the legal object type
for use by the createInputStreamInstance method. |
protected Class |
ImageInputStreamSpi.inputClass
A Class object indicating the legal object type
for use by the createInputStreamInstance method. |
static Class[] |
ImageWriterSpi.STANDARD_OUTPUT_TYPE
A single-element array, initially containing ImageInputStream.class , to be returned from
getInputTypes . |
protected Class[] |
ImageWriterSpi.outputTypes
An array of Class objects to be returned from
getOutputTypes , initially null . |
static Class[] |
ImageReaderSpi.STANDARD_INPUT_TYPE
A single-element array, initially containing ImageInputStream.class , to be returned from
getInputTypes . |
protected Class[] |
ImageReaderSpi.inputTypes
An array of Class objects to be returned from
getInputTypes , initially null . |
Methods in javax.imageio.spi that return Class | |
Class |
ImageOutputStreamSpi.getOutputClass()
Returns a Class object representing the class or
interface type that must be implemented by an output
destination in order to be "wrapped" in an
ImageOutputStream via the
createOutputStreamInstance method. |
Class |
ImageInputStreamSpi.getInputClass()
Returns a Class object representing the class or
interface type that must be implemented by an input source in
order to be "wrapped" in an ImageInputStream via
the createInputStreamInstance method. |
Class[] |
ImageWriterSpi.getOutputTypes()
Returns an array of Class objects indicating what
types of objects may be used as arguments to the writer's
setOutput method. |
Class[] |
ImageReaderSpi.getInputTypes()
Returns an array of Class objects indicating what
types of objects may be used as arguments to the reader's
setInput method. |
Methods in javax.imageio.spi with parameters of type Class | |
void |
RegisterableService.onRegistration(ServiceRegistry registry,
Class category)
Called when an object implementing this interface is added to the given category of the given
registry . |
void |
RegisterableService.onDeregistration(ServiceRegistry registry,
Class category)
Called when an object implementing this interface is removed from the given category of the given
registry . |
void |
IIOServiceProvider.onRegistration(ServiceRegistry registry,
Class category)
A callback that will be called exactly once after the Spi class has been instantiated and registered in a ServiceRegistry . |
void |
IIOServiceProvider.onDeregistration(ServiceRegistry registry,
Class category)
A callback that will be whenever the Spi class has been deregistered from a ServiceRegistry . |
static Iterator |
ServiceRegistry.lookupProviders(Class providerClass,
ClassLoader loader)
Searches for implementations of a particular service class using the given class loader. |
static Iterator |
ServiceRegistry.lookupProviders(Class providerClass)
Locates and incrementally instantiates the available providers of a given service using the context class loader. |
boolean |
ServiceRegistry.registerServiceProvider(Object provider,
Class category)
Adds a service provider object to the registry. |
boolean |
ServiceRegistry.deregisterServiceProvider(Object provider,
Class category)
Removes a service provider object from the given category. |
Iterator |
ServiceRegistry.getServiceProviders(Class category,
boolean useOrdering)
Returns an Iterator containing all registered
service providers in the given category. |
Iterator |
ServiceRegistry.getServiceProviders(Class category,
ServiceRegistry.Filter filter,
boolean useOrdering)
Returns an Iterator containing service provider
objects within a given category that satisfy a criterion
imposed by the supplied ServiceRegistry.Filter
object's filter method. |
Object |
ServiceRegistry.getServiceProviderByClass(Class providerClass)
Returns the currently registered service provider object that is of the given class type. |
boolean |
ServiceRegistry.setOrdering(Class category,
Object firstProvider,
Object secondProvider)
Sets a pairwise ordering between two service provider objects within a given category. |
boolean |
ServiceRegistry.unsetOrdering(Class category,
Object firstProvider,
Object secondProvider)
Sets a pairwise ordering between two service provider objects within a given category. |
void |
ServiceRegistry.deregisterAll(Class category)
Deregisters all service provider object currently registered under the given category. |
Constructors in javax.imageio.spi with parameters of type Class | |
ImageOutputStreamSpi(String vendorName,
String version,
Class outputClass)
Constructs an ImageOutputStreamSpi with a given
set of values. |
|
ImageInputStreamSpi(String vendorName,
String version,
Class inputClass)
Constructs an ImageInputStreamSpi with a given set
of values. |
|
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageWriterSpi with a given
set of values. |
|
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageReaderSpi with a given
set of values. |
Uses of Class in javax.naming.spi |
Methods in javax.naming.spi with parameters of type Class | |
ResolveResult |
Resolver.resolveToClass(Name name,
Class contextType)
Partially resolves a name. |
ResolveResult |
Resolver.resolveToClass(String name,
Class contextType)
Partially resolves a name. |
Uses of Class in javax.print |
Methods in javax.print that return Class | |
Class[] |
AttributeException.getUnsupportedAttributes()
Returns the array of printing attribute classes for which the Print Service instance does not support the attribute at all, or null if there are no such attributes. |
Class[] |
PrintService.getSupportedAttributeCategories()
Determines the printing attribute categories a client can specify when setting up a job for this print service. |
Methods in javax.print with parameters of type Class | |
PrintServiceAttribute |
PrintService.getAttribute(Class category)
Gets the value of the single specified service attribute. |
boolean |
PrintService.isAttributeCategorySupported(Class category)
Determines whether a client can specify the given printing attribute category when setting up a job for this print service. |
Object |
PrintService.getDefaultAttributeValue(Class category)
Determines this print service's default printing attribute value in the given category. |
Object |
PrintService.getSupportedAttributeValues(Class category,
DocFlavor flavor,
AttributeSet attributes)
Determines the printing attribute values a client can specify in the given category when setting up a job for this print service. |
Uses of Class in javax.print.attribute |
Methods in javax.print.attribute that return Class | |
static Class |
AttributeSetUtilities.verifyAttributeCategory(Object object,
Class interfaceName)
Verify that the given object is a Class that
implements the given interface, which is assumed to be interface Attribute or a subinterface thereof. |
Class |
Attribute.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set. |
Methods in javax.print.attribute with parameters of type Class | |
Attribute |
HashAttributeSet.get(Class category)
Returns the attribute value which this attribute set contains in the given attribute category. |
boolean |
HashAttributeSet.remove(Class category)
Removes any attribute for this category from this attribute set if present. |
boolean |
HashAttributeSet.containsKey(Class category)
Returns true if this attribute set contains an attribute for the specified category. |
static Class |
AttributeSetUtilities.verifyAttributeCategory(Object object,
Class interfaceName)
Verify that the given object is a Class that
implements the given interface, which is assumed to be interface Attribute or a subinterface thereof. |
static Attribute |
AttributeSetUtilities.verifyAttributeValue(Object object,
Class interfaceName)
Verify that the given object is an instance of the given interface, which is assumed to be interface Attribute or a subinterface
thereof. |
static void |
AttributeSetUtilities.verifyCategoryForValue(Class category,
Attribute attribute)
Verify that the given attribute category object is equal to the category of the given attribute value object. |
Attribute |
AttributeSet.get(Class category)
Returns the attribute value which this attribute set contains in the given attribute category. |
boolean |
AttributeSet.remove(Class category)
Removes any attribute for this category from this attribute set if present. |
boolean |
AttributeSet.containsKey(Class category)
Returns true if this attribute set contains an attribute for the specified category. |
Constructors in javax.print.attribute with parameters of type Class | |
HashAttributeSet(Class interfaceName)
Construct a new, empty attribute set, where the members of the attribute set are restricted to the given interface. |
|
HashAttributeSet(Attribute attribute,
Class interfaceName)
Construct a new attribute set, initially populated with the given attribute, where the members of the attribute set are restricted to the given interface. |
|
HashAttributeSet(Attribute[] attributes,
Class interfaceName)
Construct a new attribute set, where the members of the attribute set are restricted to the given interface. |
|
HashAttributeSet(AttributeSet attributes,
Class interfaceName)
Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the given interface. |
Uses of Class in javax.print.attribute.standard |
Methods in javax.print.attribute.standard that return Class | |
Class |
Sides.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
SheetCollate.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
RequestingUserName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
ReferenceUriSchemesSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
QueuedJobCount.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterURI.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrintQuality.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterStateReasons.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterStateReason.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterState.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterResolution.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Severity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterMoreInfoManufacturer.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterMoreInfo.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterMessageFromOperator.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterMakeAndModel.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterLocation.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterIsAcceptingJobs.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PrinterInfo.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PresentationDirection.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PDLOverrideSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PagesPerMinuteColor.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PagesPerMinute.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
PageRanges.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
OutputDeviceAssigned.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
OrientationRequested.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
NumberUpSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
NumberUp.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
NumberOfInterveningJobs.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
NumberOfDocuments.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
MultipleDocumentHandling.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
MediaSize.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
MediaPrintableArea.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Media.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobStateReasons.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobStateReason.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobState.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobSheets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobPrioritySupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobPriority.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobOriginatingUserName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobMessageFromOperator.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobMediaSheetsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobMediaSheetsCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobMediaSheets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobKOctetsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobKOctetsProcessed.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobImpressionsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobKOctets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobImpressionsCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobImpressions.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
JobHoldUntil.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Finishings.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Fidelity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
DocumentName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Destination.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
DateTimeAtProcessing.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
DateTimeAtCreation.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
DateTimeAtCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
CopiesSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Copies.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Compression.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
ColorSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
Chromaticity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Uses of Class in javax.rmi |
Methods in javax.rmi with parameters of type Class | |
static Object |
PortableRemoteObject.narrow(Object narrowFrom,
Class narrowTo)
Checks to ensure that an object of a remote or abstract interface type can be cast to a desired type. |
Uses of Class in javax.rmi.CORBA |
Methods in javax.rmi.CORBA that return Class | |
Class |
UtilDelegate.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Delegation call for Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader) . |
static Class |
Util.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Returns a class instance for the specified class. |
Methods in javax.rmi.CORBA with parameters of type Class | |
Serializable |
ValueHandler.readValue(InputStream in,
int offset,
Class clz,
String repositoryID,
RunTime sender)
Reads a value from the stream using Java semantics. |
String |
ValueHandler.getRMIRepositoryID(Class clz)
Returns the CORBA RepositoryId for the given Java class. |
boolean |
ValueHandler.isCustomMarshaled(Class clz)
Indicates whether the given class performs custom or default marshaling. |
String |
UtilDelegate.getCodebase(Class clz)
Delegation call for Util.getCodebase(java.lang.Class) . |
static String |
Util.getCodebase(Class clz)
Returns the codebase, if any, for the given class. |
Object |
PortableRemoteObjectDelegate.narrow(Object narrowFrom,
Class narrowTo)
Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) . |
Uses of Class in javax.security.auth |
Methods in javax.security.auth with parameters of type Class | |
Set |
Subject.getPrincipals(Class c)
Return a Set of Principals associated with this
Subject that are instances or subclasses of the specified
Class . |
Set |
Subject.getPublicCredentials(Class c)
Return a Set of public credentials associated with this
Subject that are instances or subclasses of the specified
Class . |
Set |
Subject.getPrivateCredentials(Class c)
Return a Set of private credentials associated with this
Subject that are instances or subclasses of the specified
Class . |
Uses of Class in javax.sound.midi |
Methods in javax.sound.midi that return Class | |
Class |
SoundbankResource.getDataClass()
Obtains the class used by this sample to represent its data. |
Constructors in javax.sound.midi with parameters of type Class | |
SoundbankResource(Soundbank soundBank,
String name,
Class dataClass)
Constructs a new SoundbankResource from the given sound bank
and wavetable index. |
|
Instrument(Soundbank soundbank,
Patch patch,
String name,
Class dataClass)
Constructs a new MIDI instrument from the specified Patch . |
Uses of Class in javax.sound.sampled |
Methods in javax.sound.sampled that return Class | |
Class |
Line.Info.getLineClass()
Obtains the class of the line that this Line.Info object describes. |
Constructors in javax.sound.sampled with parameters of type Class | |
Port.Info(Class lineClass,
String name,
boolean isSource)
Constructs a port's info object from the information given. |
|
Line.Info(Class lineClass)
Constructs an info object that describes a line of the specified class. |
|
DataLine.Info(Class lineClass,
AudioFormat[] formats,
int minBufferSize,
int maxBufferSize)
Constructs a data line's info object from the specified information, which includes a set of supported audio formats and a range for the buffer size. |
|
DataLine.Info(Class lineClass,
AudioFormat format,
int bufferSize)
Constructs a data line's info object from the specified information, which includes a single audio format and a desired buffer size. |
|
DataLine.Info(Class lineClass,
AudioFormat format)
Constructs a data line's info object from the specified information, which includes a single audio format. |
Uses of Class in javax.swing |
Methods in javax.swing that return Class | |
Class |
JTable.getColumnClass(int column)
Returns the type of the column appearing in the view at column position column . |
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)
Returns the L&F class that renders this component. |
Methods in javax.swing with parameters of type Class | |
EventListener[] |
AbstractSpinnerModel.getListeners(Class listenerType)
Return an array of all the listeners of the given type that were added to this model. |
EventListener[] |
AbstractListModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
EventListener[] |
DefaultBoundedRangeModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
EventListener[] |
DefaultSingleSelectionModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
EventListener[] |
DefaultListSelectionModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
EventListener[] |
DefaultButtonModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
void |
JTable.setDefaultRenderer(Class columnClass,
TableCellRenderer renderer)
Sets a default cell renderer to be used if no renderer has been set in a TableColumn . |
TableCellRenderer |
JTable.getDefaultRenderer(Class columnClass)
Returns the cell renderer to be used when no renderer has been set in a TableColumn . |
void |
JTable.setDefaultEditor(Class columnClass,
TableCellEditor editor)
Sets a default cell 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.LazyValue that creates an ImageIcon UIResource for the specified gifFile
filename. |
static Container |
SwingUtilities.getAncestorOfClass(Class c,
Component comp)
Convenience method for searching above comp in the
component hierarchy and returns the first object of class c it
finds. |
EventListener[] |
JComponent.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this JComponent . |
EventListener[] |
Timer.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Timer . |
Uses of Class in javax.swing.event |
Methods in javax.swing.event with parameters of type Class | |
EventListener[] |
EventListenerList.getListeners(Class t)
Return an array of all the listeners of the given type. |
int |
EventListenerList.getListenerCount(Class t)
Returns the total number of listeners of the supplied type for this listener list. |
void |
EventListenerList.add(Class t,
EventListener l)
Adds the listener as a listener of the specified type. |
void |
EventListenerList.remove(Class t,
EventListener l)
Removes the listener as a listener of the specified type. |
Uses of Class in javax.swing.table |
Methods in javax.swing.table that return Class | |
Class |
AbstractTableModel.getColumnClass(int columnIndex)
Returns Object.class regardless of columnIndex . |
Class |
TableModel.getColumnClass(int columnIndex)
Returns the most specific superclass for all the cell values in the column. |
Methods in javax.swing.table with parameters of type Class | |
EventListener[] |
AbstractTableModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this AbstractTableModel . |
EventListener[] |
DefaultTableColumnModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
Uses of Class in javax.swing.text |
Methods in javax.swing.text that return Class | |
Class |
DefaultFormatter.getValueClass()
Returns that class that is used to create new Objects. |
Methods in javax.swing.text with parameters of type Class | |
void |
DefaultFormatter.setValueClass(Class valueClass)
Sets that class that is used to create new Objects. |
EventListener[] |
StyleContext.NamedStyle.getListeners(Class listenerType)
Return an array of all the listeners of the given type that were added to this model. |
EventListener[] |
AbstractDocument.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this document. |
EventListener[] |
DefaultCaret.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this caret. |
Uses of Class in javax.swing.tree |
Methods in javax.swing.tree with parameters of type Class | |
EventListener[] |
DefaultTreeModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
EventListener[] |
DefaultTreeSelectionModel.getListeners(Class listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
Uses of Class in org.omg.CORBA |
Methods in org.omg.CORBA with parameters of type Class | |
ServantObject |
LocalObject._servant_preinvoke(String operation,
Class expectedType)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
Uses of Class in org.omg.CORBA_2_3.portable |
Methods in org.omg.CORBA_2_3.portable with parameters of type Class | |
void |
OutputStream.write_value(Serializable value,
Class clz)
Marshals a value type to the output stream. |
Serializable |
InputStream.read_value(Class clz)
Unmarshalls a value type from the input stream. |
Object |
InputStream.read_abstract_interface(Class clz)
Unmarshal the class object or the stub class corresponding to the passed type. |
Uses of Class in org.omg.CORBA.portable |
Methods in org.omg.CORBA.portable with parameters of type Class | |
ServantObject |
Delegate.servant_preinvoke(Object self,
String operation,
Class expectedType)
Returns a Java reference to the servant which should be used for this request. |
ServantObject |
ObjectImpl._servant_preinvoke(String operation,
Class expectedType)
Returns a Java reference to the local servant that should be used for sending a request for the method specified. |
Object |
InputStream.read_Object(Class clz)
Unmarshals an object and returns a CORBA Object, which is an instance of the class passed as its argument. |
Uses of Class in org.omg.DynamicAny |
Fields in org.omg.DynamicAny declared as Class | |
static Class |
_DynSequenceStub._opsClass
|
static Class |
_DynFixedStub._opsClass
|
static Class |
_DynEnumStub._opsClass
|
static Class |
_DynArrayStub._opsClass
|
static Class |
_DynValueStub._opsClass
|
static Class |
_DynAnyStub._opsClass
|
static Class |
_DynUnionStub._opsClass
|
static Class |
_DynAnyFactoryStub._opsClass
|
static Class |
_DynStructStub._opsClass
|
Uses of Class in org.omg.PortableServer |
Fields in org.omg.PortableServer declared as Class | |
static Class |
_ServantLocatorStub._opsClass
|
static Class |
_ServantActivatorStub._opsClass
|
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.