public class FieldDescriptor extends Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
FieldDescriptor()
Constructrs an empty field descriptor
|
FieldDescriptor(Field field)
Constructs a field descriptor from the supplied java.lang.reflect.Field object.
|
FieldDescriptor(String name)
Constructrs a field descriptor with the given name.
|
FieldDescriptor(String name,
String description)
Constructrs a field descriptor with the given name and description.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkFieldName(String fieldName)
Check if a field name is of an acceptable value (start with a lowercase
letter)
|
boolean |
equals(Object object)
Equality iff the other objects is a field descriptor with the same name.
|
int |
hashCode()
My hashcode.
|
void |
print(StringBuffer toStringBuffer)
Returns a formatted version of me as a String.
|
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic FieldDescriptor()
public FieldDescriptor(String name)
public FieldDescriptor(String name, String description)
public FieldDescriptor(Field field)
public boolean equals(Object object)
public void print(StringBuffer toStringBuffer)
print in class Descriptorpublic static void checkFieldName(String fieldName) throws IllegalArgumentException
Check if a field name is of an acceptable value (start with a lowercase letter)
fieldName - is the field name to testIllegalArgumentExceptionCopyright © 2017. All rights reserved.