org.cruxframework.crux.plugin.gadget.client
Interface Gadget


public interface Gadget

Provides access to gadgets specification features

Author:
Thiago da Rosa de Bustamante

Method Summary
 AdsFeature getAdsFeature()
          Returns the AdsFeature.
 DynamicHeightFeature getDynamicHeightFeature()
          Returns the DynamicHeightFeature.
 GoogleAnalyticsFeature getGoogleAnalyticsFeature()
          Returns the GoogleAnalyticsFeature.
 MiniMessageFeature getMiniMessageFeature()
          Returns the MiniMessageFeature.
 OsapiFeature getOsapiFeature()
          Returns the OsapiFeature.
 PubsubFeature getPubsubFeature()
          Returns the PubsubFeature.
 RpcFeature getRpcFeature()
          Returns the RpcFeature.
 SetPrefsFeature getSetPrefsFeature()
          Returns the SetPrefsFeature.
 SetTitleFeature getSetTitleFeature()
          Returns the SetTitleFeature.
 TabsFeature getTabsFeature()
          Returns the TabsFeature.
 UserPreferences getUserPreferences()
           
 ViewFeature getViewFeature()
          Returns the ViewFeature.
 boolean hasFeature(String feature)
           
 

Method Detail

getAdsFeature

AdsFeature getAdsFeature()
Returns the AdsFeature. Your class must implement NeedsAds to retrieve this value. If does not, null will be returned

Returns:
AdsFeature

getDynamicHeightFeature

DynamicHeightFeature getDynamicHeightFeature()
Returns the DynamicHeightFeature. Your class must implement NeedsDynamicHeight to retrieve this value. If does not, null will be returned

Returns:
DynamicHeightFeature

getGoogleAnalyticsFeature

GoogleAnalyticsFeature getGoogleAnalyticsFeature()
Returns the GoogleAnalyticsFeature. Your class must implement NeedsGoogleAnalyticsFeature to retrieve this value. If does not, null will be returned

Returns:
GoogleAnalyticsFeature

getMiniMessageFeature

MiniMessageFeature getMiniMessageFeature()
Returns the MiniMessageFeature. Your class must implement NeedsMiniMessageFeature to retrieve this value. If does not, null will be returned

Returns:
MiniMessageFeature

getOsapiFeature

OsapiFeature getOsapiFeature()
Returns the OsapiFeature. Your class must implement NeedsOsapiFeature to retrieve this value. If does not, null will be returned

Returns:
OsapiFeature

getPubsubFeature

PubsubFeature getPubsubFeature()
Returns the PubsubFeature. Your class must implement NeedsPubsubFeatureFeature to retrieve this value. If does not, null will be returned

Returns:
PubsubFeature

getRpcFeature

RpcFeature getRpcFeature()
Returns the RpcFeature. Your class must implement NeedsRpc to retrieve this value. If does not, null will be returned

Returns:
RpcFeature

getSetPrefsFeature

SetPrefsFeature getSetPrefsFeature()
Returns the SetPrefsFeature. Your class must implement NeedsSetPrefs to retrieve this value. If does not, null will be returned

Returns:
SetPrefsFeature

getSetTitleFeature

SetTitleFeature getSetTitleFeature()
Returns the SetTitleFeature. Your class must implement NeedsSetTitle to retrieve this value. If does not, null will be returned

Returns:
SetTitleFeature

getTabsFeature

TabsFeature getTabsFeature()
Returns the TabsFeature. Your class must implement NeedsTabsFeature to retrieve this value. If does not, null will be returned

Returns:
TabsFeature

getUserPreferences

UserPreferences getUserPreferences()
Returns:
the UserPreferences object

getViewFeature

ViewFeature getViewFeature()
Returns the ViewFeature. Your class must implement NeedsViews to retrieve this value. If does not, null will be returned

Returns:
ViewFeature

hasFeature

boolean hasFeature(String feature)
Parameters:
feature -
Returns:


Copyright © 2014. All rights reserved.