当前位置: 首页>>代码示例>>Java>>正文


Java ComparatorCreator类代码示例

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


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


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