ariba.ui.widgets
Class Widgets

java.lang.Object
  extended by ariba.ui.widgets.Widgets

public final class Widgets
extends java.lang.Object


Nested Class Summary
static class Widgets.StyleSheetInfo
          This is a simple container class for stylehseet files and their media type.
 
Field Summary
static java.lang.String AppDebug
           
static java.lang.Object AWSessionManager
           
static java.lang.String DashboardDebug
           
 
Constructor Summary
Widgets()
           
 
Method Summary
static WidgetsDelegate getDelegate()
           
static java.lang.String getTocBottomComponent()
           
static void initialize()
           
static boolean initializeWithoutXMLNodeFieldValueClassExtension()
           
static void registerBrandingResources(java.lang.String resourceFilePath, java.lang.String resourceURL)
           
static void registerResourceDirectory(java.lang.String resourcePath, java.lang.String urlPrefix)
          Adds a resource directory to the search path that the jsptoolkit uses to resolve resources.
static void registerStyleSheet(java.lang.String filename)
          Registers a static stylesheet with appropriate UI version list.
static void registerStyleSheet(java.lang.String filename, java.lang.String media)
          Registers a static stylesheet with appropriate UI version list.
static void registerStyleSheet(java.lang.String filename, java.lang.String media, boolean isAW6)
          Registers a static stylesheet with appropriate UI version list.
static void setAWSessionManagerConfig(java.lang.Object manager)
           
static void setDelegate(WidgetsDelegate delegate)
           
static void setInitializeWithoutXMLNodeFieldValueClassExtension(boolean value)
           
static void setTocBottomComponent(java.lang.String tocBottomComponent)
           
static java.util.List<Widgets.StyleSheetInfo> styleSheets()
          Deprecated. Use styleSheetsAW5 instead.
static java.util.List<Widgets.StyleSheetInfo> styleSheetsAW5()
           
static java.util.List<Widgets.StyleSheetInfo> styleSheetsAW6()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AWSessionManager

public static java.lang.Object AWSessionManager

AppDebug

public static java.lang.String AppDebug

DashboardDebug

public static java.lang.String DashboardDebug
Constructor Detail

Widgets

public Widgets()
Method Detail

initialize

public static void initialize()

setInitializeWithoutXMLNodeFieldValueClassExtension

public static void setInitializeWithoutXMLNodeFieldValueClassExtension(boolean value)

initializeWithoutXMLNodeFieldValueClassExtension

public static boolean initializeWithoutXMLNodeFieldValueClassExtension()

setAWSessionManagerConfig

public static void setAWSessionManagerConfig(java.lang.Object manager)

setDelegate

public static void setDelegate(WidgetsDelegate delegate)

getDelegate

public static WidgetsDelegate getDelegate()

registerResourceDirectory

public static void registerResourceDirectory(java.lang.String resourcePath,
                                             java.lang.String urlPrefix)
Adds a resource directory to the search path that the jsptoolkit uses to resolve resources. ResourcePath would be a directory which has under it a set of locale subdirectories (e.g. "en_US", "fr_FR"). The urlPrefix is used if a url needs to be emitted into html for that resource, and would represent the base url corresponding to those resources in the docroot.

Parameters:
resourcePath - The base directory of a set of resources.
urlPrefix - The base url for those resources (can be null).
See Also:
AWResourceManager.pathForResourceNamed(java.lang.String), AWResourceManager.urlForResourceNamed(java.lang.String)

registerBrandingResources

public static void registerBrandingResources(java.lang.String resourceFilePath,
                                             java.lang.String resourceURL)

getTocBottomComponent

public static java.lang.String getTocBottomComponent()

setTocBottomComponent

public static void setTocBottomComponent(java.lang.String tocBottomComponent)

registerStyleSheet

public static void registerStyleSheet(java.lang.String filename)
Registers a static stylesheet with appropriate UI version list. Will register the stylesheet with both AW5 and AW6, and not include a media type (will be included for all media types).

Parameters:
filename - The relative path of the file.

registerStyleSheet

public static void registerStyleSheet(java.lang.String filename,
                                      java.lang.String media)
Registers a static stylesheet with appropriate UI version list. Will register the stylesheet with both AW5 and AW6.

Parameters:
filename - The relative path of the file.
media - The media type.

registerStyleSheet

public static void registerStyleSheet(java.lang.String filename,
                                      java.lang.String media,
                                      boolean isAW6)
Registers a static stylesheet with appropriate UI version list.

Parameters:
filename - The relative path of the file.
media - The media type.
isAW6 - Is this for aw6 or not.

styleSheets

public static java.util.List<Widgets.StyleSheetInfo> styleSheets()
Deprecated. Use styleSheetsAW5 instead.

Returns:
A list of static stylesheets for AW5.

styleSheetsAW5

public static java.util.List<Widgets.StyleSheetInfo> styleSheetsAW5()
Returns:
A list of static stylesheets for AW5.

styleSheetsAW6

public static java.util.List<Widgets.StyleSheetInfo> styleSheetsAW6()
Returns:
A list of static stylesheets for AW6.


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.