Trait

com.google.appsscript.ui

DialogBox

Related Doc: package ui

Permalink

trait DialogBox extends Object

DialogBox Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead. A form of popup that has a caption area at the top and can be dragged by the user. Unlike a PopupPanel, calls to setWidth(width) and setHeight(height) will set the width and height of the dialog box itself, even if a widget has not been added as yet. In general it's not recommended to add this panel as a child of another widget or of the app as that will make it behave like any other inline panel and not act as a popup. Instead, create the popup and then use its show() and hide() methods to show and hide it. See the example below. Internally, UiApp widgets are built on top of the Google Web Toolkit, and it can sometimes be helpful to look at the GWT documentation directly. You can find the DialogBox documentation here. Here is an example showing how to use the dialog box widget:

function doGet() { var app = UiApp.createApplication(); // Create a dialog box. var dialog = app.createDialogBox(); // Set the position and dimensions. dialog.setPopupPosition(100, 100).setSize(500, 500); // Show the dialog. Note that it does not have to be "added" to the UiInstance. dialog.show(); return app; }

Annotations
@RawJSType()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DialogBox
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(widget: Widget): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  5. def addAutoHidePartner(partner: Component): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  6. def addCloseHandler(handler: Handler): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  7. def addStyleDependentName(styleName: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  8. def addStyleName(styleName: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clear(): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getId(): String

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  17. def getTag(): String

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  18. def getType(): String

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  19. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hide(): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  28. def setAnimationEnabled(animationEnabled: Boolean): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  29. def setAutoHideEnabled(enabled: Boolean): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  30. def setGlassEnabled(enabled: Boolean): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  31. def setGlassStyleName(styleName: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  32. def setHTML(html: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  33. def setHeight(height: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  34. def setId(id: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  35. def setLayoutData(layout: AnyRef): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  36. def setModal(modal: Boolean): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  37. def setPixelSize(width: Int, height: Int): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  38. def setPopupPosition(left: Int, top: Int): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  39. def setPopupPositionAndShow(a: Component): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  40. def setPreviewingAllNativeEvents(previewing: Boolean): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  41. def setSize(width: String, height: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  42. def setStyleAttribute(attribute: String, value: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  43. def setStyleAttributes(attributes: AnyRef): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  44. def setStyleName(styleName: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  45. def setStylePrimaryName(styleName: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  46. def setTag(tag: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  47. def setText(text: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  48. def setTitle(title: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  49. def setVisible(visible: Boolean): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  50. def setWidget(widget: Widget): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  51. def setWidth(width: String): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  52. def show(): DialogBox

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  54. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  55. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  56. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  57. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped