?? dialbeaninfo.java
字號(hào):
//file: DialBeanInfo.javapackage magicbeans;import java.beans.*;public class DialBeanInfo extends SimpleBeanInfo { public PropertyDescriptor[] getPropertyDescriptors( ) { try { PropertyDescriptor value = new PropertyDescriptor("value", Dial.class); PropertyDescriptor minimum = new PropertyDescriptor("minimum", Dial.class); PropertyDescriptor maximum = new PropertyDescriptor("maximum", Dial.class); value.setBound(true); minimum.setBound(false); maximum.setBound(false); return new PropertyDescriptor [] { value, minimum, maximum }; } catch (IntrospectionException e) { return null; } }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -