|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.PropertyInfo
org.progeeks.meta.ContainerPropertyInfo
public class ContainerPropertyInfo
Extension of the PropertyInfo interface to provide additional information about container property contents.
Field Summary |
---|
Fields inherited from class org.progeeks.meta.PropertyInfo |
---|
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT |
Constructor Summary | |
---|---|
ContainerPropertyInfo()
Creates an empty and unfixed property info suitable for bean-like property loading. |
|
ContainerPropertyInfo(ContainerPropertyInfo info,
PropertyType type)
|
|
ContainerPropertyInfo(java.lang.String propertyName,
ContainerPropertyInfo info)
|
|
ContainerPropertyInfo(java.lang.String propertyName,
java.lang.String name,
PropertyType type)
|
|
ContainerPropertyInfo(java.lang.String propertyName,
java.lang.String name,
PropertyType type,
boolean writable,
boolean resizable)
|
|
ContainerPropertyInfo(java.lang.String propertyName,
java.lang.String name,
java.lang.String shortName,
java.lang.String description,
PropertyType type,
int alignment,
boolean writable,
boolean resizable,
boolean mutable)
|
|
ContainerPropertyInfo(java.lang.String propertyName,
java.lang.String name,
java.lang.String shortName,
java.lang.String description,
PropertyType type,
int alignment,
boolean writable,
boolean readable,
boolean resizable,
boolean mutable)
|
|
ContainerPropertyInfo(java.lang.String propertyName,
java.lang.String name,
java.lang.String shortName,
java.lang.String description,
PropertyType type,
java.lang.Object defaultValue,
int alignment,
boolean writable,
boolean readable,
boolean resizable,
boolean mutable)
|
Method Summary | |
---|---|
boolean |
equals(ContainerPropertyInfo obj)
|
boolean |
equals(java.lang.Object obj)
|
PropertyType |
getCollectionValueType()
Returns the current element type of the container info's property type, or null if no property type has been set yet. |
PropertyType |
getListValueType()
Returns the current element type of the container info's property type, or null if no property type has been set yet. |
int |
hashCode()
|
boolean |
isMutable()
Returns true if the elements can be replaced. |
boolean |
isResizable()
Returns true if the property supports resizing such as with add or remove. |
PropertyInfo |
replacePropertyName(java.lang.String name)
Clones this property info, replacing the property name with the name specified. |
PropertyInfo |
replacePropertyType(PropertyType type)
Clones this property info, replacing the property type with the type specified. |
void |
setCollectionValueType(PropertyType type)
Sets the element type by wrapping it in a ContainerPropertyType and calling setPropertyType. |
void |
setListValueType(PropertyType type)
Sets the element type by wrapping it in a ListPropertyType and calling setPropertyType. |
void |
setMutable(boolean mutable)
Sets the mutability of the containers referenced by this property. |
void |
setResizable(boolean resizable)
Sets the resizability of the containers referenced by this property. |
java.lang.String |
toString()
|
Methods inherited from class org.progeeks.meta.PropertyInfo |
---|
compareTo, equals, getDefaultValue, getDescription, getName, getPropertyAlignment, getPropertyName, getPropertyType, getShortName, getSplitName, isFixed, isReadable, isWritable, setDefaultValue, setDescription, setFixed, setName, setPropertyAlignment, setPropertyName, setPropertyType, setReadable, setShortName, setWritable |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContainerPropertyInfo()
public ContainerPropertyInfo(java.lang.String propertyName, java.lang.String name, java.lang.String shortName, java.lang.String description, PropertyType type, int alignment, boolean writable, boolean readable, boolean resizable, boolean mutable)
public ContainerPropertyInfo(java.lang.String propertyName, java.lang.String name, java.lang.String shortName, java.lang.String description, PropertyType type, java.lang.Object defaultValue, int alignment, boolean writable, boolean readable, boolean resizable, boolean mutable)
public ContainerPropertyInfo(java.lang.String propertyName, java.lang.String name, java.lang.String shortName, java.lang.String description, PropertyType type, int alignment, boolean writable, boolean resizable, boolean mutable)
public ContainerPropertyInfo(java.lang.String propertyName, java.lang.String name, PropertyType type, boolean writable, boolean resizable)
public ContainerPropertyInfo(java.lang.String propertyName, java.lang.String name, PropertyType type)
public ContainerPropertyInfo(java.lang.String propertyName, ContainerPropertyInfo info)
public ContainerPropertyInfo(ContainerPropertyInfo info, PropertyType type)
Method Detail |
---|
public PropertyInfo replacePropertyType(PropertyType type)
replacePropertyType
in class PropertyInfo
public PropertyInfo replacePropertyName(java.lang.String name)
replacePropertyName
in class PropertyInfo
public void setResizable(boolean resizable)
public boolean isResizable()
public void setMutable(boolean mutable)
public boolean isMutable()
public void setCollectionValueType(PropertyType type)
public PropertyType getCollectionValueType()
public void setListValueType(PropertyType type)
public PropertyType getListValueType()
public boolean equals(ContainerPropertyInfo obj)
public boolean equals(java.lang.Object obj)
equals
in class PropertyInfo
public int hashCode()
hashCode
in class PropertyInfo
public java.lang.String toString()
toString
in class PropertyInfo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |