Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

oracle.adf.model.datacontrols.application
Class ApplicationFeatures

Object
  extended by oracle.adf.model.datacontrols.application.ApplicationFeatures

public class ApplicationFeatures
extends Object

Application Features data control class. This class encapsulates application features such as hide/show navigation bar, enumerate application features, etc. This is used directly by JDeveloper to expose these services at design time in the DataControl palette.


Constructor Summary
ApplicationFeatures()
           
 
Method Summary
 Object getApplicationIconBadgeNumber()
           
 oracle.adfmf.framework.ApplicationInformation getApplicationInformation()
          Retrieves the application information of the current application
 FeatureInformation[] getFeatures()
          Retrieves the feature definition for all the features that are visible on the springboard in the current application
static ApplicationFeatures getInstance()
           
 void gotoDefaultFeature()
          Navigates the application to the default feature.
 void gotoFeature(String featureId)
          Navigates the application to the passed in feature.
 void gotoSpringboard()
          Activates the springboard
 void hideNavigationbar()
          Hides the navigation bar if visible.
 void resetFeature(String fid)
          Resets the state of the passed in feature (converted to use EmbeddedToNativeRequest) To reset the feature but not actually go to the feature use ApplicationFeatures.resetFeature(String, Boolean)
 void resetFeature(String fid, Boolean gotoTheFeature)
          Resets the state of the passed in feature (converted to use EmbeddedToNativeRequest)
 void setApplicationIconBadgeNumber(Integer badge)
           
 void showNavigationbar()
          Shows the navigation bar.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationFeatures

public ApplicationFeatures()
Method Detail

getInstance

public static ApplicationFeatures getInstance()

getApplicationInformation

public oracle.adfmf.framework.ApplicationInformation getApplicationInformation()
Retrieves the application information of the current application

Returns:
a ApplicationInformation object containing various attributes of the application

getApplicationIconBadgeNumber

public Object getApplicationIconBadgeNumber()

getFeatures

public FeatureInformation[] getFeatures()
Retrieves the feature definition for all the features that are visible on the springboard in the current application

Returns:
an array of FeatureInformation object containing various attributes of the feature

gotoDefaultFeature

public void gotoDefaultFeature()
Navigates the application to the default feature. (converted to use the NativeToEmbeddedRequestHandler/EmbeddedToNativeRequest classes)


gotoFeature

public void gotoFeature(String featureId)
Navigates the application to the passed in feature. (converted to use the NativeToEmbeddedRequestHandler/EmbeddedToNativeRequest classes)

Parameters:
featureId - - Id of the feature

gotoSpringboard

public void gotoSpringboard()
Activates the springboard


hideNavigationbar

public void hideNavigationbar()
Hides the navigation bar if visible. (converted to use EmbeddedToNativeRequest)


resetFeature

public void resetFeature(String fid)
Resets the state of the passed in feature (converted to use EmbeddedToNativeRequest) To reset the feature but not actually go to the feature use ApplicationFeatures.resetFeature(String, Boolean)

Parameters:
fid - - Id of the feature to be reset

resetFeature

public void resetFeature(String fid,
                         Boolean gotoTheFeature)
Resets the state of the passed in feature (converted to use EmbeddedToNativeRequest)

Parameters:
fid - - Id of the feature to be reset
gotoTheFeature - - Whether or not to navigate to the feature

setApplicationIconBadgeNumber

public void setApplicationIconBadgeNumber(Integer badge)

showNavigationbar

public void showNavigationbar()
Shows the navigation bar. (converted to use EmbeddedToNativeRequest)


Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.