当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
BaseOptionsBeanInfo (Editor Module) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.editor.options
Class BaseOptionsBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
org.netbeans.modules.editor.options.BaseOptionsBeanInfo
- All Implemented Interfaces:
- BeanInfo
- Direct Known Subclasses:
- AllOptionsBeanInfo, AllOptionsFolderBeanInfo
public class BaseOptionsBeanInfo
- extends SimpleBeanInfo
BeanInfo for base options
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseOptionsBeanInfo
public BaseOptionsBeanInfo()
BaseOptionsBeanInfo
public BaseOptionsBeanInfo(String iconPrefix)
BaseOptionsBeanInfo
public BaseOptionsBeanInfo(String iconPrefix,
String bundlePrefix)
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in interface BeanInfo
- Overrides:
getPropertyDescriptors
in class SimpleBeanInfo
createPropertyDescriptor
protected PropertyDescriptor createPropertyDescriptor(String propName)
- Create property descriptor for a particular property-name.
updatePropertyDescriptors
protected void updatePropertyDescriptors()
- Update various properties of the property descriptors.
usesNewOptions
protected boolean usesNewOptions()
getBeanClass
protected Class getBeanClass()
getPropNames
protected String[] getPropNames()
getPD
protected PropertyDescriptor getPD(String propName)
setPropertyEditor
protected void setPropertyEditor(String propName,
Class propEditor,
boolean canEditAsText)
setPropertyEditor
protected void setPropertyEditor(String propName,
Class propEditor)
setExpert
protected void setExpert(String[] propNames)
setHidden
protected void setHidden(String[] propNames)
getIcon
public Image getIcon(int type)
- Specified by:
getIcon
in interface BeanInfo
- Overrides:
getIcon
in class SimpleBeanInfo
getString
protected String getString(String key)
- Get localized string for the given key.
- Parameters:
key
- the key string for which the localized
text is being retrieved. The localized string
for the key must exist otherwise
MissingResourceException
gets thrown.
- Returns:
- localized string