📄 cconnectionbeaninfo.java
字号:
package org.compiere.db;
import java.beans.*;
/**
* Generated
*/
public class CConnectionBeanInfo extends SimpleBeanInfo
{
private Class beanClass = CConnection.class;
private String iconColor16x16Filename;
private String iconColor32x32Filename;
private String iconMono16x16Filename;
private String iconMono32x32Filename;
public CConnectionBeanInfo()
{
}
public PropertyDescriptor[] getPropertyDescriptors()
{
try
{
PropertyDescriptor _apps_host = new PropertyDescriptor("apps_host", beanClass, "getApps_host", "setApps_host");
PropertyDescriptor _apps_port = new PropertyDescriptor("apps_port", beanClass, "getApps_port", "setApps_port");
PropertyDescriptor _appsServer = new PropertyDescriptor("appsServer", beanClass, "getAppsServer", null);
PropertyDescriptor _appsServerException = new PropertyDescriptor("appsServerException", beanClass, "getAppsServerException", null);
PropertyDescriptor _appsServerOK = new PropertyDescriptor("appsServerOK", beanClass, "isAppsServerOK", null);
PropertyDescriptor _attributes = new PropertyDescriptor("attributes", beanClass, null, "setAttributes");
PropertyDescriptor _bequeath = new PropertyDescriptor("bequeath", beanClass, "isBequeath", "setBequeath");
PropertyDescriptor _connectionString = new PropertyDescriptor("connectionString", beanClass, "getConnectionString", null);
PropertyDescriptor _database = new PropertyDescriptor("database", beanClass, "getDatabase", null);
PropertyDescriptor _databaseException = new PropertyDescriptor("databaseException", beanClass, "getDatabaseException", null);
PropertyDescriptor _databaseOK = new PropertyDescriptor("databaseOK", beanClass, "isDatabaseOK", null);
PropertyDescriptor _db_host = new PropertyDescriptor("db_host", beanClass, "getDb_host", "setDb_host");
PropertyDescriptor _db_name = new PropertyDescriptor("db_name", beanClass, "getDb_name", "setDb_name");
PropertyDescriptor _db_port = new PropertyDescriptor("db_port", beanClass, "getDb_port", "setDb_port");
PropertyDescriptor _db_pwd = new PropertyDescriptor("db_pwd", beanClass, "getDb_pwd", "setDb_pwd");
PropertyDescriptor _db_uid = new PropertyDescriptor("db_uid", beanClass, "getDb_uid", "setDb_uid");
PropertyDescriptor _fw_host = new PropertyDescriptor("fw_host", beanClass, "getFw_host", "setFw_host");
PropertyDescriptor _fw_port = new PropertyDescriptor("fw_port", beanClass, "getFw_port", "setFw_port");
PropertyDescriptor _name = new PropertyDescriptor("name", beanClass, "getName", "setName");
PropertyDescriptor _rmiUri = new PropertyDescriptor("rmiUri", beanClass, "getRmiUri", null);
PropertyDescriptor _type = new PropertyDescriptor("type", beanClass, "getType", "setType");
PropertyDescriptor _viaFirewall = new PropertyDescriptor("viaFirewall", beanClass, "isViaFirewall", "setViaFirewall");
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_apps_host,
_apps_port,
_appsServer,
_appsServerException,
_appsServerOK,
_attributes,
_bequeath,
_connectionString,
_database,
_databaseException,
_databaseOK,
_db_host,
_db_name,
_db_port,
_db_pwd,
_db_uid,
_fw_host,
_fw_port,
_name,
_rmiUri,
_type,
_viaFirewall};
return pds;
}
catch(IntrospectionException ex)
{
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind)
{
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -