ClassInfo.getExtenders

Overview | Methods | This Package | All Packages

ClassInfo.getExtenders

Specifies the extender properties of the component class.

Syntax

public void getExtenders( IExtenders extenders )

Parameters

extenders

An object implementing the IExtenders interface that is used to enumerate the extenders.

Remarks

For each extender property, getExtenders calls the add method of the extenders parameter. The following example shows a portion of the ClassInfo of the HelpProvider class:

public static class ClassInfo extends Component.ClassInfo {

   public static final ExtenderInfo helpTopic = new ExtenderInfo(HelpProvider.class, 
      "helpTopic", Control.class, String.class, 
      DefaultValueAttribute.NULL,
      LocalizableAttribute.YES,
      new DescriptionAttribute("The help topic."));

   public static final ExtenderInfo helpString = new ExtenderInfo(HelpProvider.class,
      "helpString", Control.class, String.class, 
      DefaultValueAttribute.NULL,
      LocalizableAttribute.YES,
      new DescriptionAttribute("The help string."));

   public void getExtenders(IExtenders iexts) {
      super.getExtenders(iexts);
      iexts.add(helpTopic);
      iexts.add(helpString);
   }
 }