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.

创新互联从2013年创立,是专业互联网技术服务公司,拥有项目网站设计、成都网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元临县做网站,已为上家服务,为临县各地企业和个人服务,联系电话:028-86922220

Naming convention for java bean:

instance field:

T propertyName;

Getter:

getPropertyName();

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@]
文章名称:JavaBean
本文来源:http://scjbc.cn/article/jcddhp.html

其他资讯