本文整理汇总了Java中com.openbravo.data.gui.ListQBFModelNumber类的典型用法代码示例。如果您正苦于以下问题:Java ListQBFModelNumber类的具体用法?Java ListQBFModelNumber怎么用?Java ListQBFModelNumber使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ListQBFModelNumber类属于com.openbravo.data.gui包,在下文中一共展示了ListQBFModelNumber类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ProductFilterSales
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
/** Creates new form ProductFilterSales */
public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
initComponents();
// El modelo de categorias
m_sentcat = dlSales.getCategoriesList();
m_CategoryModel = new ComboBoxValModel();
m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jPriceBuy.addEditorKeys(jKeys);
m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jPriceSell.addEditorKeys(jKeys);
m_jtxtName.addEditorKeys(jKeys);
m_jtxtBarCode.addEditorKeys(jKeys);
}
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:19,代码来源:ProductFilterSales.java
示例2: init
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
/**
*
* @param app
*/
@Override
public void init(AppView app) {
DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
// El modelo de categorias
m_sentcat = dlSales.getCategoriesList();
m_CategoryModel = new ComboBoxValModel();
// m_jCboName.setModel(new ListQBFModelNumber());
// m_jCboPriceBuy.setModel(new ListQBFModelNumber());
// m_jCboPriceSell.setModel(new ListQBFModelNumber());
m_jCboName.setModel(ListQBFModelNumber.getMandatoryString());
m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
}
开发者ID:gnoopy,项目名称:wifepos,代码行数:21,代码来源:ProductFilter.java
示例3: ProductFilterSales
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
/** Creates new form ProductFilterSales
* @param dlSales
* @param jKeys */
public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
initComponents();
m_jtxtName.addEditorKeys(jKeys);
m_jtxtBarCode.addEditorKeys(jKeys);
// El modelo de categorias
m_sentcat = dlSales.getCategoriesList();
m_CategoryModel = new ComboBoxValModel();
m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jPriceBuy.addEditorKeys(jKeys);
m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jPriceSell.addEditorKeys(jKeys);
// JG July 2014 - added for Stock count
m_jCboStockUnits.setModel(ListQBFModelNumber.getOverrideMandatoryNumber());
m_jStockUnits.addEditorKeys(jKeys);
}
开发者ID:gnoopy,项目名称:wifepos,代码行数:24,代码来源:ProductFilterSales.java
示例4: defaultValues
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
private void defaultValues() {
jListTickets.setModel(new MyListData(new ArrayList()));
jcboUser.setSelectedItem(null);
jtxtTicketID.reset();
jtxtTicketID.activate();
jTxtStartDate.setText(null);
jTxtEndDate.setText(null);
jtxtCustomer.setText(null);
jComboBoxTicket.setSelectedIndex(0);
jcboUser.setSelectedItem(null);
jcboMoney.setSelectedItem( ((ListQBFModelNumber)jcboMoney.getModel()).getElementAt(0) );
jcboMoney.revalidate();
jcboMoney.repaint();
jtxtMoney.reset();
jTxtStartDate.setText(null);
jTxtEndDate.setText(null);
jtxtCustomer.setText(null);
}
开发者ID:gnoopy,项目名称:wifepos,代码行数:25,代码来源:JTicketsFinder.java
示例5: ProductFilterSales
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
/** Creates new form ProductFilterSales
* @param dlSales
* @param jKeys */
public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
initComponents();
m_jtxtBarCode.addEditorKeys(jKeys);
m_jtxtName.addEditorKeys(jKeys);
// El modelo de categorias
m_sentcat = dlSales.getCategoriesList();
m_CategoryModel = new ComboBoxValModel();
m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jPriceBuy.addEditorKeys(jKeys);
m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jPriceSell.addEditorKeys(jKeys);
// JG July 2014 - added for Stock count
m_jCboStockUnits.setModel(ListQBFModelNumber.getOverrideMandatoryNumber());
m_jStockUnits.addEditorKeys(jKeys);
}
开发者ID:sbandur84,项目名称:micro-Blagajna,代码行数:24,代码来源:ProductFilterSales.java
示例6: initCombos
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
private void initCombos() {
String[] values = new String[] {AppLocal.getIntString("label.sales"),
AppLocal.getIntString("label.refunds"), AppLocal.getIntString("label.all")};
jComboBoxTicket.setModel(new DefaultComboBoxModel(values));
jcboMoney.setModel(ListQBFModelNumber.getMandatoryNumber());
m_sentcat = dlSales.getUserList();
m_CategoryModel = new ComboBoxValModel();
List catlist = null;
try {
catlist = m_sentcat.list();
catlist.add(0, null);
} catch (BasicException ex) {
ex.getMessage();
}
m_CategoryModel = new ComboBoxValModel(catlist);
jcboUser.setModel(m_CategoryModel);
}
开发者ID:nordpos,项目名称:nordpos,代码行数:21,代码来源:JTicketsFinder.java
示例7: initCombos
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
private void initCombos() {
String[] values = new String[] {AppLocal.getIntString("label.sales"),
AppLocal.getIntString("label.refunds"), AppLocal.getIntString("label.all")};
jComboBoxTicket.setModel(new DefaultComboBoxModel(values));
jcboMoney.setModel(ListQBFModelNumber.getMandatoryNumber());
m_sentcat = dlSales.getUserList();
m_CategoryModel = new ComboBoxValModel();
List catlist=null;
try {
catlist = m_sentcat.list();
} catch (BasicException ex) {
ex.getMessage();
}
catlist.add(0, null);
m_CategoryModel = new ComboBoxValModel(catlist);
jcboUser.setModel(m_CategoryModel);
}
开发者ID:ZarGate,项目名称:OpenbravoPOS,代码行数:21,代码来源:JTicketsFinder.java
示例8: init
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
public void init(AppView app) {
DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
// El modelo de categorias
m_sentcat = dlSales.getCategoriesList();
m_CategoryModel = new ComboBoxValModel();
m_jCboName.setModel(ListQBFModelNumber.getMandatoryString());
m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
}
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:13,代码来源:ProductFilter.java
示例9: MaterialFilter
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
/** Creates new form JQBFProduct
* @param dlSales */
public MaterialFilter(DataLogicSales dlSales) {
initComponents();
//El modelo de productos
m_sentprods = dlSales.getProductList();
m_ProdsModel = new ComboBoxValModel();
m_jCboName.setModel(new ListQBFModelNumber());
m_jCboPriceBuy.setModel(new ListQBFModelNumber());
}
开发者ID:gnoopy,项目名称:wifepos,代码行数:13,代码来源:MaterialFilter.java
示例10: defaultValues
import com.openbravo.data.gui.ListQBFModelNumber; //导入依赖的package包/类
private void defaultValues() {
jListTickets.setModel(new MyListData(new ArrayList()));
jcboUser.setSelectedItem(null);
jtxtTicketID.reset();
jtxtTicketID.activate();
jComboBoxTicket.setSelectedIndex(0);
jcboUser.setSelectedItem(null);
jcboMoney.setSelectedItem( ((ListQBFModelNumber)jcboMoney.getModel()).getElementAt(0) );
jcboMoney.revalidate();
jcboMoney.repaint();
jtxtMoney.reset();
jTxtStartDate.setText(null);
jTxtEndDate.setText(null);
jtxtCustomer.setText(null);
}
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:26,代码来源:JTicketsFinder.java
注:本文中的com.openbravo.data.gui.ListQBFModelNumber类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论