本文整理汇总了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}
);
}
示例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);
}
示例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);
}
示例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}
);
}
示例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);
}
示例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}
);
}