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


Java Datas.IMAGE属性代码示例

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


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

示例1: init

public void init(Session s){
    this.s = s;
    
    m_tpeople = new TableDefinition(s,
        "PEOPLE"
        , new String[] {"ID", "NAME", "APPPASSWORD", "ROLE", "VISIBLE", "CARD", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("label.peoplename"), AppLocal.getIntString("Label.Password"), AppLocal.getIntString("label.role"), AppLocal.getIntString("label.peoplevisible"), AppLocal.getIntString("label.card"), AppLocal.getIntString("label.peopleimage")}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.BOOLEAN, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.STRING, Formats.STRING, Formats.BOOLEAN, Formats.STRING, Formats.NULL}
        , new int[] {0}
    );   
    
    m_troles = new TableDefinition(s,
        "ROLES"
        , new String[] {"ID", "NAME", "PERMISSIONS"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "PERMISSIONS"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.NULL}
        , new int[] {0}
    );  
    
    m_tresources = new TableDefinition(s,
        "RESOURCES"
        , new String[] {"ID", "NAME", "RESTYPE", "CONTENT"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), AppLocal.getIntString("label.type"), "CONTENT"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.INT, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.INT, Formats.NULL}
        , new int[] {0}
    );           
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:30,代码来源:DataLogicAdmin.java

示例2: init

protected void init() {
    tfloors = new TableDefinition(app.getSession(),
        "FLOORS"
        , new String[] {"ID", "NAME", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "IMAGE"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.NULL, Formats.STRING}
        , new int[] {0}
    );  
    jeditor = new FloorsEditor(dirty); 
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:11,代码来源:JPanelFloors.java

示例3: init

/**
 *
 */
@Override
protected void init() {
    tfloors = new TableDefinition(app.getSession(),
        "FLOORS"
        , new String[] {"ID", "NAME", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "IMAGE"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.NULL, Formats.STRING}
        , new int[] {0}
    );  
    jeditor = new FloorsEditor(dirty); 
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:15,代码来源:JPanelFloors.java

示例4: init

@Override
public void init(Session s){
    this.s = s;

    m_tpeople = new TableDefinition(s,
        "PEOPLE"
        , new String[] {"ID", "NAME", "APPPASSWORD", "ROLE", "VISIBLE", "CARD", "IMAGE", "PROPERTIES"}
        , new String[] {"ID", AppLocal.getIntString("label.peoplename"), AppLocal.getIntString("Label.Password"), AppLocal.getIntString("label.role"), AppLocal.getIntString("label.peoplevisible"), AppLocal.getIntString("label.card"), AppLocal.getIntString("label.peopleimage"), "PROPERTIES"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.BOOLEAN, Datas.STRING, Datas.IMAGE, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.STRING, Formats.STRING, Formats.BOOLEAN, Formats.STRING, Formats.NULL, Formats.NULL}
        , "NAME"
        , new int[] {0}
    );
    
    m_troles = new TableDefinition(s,
        "ROLES"
        , new String[] {"ID", "NAME", "PERMISSIONS"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "PERMISSIONS"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.NULL}
        , "NAME"
        , new int[] {0}
    );

    m_tresources = new TableDefinition(s,
        "RESOURCES"
        , new String[] {"ID", "NAME", "RESTYPE", "CONTENT"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), AppLocal.getIntString("label.type"), "CONTENT"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.INT, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.INT, Formats.NULL}
        , "NAME"
        , new int[] {0}
    );
}
 
开发者ID:nordpos,项目名称:nordpos,代码行数:34,代码来源:DataLogicAdmin.java

示例5: init

protected void init() {
    tfloors = new TableDefinition(app.getSession(),
        "FLOORS"
        , new String[] {"ID", "NAME", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "IMAGE"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.NULL, Formats.STRING}
        , "NAME"
        , new int[] {0}
    );
    jeditor = new FloorsEditor(dirty);
}
 
开发者ID:nordpos,项目名称:nordpos,代码行数:12,代码来源:JPanelFloors.java

示例6: getTableLayers

public final TableDefinition getTableLayers() {
    return new TableDefinition(s,
            "GEOLAYERS",
            new String[]{"ID", "NAME", "VISIBLE", "ICON", "COLOUR"},
            new String[]{"ID", AppLocal.getIntString("Label.Name"), "", AppLocal.getIntString("label.image"), ""},
            new Datas[]{Datas.STRING, Datas.STRING, Datas.BOOLEAN, Datas.IMAGE, Datas.STRING},
            new Formats[]{Formats.NULL, Formats.STRING, Formats.BOOLEAN, Formats.NULL, Formats.STRING},
            "NAME",
            new int[]{0}
    );
}
 
开发者ID:nordpos,项目名称:nordpos,代码行数:11,代码来源:DataLogicGeomap.java


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