ClassInfo Class

ClassInfo Class

This Package | All Packages

public class ClassInfo
implements IClassInfo

Represents the base class implementation of IClassInfo, which is used to describe a component so that it is compatible with the Visual J++ designer.

Methods
Name Description
getAttributes(IAttributes attributes) Specifies the attributes of the associated class by calling the add() method of the specified IAttributes callback interface.
getCustomizer(Object component) Retrieves a customizer for the specified component.
getDefaultEventName() Retrieves the name of the default event for the associated component class.
getDefaultPropertyName() Retrieves the name of the default property for the associated component class.
getEvents(IEvents events) Specifies the events of the associated class by calling the add() method of the specified IEvents callback interface.
getExtenders(IExtenders extenders) Specifies the properties of the associated class by calling the appropriate add() methods of the specified IProperties callback interface.
getProperties(IProperties props) Specifies the properties of the associated class by calling the appropriate add() methods of the specified IProperties callback interface.
getToolboxBitmap() Retrieves an image that contains a 16x16 pixel icon used to represent the component in toolboxes, list views, and so on.

Methods

ClassInfo.getAttributes

Syntax
public void getAttributes( IAttributes attributes );
Parameters
attributes
An IAttributes interface that functions as a callback for the attribute list.
Description

Specifies the attributes of the associated class by calling the add() method of the specified IAttributes callback interface.

See Also
wfc.core.IAttributes, getAttributes

ClassInfo.getCustomizer

Syntax
public ICustomizer getCustomizer( Object component );
Parameters
component
Topic under construction.
Return Value

Returns the customizer.

Description

Retrieves a customizer for the specified component.

See Also
getCustomizer

ClassInfo.getDefaultEventName

Syntax
public String getDefaultEventName();
Return Value

Returns the default event name.

Description

Retrieves the name of the default event for the associated component class.

See Also
getDefaultEventName

ClassInfo.getDefaultPropertyName

Syntax
public String getDefaultPropertyName();
Description

Retrieves the name of the default property for the associated component class.

See Also
getDefaultPropertyName

ClassInfo.getEvents

Syntax
public void getEvents( IEvents events );
Parameters
events
An IEvents interface that functions as a callback for the event list.
Description

Specifies the events of the associated class by calling the add() method of the specified IEvents callback interface.

See Also
wfc.core.IEvents, getEvents

ClassInfo.getExtenders

Syntax
public void getExtenders( IExtenders extenders );
Parameters
extenders
Topic under construction.
Description

Specifies the properties of the associated class by calling the appropriate add() methods of the specified IProperties callback interface.

See Also
getExtenders

ClassInfo.getProperties

Syntax
public void getProperties( IProperties props );
Parameters
props
Topic under construction.
Description

Specifies the properties of the associated class by calling the appropriate add() methods of the specified IProperties callback interface.

See Also
getProperties

ClassInfo.getToolboxBitmap

Syntax
public Bitmap getToolboxBitmap();
Return Value

Returns the icon bitmap.

Description

Retrieves an image that contains a 16x16 pixel icon used to represent the component in toolboxes, list views, and so on.

See Also
getToolboxBitmap