📄 debug15_5beaninfo.java
字号:
package questions.c15;
import java.beans.*;
public class Debug15_5BeanInfo extends SimpleBeanInfo {
public PropertyDescriptor[] getPropertyDescriptors() {
PropertyDescriptor[] pds = null;
try {
pds = new PropertyDescriptor[] {
new PropertyDescriptor( "corners",
Debug15_5.class ),
};
pds[0].setShortDescription(
"The shape of the rectangle's corners" );
pds[0].setBound( false );
} catch( IntrospectionException ix ) {
ix.printStackTrace();
return super.getPropertyDescriptors();
}
return pds;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -