Trait

com.google.appsscript.ui

PopupPanel

Related Doc: package ui

Permalink

trait PopupPanel extends Object

PopupPanel Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead. A panel that can "pop up" over other widgets. It overlays the browser's client area (and any previously-created popups). 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. To make the popup stay at a fixed location rather than scrolling with the page, try setting the 'position', 'fixed' style on it with setStyleAttribute(attribute, value). Note that this panel can contain at most one direct child widget. To add more children, make the child of this panel a different panel that can contain more than one child. 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 PopupPanel documentation here. Here is an example showing how to use the popup panel widget:

function doGet() { var app = UiApp.createApplication(); // Create a popup panel and set it to be modal. var popupPanel = app.createPopupPanel(false, true); // Add a button to the panel and set the dimensions and position. popupPanel.add(app.createButton()).setWidth("100px").setHeight("100px") .setPopupPosition(100, 100); // Show the panel. Note that it does not have to be "added" to the UiInstance. popupPanel.show(); return app; }

Annotations
@RawJSType()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PopupPanel
  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): PopupPanel

    Permalink

    Deprecated.

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

  5. def addAutoHidePartner(partner: Component): PopupPanel

    Permalink

    Deprecated.

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

  6. def addCloseHandler(handler: Handler): PopupPanel

    Permalink

    Deprecated.

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

  7. def addStyleDependentName(styleName: String): PopupPanel

    Permalink

    Deprecated.

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

  8. def addStyleName(styleName: String): PopupPanel

    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(): PopupPanel

    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(): PopupPanel

    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): PopupPanel

    Permalink

    Deprecated.

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

  29. def setAutoHideEnabled(enabled: Boolean): PopupPanel

    Permalink

    Deprecated.

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

  30. def setGlassEnabled(enabled: Boolean): PopupPanel

    Permalink

    Deprecated.

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

  31. def setGlassStyleName(styleName: String): PopupPanel

    Permalink

    Deprecated.

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

  32. def setHeight(height: String): PopupPanel

    Permalink

    Deprecated.

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

  33. def setId(id: String): PopupPanel

    Permalink

    Deprecated.

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

  34. def setLayoutData(layout: AnyRef): PopupPanel

    Permalink

    Deprecated.

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

  35. def setModal(modal: Boolean): PopupPanel

    Permalink

    Deprecated.

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

  36. def setPixelSize(width: Int, height: Int): PopupPanel

    Permalink

    Deprecated.

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

  37. def setPopupPosition(left: Int, top: Int): PopupPanel

    Permalink

    Deprecated.

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

  38. def setPopupPositionAndShow(a: Component): PopupPanel

    Permalink

    Deprecated.

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

  39. def setPreviewingAllNativeEvents(previewing: Boolean): PopupPanel

    Permalink

    Deprecated.

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

  40. def setSize(width: String, height: String): PopupPanel

    Permalink

    Deprecated.

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

  41. def setStyleAttribute(attribute: String, value: String): PopupPanel

    Permalink

    Deprecated.

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

  42. def setStyleAttributes(attributes: AnyRef): PopupPanel

    Permalink

    Deprecated.

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

  43. def setStyleName(styleName: String): PopupPanel

    Permalink

    Deprecated.

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

  44. def setStylePrimaryName(styleName: String): PopupPanel

    Permalink

    Deprecated.

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

  45. def setTag(tag: String): PopupPanel

    Permalink

    Deprecated.

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

  46. def setTitle(title: String): PopupPanel

    Permalink

    Deprecated.

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

  47. def setVisible(visible: Boolean): PopupPanel

    Permalink

    Deprecated.

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

  48. def setWidget(widget: Widget): PopupPanel

    Permalink

    Deprecated.

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

  49. def setWidth(width: String): PopupPanel

    Permalink

    Deprecated.

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

  50. def show(): PopupPanel

    Permalink

    Deprecated.

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. 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