public class DisplayFieldInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DBFIELD
Field data type.
|
static int |
DETAIL_COLUMN
Useful constant for locating summary field.
|
static int |
PARAMETERFIELD
Field data type.
|
static int |
SUMMARY_COLUMN
Useful constant for locating summary field.
|
static int |
SYSTEMFIELD
Field data type.
|
static int |
TEXTFIELD
Field data type.
|
static int |
USERDEFINED_DETAIL_COLUMN
Useful constant for locating summary field.
|
| Constructor and Description |
|---|
DisplayFieldInfo(java.lang.String blName,
java.lang.String fieldName,
java.lang.String displayName,
java.lang.String titleAttachingPlace)
Constructs field information.
|
DisplayFieldInfo(java.lang.String blName,
java.lang.String fieldName,
java.lang.String displayName,
java.lang.String titleAttachingPlace,
double width,
double height,
double x,
double y)
Constructs field information.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBLName()
Gets the field's business logic name.
|
java.util.Hashtable |
getControlByOtherSet() |
java.lang.String |
getDisplayName()
Gets the field's display name.
|
java.lang.String |
getFieldName()
Gets the field's query resource name.
|
int |
getFieldType()
Sets the field's type.
|
double |
getHeight()
Gets the field's height.
|
java.util.Hashtable |
getProperties()
Gets predefined field's properties.
|
java.lang.String |
getTitleAttachingPlace()
Gets the handle of the field's attached object.
|
double |
getWidth()
Gets the field's width.
|
double |
getX()
Gets the field's x position.
|
double |
getY()
Gets the field's y position.
|
void |
setBLName(java.lang.String blName)
Sets the field's business logic name.
|
void |
setDisplayName(java.lang.String displayName)
Sets the field's display name.
|
void |
setFieldName(java.lang.String fieldName)
Sets the field's query resource name.
|
void |
setFieldType(int fieldType)
Gets the field's type.
|
void |
setHeight(double height)
Sets the field's height.
|
void |
setPropertyControlByOther(java.lang.String propertyName,
boolean isControlByOther)
Sets whether the property is controlled by other fields or formulas.
|
void |
setPropertyValue(java.lang.String propertyName,
boolean bPropertyValue)
Sets the property's value if it is a Boolean type property.
|
void |
setPropertyValue(java.lang.String propertyName,
java.awt.Color cPropertyValue)
Sets the roperty's value if it is a Color type property.
|
void |
setPropertyValue(java.lang.String propertyName,
double dPropertyValue)
Sets the property's value if it is a Double type property..
|
void |
setPropertyValue(java.lang.String propertyName,
float fPropertyValue)
Sets the property's value if it is a float type property.
|
void |
setPropertyValue(java.lang.String propertyName,
int iPropertyValue)
Sets the property's value if it is a Integer type property.
|
void |
setPropertyValue(java.lang.String propertyName,
long lPropertyValue)
Sets the property's value if it is a long type property.
|
void |
setPropertyValue(java.lang.String propertyName,
java.lang.String sPropertyValue)
Sets the property's value if it is a String type property.
|
void |
setTitleAttachingPlace(java.lang.String titleAttachingPlace)
Sets the handle of the field's attached object.
|
void |
setWidth(double width)
Sets the field's width.
|
void |
setX(double x)
Sets the field's x position.
|
void |
setY(double y)
Sets the field's y position.
|
public static final int DBFIELD
public static final int TEXTFIELD
public static final int SYSTEMFIELD
public static final int PARAMETERFIELD
public static final int SUMMARY_COLUMN
public static final int DETAIL_COLUMN
public static final int USERDEFINED_DETAIL_COLUMN
public DisplayFieldInfo(java.lang.String blName,
java.lang.String fieldName,
java.lang.String displayName,
java.lang.String titleAttachingPlace)
blName - A business logic field name. It can be null if it is a query field, systemfield, parameter field or text field.fieldName - A query field name. It can be null if it is a business logic field or text field.displayName - A display field name.titleAttachingPlace - Indicates the attached object's handle.public DisplayFieldInfo(java.lang.String blName,
java.lang.String fieldName,
java.lang.String displayName,
java.lang.String titleAttachingPlace,
double width,
double height,
double x,
double y)
blName - A business logic field name. It can be null if it is a query field, systemfield, parameter field or text field.fieldName - A query field name. It can be null if it is a business logic field or text field.displayName - A display field name.titleAttachingPlace - Indicates the attached object's handle.width - Predefined field's width.height - Predefined field's height.x - Predefined field's x position.y - Predefined field's y position.public java.util.Hashtable getControlByOtherSet()
public java.util.Hashtable getProperties()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - field's display name.public java.lang.String getBLName()
public void setBLName(java.lang.String blName)
blName - field's business logic name.public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
fieldName - Field's query resource name.public double getHeight()
public void setHeight(double height)
height - Field's height.public java.lang.String getTitleAttachingPlace()
public void setTitleAttachingPlace(java.lang.String titleAttachingPlace)
titleAttachingPlace - The handle of the field's attached object.public double getWidth()
public void setWidth(double width)
width - Field's width.public double getX()
public void setX(double x)
x - Field's x position.public double getY()
public void setY(double y)
y - Field's y position.public void setFieldType(int fieldType)
fieldType - Field's type.public int getFieldType()
public void setPropertyControlByOther(java.lang.String propertyName,
boolean isControlByOther)
propertyName - Property name.isControlByOther - If the property is controlled by other.public void setPropertyValue(java.lang.String propertyName,
boolean bPropertyValue)
propertyName - Property name.bPropertyValue - Property's boolean value.public void setPropertyValue(java.lang.String propertyName,
int iPropertyValue)
propertyName - Property name.iPropertyValue - Property's int value.public void setPropertyValue(java.lang.String propertyName,
float fPropertyValue)
propertyName - Property name.fPropertyValue - Property's float value.public void setPropertyValue(java.lang.String propertyName,
long lPropertyValue)
propertyName - Property name.lPropertyValue - Property's long value.public void setPropertyValue(java.lang.String propertyName,
double dPropertyValue)
propertyName - Property name.dPropertyValue - Property's double value.public void setPropertyValue(java.lang.String propertyName,
java.awt.Color cPropertyValue)
propertyName - Property name.cPropertyValue - Property's color value.public void setPropertyValue(java.lang.String propertyName,
java.lang.String sPropertyValue)
propertyName - Property name.sPropertyValue - Property's string value.