Overview | Methods | This Package | All Packages
Specifies the attributes of the component class.
Syntax
public void getAttributes( IAttributes attributes )
Parameters
attributes
An object implementing the IAtttibutes interface that is used to enumerate the attributes.
Remarks
For each attribute, getAttributes calls the add method of the attributes parameter. The following example shows a portion of the ClassInfo of the Control class:
public static class ClassInfo extends Component.ClassInfo {
public void getAttributes(IAttributes attribs) {
super.getAttributes(attribs);
// Specify that the control should be displayed in the toolbox.
attribs.add(ShowInToolboxAttribute.YES);
}
}