JavaBean
As the official definition, it's kind of reusable component that developer can visually edit some property and bind some event method at design and runtime through visible inspector.
Naming convention for java bean:
instance field:
T propertyName;
Getter:
Setter:
void setPropertyName(
For boolean value instance field, the get method should be changed to:
boolean isPropertyName();
For the event object, all must inherit java.util.EventObject.
[@more@]声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。