示例#1
0
 private BooleanBinding isAssembledButNoBOM() {
   return FX.isEmpty(itemTab.getBomTable())
       .and(
           FX.is(getTypeCombo(), ItemType.BUNDLED)
               .or(FX.is(getTypeCombo(), ItemType.MADE))
               .or(FX.is(getTypeCombo(), ItemType.REPACKED)));
 }
示例#2
0
 @Override
 public void setFocus() {
   itemTab.getTab().getTabPane().getSelectionModel().select(0);
 }
示例#3
0
 private ComboBox<ItemType> getTypeCombo() {
   return itemTab.getTypeCombo();
 }
示例#4
0
 private BooleanBinding isPurchasedButNoQtyPerUom() {
   return FX.is(getTypeCombo(), ItemType.PURCHASED).and(FX.isEmpty(itemTab.getQtyPerUomTable()));
 }