DefaultSourceElement.CompilerPropertyDescriptor Class

com.bea.ide.sourceeditor.element
DefaultSourceElement.CompilerPropertyDescriptor Class

protected class DefaultSourceElement.CompilerPropertyDescriptor

    extends PropertyDescriptor

A CompilerPropertyDescriptor object describes a property that is found on a given source element type. These properties are made up of a property name, a default value, and a compiler ID for the property type.


Hierarchy
Object
  FeatureDescriptor
    PropertyDescriptor
      DefaultSourceElement.CompilerPropertyDescriptor
Enclosing class

DefaultSourceElement

Constructor Summary

DefaultSourceElement.CompilerPropertyDescriptor(DefaultSourceElement.StaticCompilerPropertyDescriptor pdOther)

Constructor which avoids the cost of doing reflection to find the getter and setter methods.
DefaultSourceElement.CompilerPropertyDescriptor(String propertyName, Class beanClass, Object defaultValue, IStructureFeature.StructureCode compilerTypeCode, boolean displayProperty)

 

Method Summary

public List
getChildren()
public Object
getDefaultValue()
public String
getDescription()
public String
getFriendlyName()
public String
getLabel()
public IStructureFeature.StructureCode
getTypeCode()
public Object
getValue()
public boolean
isDisplayedProperty()
public void
setValue(Object value)
 
Methods from  java.beans.PropertyDescriptor
equals, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod
 
Methods from  java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

DefaultSourceElement.CompilerPropertyDescriptor

public DefaultSourceElement.CompilerPropertyDescriptor(DefaultSourceElement.StaticCompilerPropertyDescriptor pdOther)
Constructor which avoids the cost of doing reflection to find the getter and setter methods.

DefaultSourceElement.CompilerPropertyDescriptor

public DefaultSourceElement.CompilerPropertyDescriptor(String propertyName, 
                                                       Class beanClass, 
                                                       Object defaultValue, 
                                                       IStructureFeature.StructureCode compilerTypeCode, 
                                                       boolean displayProperty)
 

Method Detail

getChildren() Method

DEPRECATED This method is a remnant of an old property page implementation, and is no longer used.

public List getChildren()

getDefaultValue() Method

public Object getDefaultValue()

getDescription() Method

DEPRECATED This method is a remnant of an old property page implementation, and is no longer used.

public String getDescription()

getFriendlyName() Method

DEPRECATED This method is a remnant of an old property page implementation, and is no longer used.

public String getFriendlyName()

getLabel() Method

DEPRECATED This method is a remnant of an old property page implementation, and is no longer used.

public String getLabel()

getTypeCode() Method

public IStructureFeature.StructureCode getTypeCode()

getValue() Method

public Object getValue()

Returns

The current value of this property.

isDisplayedProperty() Method

DEPRECATED This method is a remnant of an old property page implementation, and is no longer used.

public boolean isDisplayedProperty()

setValue(Object) Method

DEPRECATED This method is a remnant of an old property page implementation, and is no longer used.

public void setValue(Object value)