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


Java JavaBeanStringPropertyBuilder.name方法代码示例

本文整理汇总了Java中javafx.beans.property.adapter.JavaBeanStringPropertyBuilder.name方法的典型用法代码示例。如果您正苦于以下问题:Java JavaBeanStringPropertyBuilder.name方法的具体用法?Java JavaBeanStringPropertyBuilder.name怎么用?Java JavaBeanStringPropertyBuilder.name使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在javafx.beans.property.adapter.JavaBeanStringPropertyBuilder的用法示例。


在下文中一共展示了JavaBeanStringPropertyBuilder.name方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: ItemCompraEntityWrapper

import javafx.beans.property.adapter.JavaBeanStringPropertyBuilder; //导入方法依赖的package包/类
public ItemCompraEntityWrapper(ItemCompra itemCompra) {
    _itemCompra = itemCompra;

    try {
        JavaBeanStringPropertyBuilder builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemCompra);
        builder.name("codigo");
        codigo = builder.build();

        builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemCompra);
        builder.name("nombre");
        nombre = builder.build();

        JavaBeanObjectPropertyBuilder<BigDecimal> builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemCompra);
        builder1.name("cantidad");
        cantidad = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemCompra);
        builder1.name("costoUnitario");
        costoUnitario = builder1.build();

        importe = new SimpleObjectProperty<BigDecimal>();
        importe.set( new BigDecimal(0) );

        JavaBeanObjectPropertyBuilder<Articulo> builder2 = JavaBeanObjectPropertyBuilder.create();
        builder2.bean(itemCompra);
        builder2.name("articulo");
        articulo = builder2.build();

    } catch (NoSuchMethodException e) {
        logger.error("Invalid method to wrap", e);
    }
}
 
开发者ID:ZooMMX,项目名称:Omoikane,代码行数:37,代码来源:ItemCompraEntityWrapper.java

示例2: ItemTraspasoPropWrapper

import javafx.beans.property.adapter.JavaBeanStringPropertyBuilder; //导入方法依赖的package包/类
public ItemTraspasoPropWrapper(ItemTraspasoSaliente itemConteo) {
    _itemConteo = itemConteo;

    try {
        JavaBeanStringPropertyBuilder builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemConteo);
        builder.name("codigo");
        codigo = builder.build();

        builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemConteo);
        builder.name("nombre");
        nombre = builder.build();

        JavaBeanObjectPropertyBuilder<BigDecimal> builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("cantidad");
        cantidad = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("stockDB");
        stockDB = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("costoUnitario");
        costoUnitario = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("precioPublico");
        precioPublico = builder1.build();

        JavaBeanObjectPropertyBuilder<Articulo> builder2 = JavaBeanObjectPropertyBuilder.create();
        builder2.bean(itemConteo);
        builder2.name("articulo");
        articulo = builder2.build();
    } catch (NoSuchMethodException e) {
        logger.error("Invalid method to wrap", e);
    }
}
 
开发者ID:ZooMMX,项目名称:Omoikane,代码行数:43,代码来源:ItemTraspasoPropWrapper.java

示例3: ItemConteoPropWrapper

import javafx.beans.property.adapter.JavaBeanStringPropertyBuilder; //导入方法依赖的package包/类
public ItemConteoPropWrapper(ItemConteoInventario itemConteo) {
    _itemConteo = itemConteo;

    try {
        JavaBeanStringPropertyBuilder builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemConteo);
        builder.name("codigo");
        codigo = builder.build();

        builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemConteo);
        builder.name("nombre");
        nombre = builder.build();

        JavaBeanObjectPropertyBuilder<BigDecimal> builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("conteo");
        conteo = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("stockDB");
        stockDB = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("costoUnitario");
        costoUnitario = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("diferencia");
        diferencia = builder1.build();

        JavaBeanObjectPropertyBuilder<Articulo> builder2 = JavaBeanObjectPropertyBuilder.create();
        builder2.bean(itemConteo);
        builder2.name("articulo");
        articulo = builder2.build();
    } catch (NoSuchMethodException e) {
        logger.error("Invalid method to wrap", e);
    }
}
 
开发者ID:ZooMMX,项目名称:Omoikane,代码行数:43,代码来源:ItemConteoPropWrapper.java

示例4: ItemTraspasoPropWrapper

import javafx.beans.property.adapter.JavaBeanStringPropertyBuilder; //导入方法依赖的package包/类
public ItemTraspasoPropWrapper(ItemTraspasoEntrante itemConteo) {
    _itemConteo = itemConteo;

    try {
        JavaBeanStringPropertyBuilder builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemConteo);
        builder.name("codigo");
        codigo = builder.build();

        builder = JavaBeanStringPropertyBuilder.create();
        builder.bean(itemConteo);
        builder.name("nombre");
        nombre = builder.build();

        JavaBeanObjectPropertyBuilder<BigDecimal> builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("cantidad");
        cantidad = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("stockDB");
        stockDB = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("costoUnitario");
        costoUnitario = builder1.build();

        builder1 = JavaBeanObjectPropertyBuilder.create();
        builder1.bean(itemConteo);
        builder1.name("precioPublico");
        precioPublico = builder1.build();

        JavaBeanObjectPropertyBuilder<Articulo> builder2 = JavaBeanObjectPropertyBuilder.create();
        builder2.bean(itemConteo);
        builder2.name("articulo");
        articulo = builder2.build();
    } catch (NoSuchMethodException e) {
        logger.error("Invalid method to wrap", e);
    }
}
 
开发者ID:ZooMMX,项目名称:Omoikane,代码行数:43,代码来源:ItemTraspasoPropWrapper.java


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