• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ComparatorCreator类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.openbravo.data.loader.ComparatorCreator的典型用法代码示例。如果您正苦于以下问题:Java ComparatorCreator类的具体用法?Java ComparatorCreator怎么用?Java ComparatorCreator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ComparatorCreator类属于com.openbravo.data.loader包,在下文中一共展示了ComparatorCreator类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: init

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
private Comparator init(ComparatorCreator cc) throws BasicException {
    
    initComponents();

    getRootPane().setDefaultButton(jcmdOK);   
    
    m_cc = cc;
    
    String[] sHeaders = m_cc.getHeaders();
    
    m_jSort1.removeAllItems();
    m_jSort1.addItem("");
    for (int i = 0; i < sHeaders.length; i++) {
        m_jSort1.addItem(sHeaders[i]);
    }
    m_jSort1.setSelectedItem(0);
    
    m_jSort2.removeAllItems();
    m_jSort2.addItem("");
    for (int i = 0; i < sHeaders.length; i++) {
        m_jSort2.addItem(sHeaders[i]);
    }
    m_jSort2.setSelectedItem(0);
    
    m_jSort3.removeAllItems();
    m_jSort3.addItem("");
    for (int i = 0; i < sHeaders.length; i++) {
        m_jSort3.addItem(sHeaders[i]);
    }
    m_jSort3.setSelectedItem(0);
    
    m_Comparator = null;
    setVisible(true);       
    return m_Comparator;
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:36,代码来源:JSort.java


示例2: showMessage

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public static Comparator showMessage(Component parent, ComparatorCreator cc) throws BasicException {
     
    Window window = getWindow(parent);      
    
    JSort myMsg;
    if (window instanceof Frame) { 
        myMsg = new JSort((Frame) window, true);
    } else {
        myMsg = new JSort((Dialog) window, true);
    }
    return myMsg.init(cc);
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:13,代码来源:JSort.java


示例3: showMessage

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
/**
 *
 * @param parent
 * @param cc
 * @return
 * @throws BasicException
 */
public static Comparator showMessage(Component parent, ComparatorCreator cc) throws BasicException {
     
    Window window = getWindow(parent);      
    
    JSort myMsg;
    if (window instanceof Frame) { 
        myMsg = new JSort((Frame) window, true);
    } else {
        myMsg = new JSort((Dialog) window, true);
    }
    return myMsg.init(cc);
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:20,代码来源:JSort.java


示例4: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
    return new RowComparatorCreator();
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:Row.java


示例5: JNavigator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public JNavigator(BrowsableEditableData bd, Vectorer vec, ComparatorCreator cc) {
    this(bd, vec, cc, BUTTONS_ALL);
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:JNavigator.java


示例6: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
    return tpeople.getComparatorCreator(new int[] {1, 3});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:PeoplePanel.java


示例7: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
    return tresources.getComparatorCreator(new int[] {1, 2});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:5,代码来源:ResourcesPanel.java


示例8: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
    return troles.getComparatorCreator(new int[] {1});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:RolesPanel.java


示例9: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
    return tcustomers.getComparatorCreator(new int[] {1, 2, 3, 4});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:5,代码来源:CustomersPanel.java


示例10: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public final ComparatorCreator getComparatorCreator() {
    return row.getComparatorCreator();
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:5,代码来源:JPanelTable2.java


示例11: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
    return null;
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:JPanelTable.java


示例12: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
    return tcategories.getComparatorCreator(new int[]{1});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:CategoriesPanel.java


示例13: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
    return ttaxcategories.getComparatorCreator(new int[] {1});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:5,代码来源:TaxCategoriesPanel.java


示例14: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
    return ttaxes.getComparatorCreator(new int[] {1, 6, 8});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:5,代码来源:TaxPanel.java


示例15: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
    return tlocations.getComparatorCreator(new int[] {1, 2});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:5,代码来源:LocationsPanel.java


示例16: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
    return tthirdparties.getComparatorCreator(new int[] {1, 2, 3, 4});
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:ThirdPartiesPanel.java


示例17: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
/**
 *
 * @return
 */
@Override
public ComparatorCreator getComparatorCreator() {
    return tbreaks.getComparatorCreator(new int[] {1, 2});
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:9,代码来源:BreaksPanel.java


示例18: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
/**
 *
 * @return
 */
@Override
public ComparatorCreator getComparatorCreator() {
    return tleaves.getComparatorCreator(new int[] {2, 3, 4, 5});
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:9,代码来源:LeavesPanel.java


示例19: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
/**
 *
 * @return
 */
@Override
public ComparatorCreator getComparatorCreator() {
    return tpeople.getComparatorCreator(new int[] {1, 3});
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:9,代码来源:PeoplePanel.java


示例20: getComparatorCreator

import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
/**
 *
 * @return
 */
@Override
public ComparatorCreator getComparatorCreator() {
    return tresources.getComparatorCreator(new int[] {1, 2});
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:9,代码来源:ResourcesPanel.java



注:本文中的com.openbravo.data.loader.ComparatorCreator类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java EntityTravelToDimensionEvent类代码示例发布时间:2022-05-22
下一篇:
Java Catalog类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap