Trait

com.google.appsscript.ui

SubmitButton

Related Doc: package ui

Permalink

trait SubmitButton extends Object

SubmitButton Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead. A standard push-button widget which will automatically submit its enclosing FormPanel if any. Here is an example of how to use this widget:

function doGet() { var app = UiApp.createApplication(); var form = app.createFormPanel(); var flow = app.createFlowPanel(); flow.add(app.createTextBox().setName("textBox")); flow.add(app.createSubmitButton("Submit")); form.add(flow); app.add(form); return app; }

function doPost(eventInfo) { var app = UiApp.getActiveApplication(); app.add(app.createLabel("Form submitted. The text box's value was '" + eventInfo.parameter.textBox + "'")); return app; }

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 SubmitButton documentation here.

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

    Permalink

    Deprecated.

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

  5. def addClickHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  6. def addFocusHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  7. def addKeyDownHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  8. def addKeyPressHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  9. def addKeyUpHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  10. def addMouseDownHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  11. def addMouseMoveHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  12. def addMouseOutHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  13. def addMouseOverHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  14. def addMouseUpHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  15. def addMouseWheelHandler(handler: Handler): SubmitButton

    Permalink

    Deprecated.

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

  16. def addStyleDependentName(styleName: String): SubmitButton

    Permalink

    Deprecated.

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

  17. def addStyleName(styleName: String): SubmitButton

    Permalink

    Deprecated.

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

  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

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

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

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

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

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

    Permalink

    Deprecated.

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

  25. def getTag(): String

    Permalink

    Deprecated.

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

  26. def getType(): String

    Permalink

    Deprecated.

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

  27. def hasOwnProperty(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Object
  35. def setAccessKey(accessKey: Char): SubmitButton

    Permalink

    Deprecated.

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

  36. def setEnabled(enabled: Boolean): SubmitButton

    Permalink

    Deprecated.

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

  37. def setFocus(focus: Boolean): SubmitButton

    Permalink

    Deprecated.

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

  38. def setHTML(html: String): SubmitButton

    Permalink

    Deprecated.

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

  39. def setHeight(height: String): SubmitButton

    Permalink

    Deprecated.

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

  40. def setId(id: String): SubmitButton

    Permalink

    Deprecated.

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

  41. def setLayoutData(layout: AnyRef): SubmitButton

    Permalink

    Deprecated.

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

  42. def setPixelSize(width: Int, height: Int): SubmitButton

    Permalink

    Deprecated.

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

  43. def setSize(width: String, height: String): SubmitButton

    Permalink

    Deprecated.

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

  44. def setStyleAttribute(attribute: String, value: String): SubmitButton

    Permalink

    Deprecated.

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

  45. def setStyleAttributes(attributes: AnyRef): SubmitButton

    Permalink

    Deprecated.

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

  46. def setStyleName(styleName: String): SubmitButton

    Permalink

    Deprecated.

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

  47. def setStylePrimaryName(styleName: String): SubmitButton

    Permalink

    Deprecated.

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

  48. def setTabIndex(index: Int): SubmitButton

    Permalink

    Deprecated.

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

  49. def setTag(tag: String): SubmitButton

    Permalink

    Deprecated.

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

  50. def setText(text: String): SubmitButton

    Permalink

    Deprecated.

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

  51. def setTitle(title: String): SubmitButton

    Permalink

    Deprecated.

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

  52. def setVisible(visible: Boolean): SubmitButton

    Permalink

    Deprecated.

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

  53. def setWidth(width: String): SubmitButton

    Permalink

    Deprecated.

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

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

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

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

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

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

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

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