info.magnolia.cms.gui.dialog
Class Dialog

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.Dialog
All Implemented Interfaces:
DialogControl

public class Dialog
extends DialogControlImpl

Creates a dialog.

Version:
2.0

Field Summary
static String DIALOGSIZE_NORMAL_HEIGHT
           
static String DIALOGSIZE_NORMAL_WIDTH
           
static String DIALOGSIZE_SLIM_HEIGHT
           
static String DIALOGSIZE_SLIM_WIDTH
           
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
DEFAULT_VALUE_PROPERTY, SESSION_ATTRIBUTENAME_DIALOGOBJECT, SESSION_ATTRIBUTENAME_DIALOGOBJECT_REMOVE, VALIDATION_PATTERN_PROPERTY, value
 
Constructor Summary
Dialog()
           
 
Method Summary
 DialogTab addTab()
           
 DialogTab addTab(String label)
           
 void drawCssSources(Writer out)
           
 void drawHtmlPostSubs(Writer out)
           
protected  void drawHtmlPostSubsButtons(Writer out)
           
protected  void drawHtmlPostSubsTabSet(Writer out)
           
 void drawHtmlPreSubs(Writer out)
           
protected  void drawHtmlPreSubsForm(Writer out)
           
protected  void drawHtmlPreSubsHead(Writer out)
           
protected  void drawHtmlPreSubsTabSet(Writer out)
           
 void drawJavascriptSources(Writer out)
           
 String getAction()
           
 String getCallbackJavascript()
           
 List getCssSources()
           
 List getJavascriptSources()
           
 DialogTab getTab(int i)
           
 void setAction(String s)
           
 void setCallbackJavascript(String s)
           
 void setCssSources(String s)
           
 void setJavascriptSources(String s)
           
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
addOption, addSub, clearWebsiteNode, drawHtml, drawSubs, getConfigValue, getConfigValue, getDescription, getId, getLabel, getMessage, getMessage, getMessages, getName, getOptions, getParent, getRequest, getResponse, getStorageNode, getSub, getSubs, getTopParent, getValidationPattern, getValue, getValues, getWebsiteNode, init, isRequired, readValue, readValues, removeSessionAttribute, setConfig, setConfig, setConfig, setDescription, setLabel, setName, setOptions, setRequired, setSaveInfo, setSessionAttribute, setTopParent, setValidationMessage, setValue, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIALOGSIZE_NORMAL_WIDTH

public static final String DIALOGSIZE_NORMAL_WIDTH
See Also:
Constant Field Values

DIALOGSIZE_NORMAL_HEIGHT

public static final String DIALOGSIZE_NORMAL_HEIGHT
See Also:
Constant Field Values

DIALOGSIZE_SLIM_WIDTH

public static final String DIALOGSIZE_SLIM_WIDTH
See Also:
Constant Field Values

DIALOGSIZE_SLIM_HEIGHT

public static final String DIALOGSIZE_SLIM_HEIGHT
See Also:
Constant Field Values
Constructor Detail

Dialog

public Dialog()
Method Detail

setCallbackJavascript

public void setCallbackJavascript(String s)

getCallbackJavascript

public String getCallbackJavascript()

setAction

public void setAction(String s)

getAction

public String getAction()

setJavascriptSources

public void setJavascriptSources(String s)

getJavascriptSources

public List getJavascriptSources()

drawJavascriptSources

public void drawJavascriptSources(Writer out)
                           throws IOException
Throws:
IOException

setCssSources

public void setCssSources(String s)

getCssSources

public List getCssSources()

drawCssSources

public void drawCssSources(Writer out)
                    throws IOException
Throws:
IOException

addTab

public DialogTab addTab()

addTab

public DialogTab addTab(String label)

getTab

public DialogTab getTab(int i)

drawHtmlPreSubs

public void drawHtmlPreSubs(Writer out)
                     throws IOException
Overrides:
drawHtmlPreSubs in class DialogControlImpl
Throws:
IOException

drawHtmlPreSubsHead

protected void drawHtmlPreSubsHead(Writer out)
                            throws IOException
Throws:
IOException

drawHtmlPreSubsForm

protected void drawHtmlPreSubsForm(Writer out)
                            throws IOException
Throws:
IOException

drawHtmlPreSubsTabSet

protected void drawHtmlPreSubsTabSet(Writer out)
                              throws IOException
Throws:
IOException

drawHtmlPostSubs

public void drawHtmlPostSubs(Writer out)
                      throws IOException
Overrides:
drawHtmlPostSubs in class DialogControlImpl
Throws:
IOException

drawHtmlPostSubsTabSet

protected void drawHtmlPostSubsTabSet(Writer out)
                               throws IOException
Throws:
IOException

drawHtmlPostSubsButtons

protected void drawHtmlPostSubsButtons(Writer out)
                                throws IOException
Throws:
IOException


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.