本文整理汇总了Java中net.sf.jasperreports.engine.design.JRDesignField.PROPERTY_VALUE_CLASS_NAME属性的典型用法代码示例。如果您正苦于以下问题:Java JRDesignField.PROPERTY_VALUE_CLASS_NAME属性的具体用法?Java JRDesignField.PROPERTY_VALUE_CLASS_NAME怎么用?Java JRDesignField.PROPERTY_VALUE_CLASS_NAME使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类net.sf.jasperreports.engine.design.JRDesignField
的用法示例。
在下文中一共展示了JRDesignField.PROPERTY_VALUE_CLASS_NAME属性的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createPropertyDescriptors
/**
* Creates the property descriptors.
*
* @param desc
* the desc
*/
@Override
public void createPropertyDescriptors(List<IPropertyDescriptor> desc, Map<String, Object> defaultsMap) {
JPropertiesPropertyDescriptor propertiesD = new JPropertiesPropertyDescriptor(PROPERTY_MAP,
Messages.common_properties);
propertiesD.setDescription(Messages.MField_properties_description);
desc.add(propertiesD);
propertiesD.setHelpRefBuilder(new HelpReferenceBuilder(
"net.sf.jasperreports.doc/docs/schema.reference.html?cp=0_1#property"));
validator = new FieldNameValidator();
validator.setTargetNode(this);
JSSTextPropertyDescriptor nameD = new JSSValidatedTextPropertyDescriptor(JRDesignField.PROPERTY_NAME, Messages.common_name, validator);
nameD.setDescription(Messages.MField_name_description);
desc.add(nameD);
NClassTypePropertyDescriptor classD = new NClassTypePropertyDescriptor(JRDesignField.PROPERTY_VALUE_CLASS_NAME,
Messages.common_class);
classD.setDescription(Messages.MField_class_description);
desc.add(classD);
classD.setHelpRefBuilder(new HelpReferenceBuilder(
"net.sf.jasperreports.doc/docs/schema.reference.html?cp=0_1#field_class"));
NTextPropertyDescriptor descriptionD = new NTextPropertyDescriptor(JRDesignField.PROPERTY_DESCRIPTION,
Messages.common_description);
descriptionD.setDescription(Messages.MField_description_description);
desc.add(descriptionD);
descriptionD.setHelpRefBuilder(new HelpReferenceBuilder(
"net.sf.jasperreports.doc/docs/schema.reference.html?cp=0_1#fieldDescription"));
setHelpPrefix(desc, "net.sf.jasperreports.doc/docs/schema.reference.html?cp=0_1#field");
}
示例2: ValueClassNameProperty
@SuppressWarnings("unchecked")
public ValueClassNameProperty(JRDesignField field)
{
super(JRDesignField.PROPERTY_VALUE_CLASS_NAME, String.class,
I18n.getString("FieldNode.Property.FieldClass"),
I18n.getString("FieldNode.Property.FieldClass"));
this.field = field;
}