|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.beans.SimpleBeanInfo | +--javax.media.bean.playerbean.MediaPlayerBeanInfo
Provides explicit bean information for the
MediaPlayer
. It provides descriptions of each property and
indicates which MediaPlayer
properties are bound.
Invoked by JavaBeansTM application builders.
Field Summary |
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
MediaPlayerBeanInfo()
|
Method Summary | |
java.beans.BeanDescriptor |
getBeanDescriptor()
Gets the bean descriptor for this bean, which defines information about MediaPlayer such as its displayName . |
int |
getDefaultPropertyIndex()
Gets the default property index for this bean. |
java.beans.EventSetDescriptor[] |
getEventSetDescriptors()
Gets a list of the events fired by this bean. |
java.awt.Image |
getIcon(int ic)
Gets the icon to be used in the bean tool for this bean. |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Gets a list of bean PropertyDescriptor objects, one for
each public property in the MediaPlayer . |
Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getDefaultEventIndex, getMethodDescriptors, loadImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MediaPlayerBeanInfo()
Method Detail |
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
PropertyDescriptor
objects, one for
each public property in the MediaPlayer
.
getPropertyDescriptors
in interface java.beans.BeanInfo
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
PropertyDescriptor
array that contains all of the bean property
descriptors for this MediaPlayer
.public int getDefaultPropertyIndex()
MediaPlayer
.
getDefaultPropertyIndex
in interface java.beans.BeanInfo
getDefaultPropertyIndex
in class java.beans.SimpleBeanInfo
public java.beans.BeanDescriptor getBeanDescriptor()
MediaPlayer
such as its displayName
.
getBeanDescriptor
in interface java.beans.BeanInfo
getBeanDescriptor
in class java.beans.SimpleBeanInfo
BeanDescriptor
for MediaPlayer
.public java.beans.EventSetDescriptor[] getEventSetDescriptors()
getEventSetDescriptors
in interface java.beans.BeanInfo
getEventSetDescriptors
in class java.beans.SimpleBeanInfo
EventSetDescriptor
objects that describes the kinds
of events fired by this bean.public java.awt.Image getIcon(int ic)
getIcon
in interface java.beans.BeanInfo
getIcon
in class java.beans.SimpleBeanInfo
ic
- Indicates the format for the icon image. The valid format constants are defined
in SimpleBeanInfo
: ICON_COLOR_16x16
, ICON_COLOR_32x32
,
ICON_MONO_16x16
, and ICON_MONO_16x16
.
Image
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |