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:

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@]