站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

BaseOptionsBeanInfo (Editor Module) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor/3 1.32.0

org.netbeans.modules.editor.options
Class BaseOptionsBeanInfo

java.lang.Object
  extended by java.beans.SimpleBeanInfo
      extended by org.netbeans.modules.editor.options.BaseOptionsBeanInfo
All Implemented Interfaces:
BeanInfo
Direct Known Subclasses:
AllOptionsBeanInfo, AllOptionsFolderBeanInfo

public class BaseOptionsBeanInfo
extends SimpleBeanInfo

BeanInfo for base options


Nested Class Summary
static class BaseOptionsBeanInfo.CaretTypeEditor
           
 
Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
BaseOptionsBeanInfo()
           
BaseOptionsBeanInfo(String iconPrefix)
           
BaseOptionsBeanInfo(String iconPrefix, String bundlePrefix)
           
 
Method Summary
protected  PropertyDescriptor createPropertyDescriptor(String propName)
          Create property descriptor for a particular property-name.
protected  Class getBeanClass()
           
 Image getIcon(int type)
           
protected  PropertyDescriptor getPD(String propName)
           
 PropertyDescriptor[] getPropertyDescriptors()
           
protected  String[] getPropNames()
           
protected  String getString(String key)
          Get localized string for the given key.
protected  void setExpert(String[] propNames)
           
protected  void setHidden(String[] propNames)
           
protected  void setPropertyEditor(String propName, Class propEditor)
           
protected  void setPropertyEditor(String propName, Class propEditor, boolean canEditAsText)
           
protected  void updatePropertyDescriptors()
          Update various properties of the property descriptors.
protected  boolean usesNewOptions()
           
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, 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

BaseOptionsBeanInfo

public BaseOptionsBeanInfo()

BaseOptionsBeanInfo

public BaseOptionsBeanInfo(String iconPrefix)

BaseOptionsBeanInfo

public BaseOptionsBeanInfo(String iconPrefix,
                           String bundlePrefix)
Method Detail

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

org.netbeans.modules.editor/3 1.32.0

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.