org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs
Class DialogStyleScriptlet

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
      extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.DialogStyleScriptlet

public class DialogStyleScriptlet
extends Scriptlet

Scriptlet which defines the styles needed for lightweight dialogs


Field Summary
static java.lang.String DIALOG_STYLES_KEY
           
 
Constructor Summary
DialogStyleScriptlet()
           
 
Method Summary
 java.lang.Object getScriptletKey()
          Returns the key that uniquely identifies the scriptlet.
protected  void outputScriptletContent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
          Outputs the content of the scriptlet - the text or attributes between the script elements.
static void outputStyleMapForDialog(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext arc)
           
static Scriptlet sharedInstance()
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.Scriptlet
embedInScriptTag, embedInScriptTagImpl, outputDependency, outputScriptlet, outputScriptletImpl, registerSelf, registerSelfWithKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIALOG_STYLES_KEY

public static final java.lang.String DIALOG_STYLES_KEY
See Also:
Constant Field Values
Constructor Detail

DialogStyleScriptlet

public DialogStyleScriptlet()
Method Detail

getScriptletKey

public java.lang.Object getScriptletKey()
Description copied from class: Scriptlet
Returns the key that uniquely identifies the scriptlet.

Specified by:
getScriptletKey in class Scriptlet

sharedInstance

public static Scriptlet sharedInstance()

outputScriptletContent

protected void outputScriptletContent(javax.faces.context.FacesContext context,
                                      org.apache.myfaces.trinidad.context.RenderingContext arc)
                               throws java.io.IOException
Description copied from class: Scriptlet
Outputs the content of the scriptlet - the text or attributes between the script elements.

Specified by:
outputScriptletContent in class Scriptlet
Throws:
java.io.IOException

outputStyleMapForDialog

public static void outputStyleMapForDialog(javax.faces.context.FacesContext context,
                                           org.apache.myfaces.trinidad.context.RenderingContext arc)
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.