本文整理汇总了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);
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}