API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. EventSetDescriptor View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      FeatureDescriptor
          EventSetDescriptor
Implements
Subclasses
Description
public class EventSetDescriptor
  An EventSetDescriptor describes a group of events that a given Java bean fires.
See also:   
Constructors
public EventSetDescriptor (Class<Object> sourceClass, String eventSetName, Class<Object> listenerType, String listenerMethodName) throws IntrospectionException
  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.
public EventSetDescriptor (Class<Object> sourceClass, String eventSetName, Class<Object> listenerType, String listenerMethodNames, String addListenerMethodName, String removeListenerMethodName) throws IntrospectionException
  Creates an EventSetDescriptor from scratch using string names.
public EventSetDescriptor (Class<Object> sourceClass, String eventSetName, Class<Object> listenerType, String listenerMethodNames, String addListenerMethodName, String removeListenerMethodName, String getListenerMethodName) throws IntrospectionException
  This constructor creates an EventSetDescriptor from scratch using string names.
pack-private EventSetDescriptor (EventSetDescriptor old)
pack-private EventSetDescriptor (EventSetDescriptor x, EventSetDescriptor y)
public EventSetDescriptor (String eventSetName, Class<Object> listenerType, Method listenerMethods, Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException
  Creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
public EventSetDescriptor (String eventSetName, Class<Object> listenerType, Method listenerMethods, Method addListenerMethod, Method removeListenerMethod, Method getListenerMethod) throws IntrospectionException
  This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects.
public EventSetDescriptor (String eventSetName, Class<Object> listenerType, MethodDescriptor listenerMethodDescriptors, Method addListenerMethod, Method removeListenerMethod) throws IntrospectionException
  Creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects.
Methods
Hide/Show inherited methods
public Enumeration<String> attributeNames () [Inherited From FeatureDescriptor]
  Gets an enumeration of the locale-independent names of this feature.
pack-privatestatic String capitalize (String s) [Inherited From FeatureDescriptor]
pack-privatestatic Reference createReference (Object obj) [Inherited From FeatureDescriptor]
pack-privatestatic Reference createReference (Object obj, boolean soft) [Inherited From FeatureDescriptor]
  Create a Reference wrapper for the object.
publicsynchronized Method getAddListenerMethod ()
  Gets the method used to add event listeners.
pack-private Class getClass0 () [Inherited From FeatureDescriptor]
public String getDisplayName () [Inherited From FeatureDescriptor]
  Gets the localized display name of this feature.
publicsynchronized Method getGetListenerMethod ()
  Gets the method used to access the registered event listeners.
publicsynchronized MethodDescriptor getListenerMethodDescriptors ()
  Gets the MethodDescriptors of the target listener interface.
publicsynchronized Method getListenerMethods ()
  Gets the methods of the target listener interface.
public Class<Object> getListenerType ()
  Gets the Class object for the target interface.
public String getName () [Inherited From FeatureDescriptor]
  Gets the programmatic name of this feature.
pack-privatestatic Object getObject (Reference ref) [Inherited From FeatureDescriptor]
  Returns an object from a Reference wrapper.
publicsynchronized Method getRemoveListenerMethod ()
  Gets the method used to remove event listeners.
public String getShortDescription () [Inherited From FeatureDescriptor]
  Gets the short description of this feature.
public Object getValue (String attributeName) [Inherited From FeatureDescriptor]
  Retrieve a named attribute with this feature.
public boolean isExpert () [Inherited From FeatureDescriptor]
  The "expert" flag is used to distinguish between those features that are intended for expert users from those that are intended for normal users.
public boolean isHidden () [Inherited From FeatureDescriptor]
  The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
public boolean isInDefaultEventSet ()
  Reports if an event set is in the "default" set.
public boolean isPreferred () [Inherited From FeatureDescriptor]
  The "preferred" flag is used to identify features that are particularly important for presenting to humans.
public boolean isUnicast ()
  Normally event sources are multicast.
pack-private void setClass0 (Class cls) [Inherited From FeatureDescriptor]
public void setDisplayName (String displayName) [Inherited From FeatureDescriptor]
  Sets the localized display name of this feature.
public void setExpert (boolean expert) [Inherited From FeatureDescriptor]
  The "expert" flag is used to distinguish between features that are intended for expert users from those that are intended for normal users.
public void setHidden (boolean hidden) [Inherited From FeatureDescriptor]
  The "hidden" flag is used to identify features that are intended only for tool use, and which should not be exposed to humans.
public void setInDefaultEventSet (boolean inDefaultEventSet)
  Marks an event set as being in the "default" set (or not).
public void setName (String name) [Inherited From FeatureDescriptor]
  Sets the programmatic name of this feature.
public void setPreferred (boolean preferred) [Inherited From FeatureDescriptor]
  The "preferred" flag is used to identify features that are particularly important for presenting to humans.
public void setShortDescription (String text) [Inherited From FeatureDescriptor]
  You can associate a short descriptive string with a feature.
public void setUnicast (boolean unicast)
  Mark an event set as unicast (or not).
public void setValue (String attributeName, Object value) [Inherited From FeatureDescriptor]
  Associate a named attribute with this feature.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar