?? inputregisterbeaninfo.java
字號:
package com.bean;
import java.awt.*;
import java.beans.*;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class InputRegisterBeanInfo extends SimpleBeanInfo {
Class beanClass = InputRegister.class;
String iconColor16x16Filename;
String iconColor32x32Filename;
String iconMono16x16Filename;
String iconMono32x32Filename;
public InputRegisterBeanInfo() {
}
public PropertyDescriptor[] getPropertyDescriptors() {
try {
PropertyDescriptor _area = new PropertyDescriptor(
"area", beanClass, "getArea", "setArea");
PropertyDescriptor _auditingPeop = new PropertyDescriptor(
"auditingPeop", beanClass, "getAuditingPeop",
"setAuditingPeop");
PropertyDescriptor _carNum = new PropertyDescriptor(
"carNum", beanClass, "getCarNum", "setCarNum");
PropertyDescriptor _clientName = new PropertyDescriptor(
"clientName", beanClass, null, null);
PropertyDescriptor _computerOperator = new PropertyDescriptor(
"computerOperator", beanClass, "getComputerOperator",
"setComputerOperator");
PropertyDescriptor _conveyPeopl = new PropertyDescriptor(
"conveyPeopl", beanClass, "getConveyPeopl",
"setConveyPeopl");
PropertyDescriptor _delFlagd = new PropertyDescriptor(
"delFlagd", beanClass, "getDelFlagd", "setDelFlagd");
PropertyDescriptor _dischargeExpense = new PropertyDescriptor(
"dischargeExpense", beanClass, "getDischargeExpense",
"setDischargeExpense");
PropertyDescriptor _disrepairAmount = new PropertyDescriptor(
"disrepairAmount", beanClass, "getDisrepairAmount",
"setDisrepairAmount");
PropertyDescriptor _disrepairWeight = new PropertyDescriptor(
"disrepairWeight", beanClass, "getDisrepairWeight",
"setDisrepairWeight");
PropertyDescriptor _driver = new PropertyDescriptor(
"driver", beanClass, "getDriver", "setDriver");
PropertyDescriptor _firstAudFlag = new PropertyDescriptor(
"firstAudFlag", beanClass, "getFirstAudFlag",
"setFirstAudFlag");
PropertyDescriptor _guaranteePeriod = new PropertyDescriptor(
"guaranteePeriod", beanClass, "getGuaranteePeriod",
"setGuaranteePeriod");
PropertyDescriptor _guiFenNum = new PropertyDescriptor(
"guiFenNum", beanClass, "getGuiFenNum", "setGuiFenNum");
PropertyDescriptor _inApId = new PropertyDescriptor(
"inApId", beanClass, "getInApId", "setInApId");
PropertyDescriptor _inRegiId = new PropertyDescriptor(
"inRegiId", beanClass, "getInRegiId", "setInRegiId");
PropertyDescriptor _planAmount = new PropertyDescriptor(
"planAmount", beanClass, null, null);
PropertyDescriptor _planWeight = new PropertyDescriptor(
"planWeight", beanClass, null, null);
PropertyDescriptor _primitiveId = new PropertyDescriptor(
"primitiveId", beanClass, "getPrimitiveId",
"setPrimitiveId");
PropertyDescriptor _produceBatch = new PropertyDescriptor(
"produceBatch", beanClass, "getProduceBatch",
"setProduceBatch");
PropertyDescriptor _productGrade = new PropertyDescriptor(
"productGrade", beanClass, "getProductGrade",
"setProductGrade");
PropertyDescriptor _productName = new PropertyDescriptor(
"productName", beanClass, null, null);
PropertyDescriptor _realAmount = new PropertyDescriptor(
"realAmount", beanClass, "getRealAmount", "setRealAmount");
PropertyDescriptor _realWeight = new PropertyDescriptor(
"realWeight", beanClass, "getRealWeight", "setRealWeight");
PropertyDescriptor _registerDate = new PropertyDescriptor(
"registerDate", beanClass, "getRegisterDate",
"setRegisterDate");
PropertyDescriptor _registerKind = new PropertyDescriptor(
"registerKind", beanClass, "getRegisterKind",
"setRegisterKind");
PropertyDescriptor _registerNote = new PropertyDescriptor(
"registerNote", beanClass, "getRegisterNote",
"setRegisterNote");
PropertyDescriptor _registerState = new PropertyDescriptor(
"registerState", beanClass, "getRegisterState",
"setRegisterState");
PropertyDescriptor _shName = new PropertyDescriptor(
"shName", beanClass, null, null);
PropertyDescriptor _shSpace = new PropertyDescriptor(
"shSpace", beanClass, "getShSpace", "setShSpace");
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_area,
_auditingPeop,
_carNum,
_clientName,
_computerOperator,
_conveyPeopl,
_delFlagd,
_dischargeExpense,
_disrepairAmount,
_disrepairWeight,
_driver,
_firstAudFlag,
_guaranteePeriod,
_guiFenNum,
_inApId,
_inRegiId,
_planAmount,
_planWeight,
_primitiveId,
_produceBatch,
_productGrade,
_productName,
_realAmount,
_realWeight,
_registerDate,
_registerKind,
_registerNote,
_registerState,
_shName,
_shSpace
};
return pds;
} catch (Exception exception) {
exception.printStackTrace();
return null;
}
}
public 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 + -