net.rim.device.api.web
Class WidgetFeature

java.lang.Object
  extended by net.rim.device.api.web.WidgetFeature

public class WidgetFeature
extends Object

The WidgetFeature class represents the information stored in the 'feature' tags of a Widget's config.xml file.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 5.0.0

Constructor Summary
Category: Signed WidgetFeature(String id, boolean isRequired, String version, WidgetFeature[] dependentFeatures)
          The constructor will create a WidgetAccess object with the informaiton passed in.
 
Method Summary
Category: Signed  WidgetFeature[] getDependentFeatures()
          Returns an array of the WidgetFeature that this feature depends on.
Category: Signed  String getID()
          Returns the ID of the feature.
Category: Signed  String getVersion()
          Returns the required version for the feature.
Category: Signed  boolean isRequired()
          True if the feature is required to load, false otherwise.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

WidgetFeature

public WidgetFeature(String id,
                     boolean isRequired,
                     String version,
                     WidgetFeature[] dependentFeatures)
The constructor will create a WidgetAccess object with the informaiton passed in.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 5.0.0


Method Detail

getID

public String getID()
Returns the ID of the feature.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 5.0.0

isRequired

public boolean isRequired()
True if the feature is required to load, false otherwise.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 5.0.0

getVersion

public String getVersion()
Returns the required version for the feature.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 5.0.0

getDependentFeatures

public WidgetFeature[] getDependentFeatures()
Returns an array of the WidgetFeature that this feature depends on.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 5.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal