本文整理汇总了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;
}
示例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);
}
示例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);
}
示例4: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
return new RowComparatorCreator();
}
示例5: JNavigator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public JNavigator(BrowsableEditableData bd, Vectorer vec, ComparatorCreator cc) {
this(bd, vec, cc, BUTTONS_ALL);
}
示例6: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
return tpeople.getComparatorCreator(new int[] {1, 3});
}
示例7: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
return tresources.getComparatorCreator(new int[] {1, 2});
}
示例8: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
return troles.getComparatorCreator(new int[] {1});
}
示例9: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
return tcustomers.getComparatorCreator(new int[] {1, 2, 3, 4});
}
示例10: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public final ComparatorCreator getComparatorCreator() {
return row.getComparatorCreator();
}
示例11: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
return null;
}
示例12: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
public ComparatorCreator getComparatorCreator() {
return tcategories.getComparatorCreator(new int[]{1});
}
示例13: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
return ttaxcategories.getComparatorCreator(new int[] {1});
}
示例14: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
return ttaxes.getComparatorCreator(new int[] {1, 6, 8});
}
示例15: getComparatorCreator
import com.openbravo.data.loader.ComparatorCreator; //导入依赖的package包/类
@Override
public ComparatorCreator getComparatorCreator() {
return tlocations.getComparatorCreator(new int[] {1, 2});
}