|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.SimpleBeanInfo
com.l2fprod.common.beans.BaseBeanInfo
public class BaseBeanInfo
A convenient class to build beaninfos by adding and removing
properties.
Field Summary |
---|
Fields inherited from interface java.beans.BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
BaseBeanInfo(java.lang.Class type)
|
Method Summary | |
---|---|
ExtendedPropertyDescriptor |
addProperty(java.lang.String propertyName)
|
protected java.beans.PropertyDescriptor |
addPropertyDescriptor(java.beans.PropertyDescriptor property)
|
java.beans.BeanDescriptor |
getBeanDescriptor()
|
java.lang.String |
getDescription(java.lang.Object value)
Return a text describing briefly the object. |
java.awt.Image |
getIcon(int kind)
Get the icon for displaying this bean. |
java.beans.PropertyDescriptor |
getPropertyDescriptor(int index)
|
int |
getPropertyDescriptorCount()
|
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
|
ResourceManager |
getResources()
|
java.lang.String |
getText(java.lang.Object value)
Return a text describing the object. |
java.lang.String |
getToolTipText(java.lang.Object value)
Return a text describing the object. |
java.lang.Class |
getType()
|
java.beans.PropertyDescriptor |
removeProperty(java.lang.String propertyName)
Removes the first occurrence of the property named propertyName |
Methods inherited from class java.beans.SimpleBeanInfo |
---|
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseBeanInfo(java.lang.Class type)
Method Detail |
---|
public final java.lang.Class getType()
public ResourceManager getResources()
public java.beans.BeanDescriptor getBeanDescriptor()
getBeanDescriptor
in interface java.beans.BeanInfo
getBeanDescriptor
in class java.beans.SimpleBeanInfo
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface java.beans.BeanInfo
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
public int getPropertyDescriptorCount()
public java.beans.PropertyDescriptor getPropertyDescriptor(int index)
protected java.beans.PropertyDescriptor addPropertyDescriptor(java.beans.PropertyDescriptor property)
public ExtendedPropertyDescriptor addProperty(java.lang.String propertyName)
public java.beans.PropertyDescriptor removeProperty(java.lang.String propertyName)
propertyName
propertyName
-
public java.awt.Image getIcon(int kind)
getIcon
in interface java.beans.BeanInfo
getIcon
in class java.beans.SimpleBeanInfo
kind
- Kind of icon.
public java.lang.String getText(java.lang.Object value)
value
- an Object
value
public java.lang.String getDescription(java.lang.Object value)
value
- an Object
value
String
valuepublic java.lang.String getToolTipText(java.lang.Object value)
value
- an Object
value
String
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |