本文整理汇总了Java中com.openbravo.pos.panels.AuxiliarFilter类的典型用法代码示例。如果您正苦于以下问题:Java AuxiliarFilter类的具体用法?Java AuxiliarFilter怎么用?Java AuxiliarFilter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AuxiliarFilter类属于com.openbravo.pos.panels包,在下文中一共展示了AuxiliarFilter类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: init
import com.openbravo.pos.panels.AuxiliarFilter; //导入依赖的package包/类
protected void init() {
filter = new AuxiliarFilter();
filter.init(app);
filter.addActionListener(new ReloadActionListener());
row = new Row(
new Field("ID", Datas.STRING, Formats.STRING),
new Field("PRODUCT1", Datas.STRING, Formats.STRING),
new Field("PRODUCT2", Datas.STRING, Formats.STRING),
new Field(AppLocal.getIntString("label.prodref"), Datas.STRING, Formats.STRING, true, true, true),
new Field(AppLocal.getIntString("label.prodbarcode"), Datas.STRING, Formats.STRING, false, true, true),
new Field(AppLocal.getIntString("label.prodname"), Datas.STRING, Formats.STRING, true, true, true)
);
Table table = new Table(
"PRODUCTS_COM",
new PrimaryKey("ID"),
new Column("PRODUCT"),
new Column("PRODUCT2"));
lpr = row.getListProvider(app.getSession(),
"SELECT COM.ID, COM.PRODUCT, COM.PRODUCT2, P.REFERENCE, P.CODE, P.NAME " +
"FROM PRODUCTS_COM COM, PRODUCTS P " +
"WHERE COM.PRODUCT2 = P.ID AND COM.PRODUCT = ?", filter);
spr = row.getSaveProvider(app.getSession(), table);
editor = new AuxiliarEditor(app, dirty);
}
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:29,代码来源:AuxiliarPanel.java
示例2: actionPerformed
import com.openbravo.pos.panels.AuxiliarFilter; //导入依赖的package包/类
@Override
public void actionPerformed(ActionEvent e) {
try {
reload((AuxiliarFilter) e.getSource());
} catch (BasicException w) {
}
}
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:8,代码来源:AuxiliarPanel.java
示例3: init
import com.openbravo.pos.panels.AuxiliarFilter; //导入依赖的package包/类
/**
*
*/
@Override
protected void init() {
filter = new AuxiliarFilter();
filter.init(app);
filter.addActionListener(new ReloadActionListener());
row = new Row(
new Field("ID", Datas.STRING, Formats.STRING),
new Field("PRODUCT1", Datas.STRING, Formats.STRING),
new Field("PRODUCT2", Datas.STRING, Formats.STRING),
new Field(AppLocal.getIntString("label.prodref"), Datas.STRING, Formats.STRING, true, true, true),
new Field(AppLocal.getIntString("label.prodbarcode"), Datas.STRING, Formats.STRING, false, true, true),
new Field(AppLocal.getIntString("label.prodname"), Datas.STRING, Formats.STRING, true, true, true)
);
Table table = new Table(
"PRODUCTS_COM",
new PrimaryKey("ID"),
new Column("PRODUCT"),
new Column("PRODUCT2"));
lpr = row.getListProvider(app.getSession(),
"SELECT COM.ID, COM.PRODUCT, COM.PRODUCT2, P.REFERENCE, P.CODE, P.NAME " +
"FROM PRODUCTS_COM COM, PRODUCTS P " +
"WHERE COM.PRODUCT2 = P.ID AND COM.PRODUCT = ?", filter);
spr = row.getSaveProvider(app.getSession(), table);
editor = new AuxiliarEditor(app, dirty);
}
开发者ID:gnoopy,项目名称:wifepos,代码行数:33,代码来源:AuxiliarPanel.java
示例4: reload
import com.openbravo.pos.panels.AuxiliarFilter; //导入依赖的package包/类
private void reload(AuxiliarFilter filter) throws BasicException {
ProductInfoExt prod = filter.getProductInfoExt();
editor.setInsertProduct(prod); // must be set before load
bd.setEditable(prod != null);
bd.actionLoad();
}
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:7,代码来源:AuxiliarPanel.java
注:本文中的com.openbravo.pos.panels.AuxiliarFilter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论