当前位置: 首页>>代码示例>>Java>>正文


Java JRDesignField.PROPERTY_VALUE_CLASS_NAME属性代码示例

本文整理汇总了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");
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:37,代码来源:MField.java

示例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;
}
 
开发者ID:JockiHendry,项目名称:ireport-fork,代码行数:8,代码来源:FieldNode.java


注:本文中的net.sf.jasperreports.engine.design.JRDesignField.PROPERTY_VALUE_CLASS_NAME属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。