Trait

com.google.appsscript.ui

Grid

Related Doc: package ui

Permalink

trait Grid extends Object

Grid Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead. A rectangular grid that can contain text, html, or a child widget within its cells. It must be resized explicitly to the desired number of rows and columns. Here is an example of how to use this widget:

function doGet() { var app = UiApp.createApplication(); app.add(app.createGrid(3, 3) .setBorderWidth(1) .setCellSpacing(10) .setCellPadding(10) .setText(0, 0, "X") .setText(1, 1, "X") .setText(2, 2, "X") .setText(0, 1, "O") .setText(0, 2, "O") .setStyleAttribute(0, 0, "color", "red") .setStyleAttribute(1, 1, "color", "red") .setStyleAttribute(2, 2, "color", "red") .setStyleAttribute(0, 1, "color", "blue") .setStyleAttribute(0, 2, "color", "blue")); 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 Grid documentation here.

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

    Permalink

    Deprecated.

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

  5. def addStyleDependentName(styleName: String): Grid

    Permalink

    Deprecated.

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

  6. def addStyleName(styleName: String): Grid

    Permalink

    Deprecated.

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

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clear(): Grid

    Permalink

    Deprecated.

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

  9. def clone(): AnyRef

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

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

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

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

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

    Permalink

    Deprecated.

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

  15. def getTag(): String

    Permalink

    Deprecated.

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

  16. def getType(): String

    Permalink

    Deprecated.

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

  17. def hasOwnProperty(v: String): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Object
  25. def resize(rows: Int, columns: Int): Grid

    Permalink

    Deprecated.

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

  26. def setBorderWidth(width: Int): Grid

    Permalink

    Deprecated.

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

  27. def setCellPadding(padding: Int): Grid

    Permalink

    Deprecated.

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

  28. def setCellSpacing(spacing: Int): Grid

    Permalink

    Deprecated.

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

  29. def setColumnStyleAttribute(column: Int, attribute: String, value: String): Grid

    Permalink

    Deprecated.

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

  30. def setColumnStyleAttributes(column: Int, attributes: AnyRef): Grid

    Permalink

    Deprecated.

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

  31. def setHeight(height: String): Grid

    Permalink

    Deprecated.

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

  32. def setId(id: String): Grid

    Permalink

    Deprecated.

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

  33. def setLayoutData(layout: AnyRef): Grid

    Permalink

    Deprecated.

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

  34. def setPixelSize(width: Int, height: Int): Grid

    Permalink

    Deprecated.

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

  35. def setRowStyleAttribute(row: Int, attribute: String, value: String): Grid

    Permalink

    Deprecated.

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

  36. def setRowStyleAttributes(row: Int, attributes: AnyRef): Grid

    Permalink

    Deprecated.

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

  37. def setSize(width: String, height: String): Grid

    Permalink

    Deprecated.

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

  38. def setStyleAttribute(attribute: String, value: String): Grid

    Permalink

    Deprecated.

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

  39. def setStyleAttribute(row: Int, column: Int, attribute: String, value: String): Grid

    Permalink

    Deprecated.

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

  40. def setStyleAttributes(attributes: AnyRef): Grid

    Permalink

    Deprecated.

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

  41. def setStyleAttributes(row: Int, column: Int, attributes: AnyRef): Grid

    Permalink

    Deprecated.

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

  42. def setStyleName(styleName: String): Grid

    Permalink

    Deprecated.

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

  43. def setStylePrimaryName(styleName: String): Grid

    Permalink

    Deprecated.

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

  44. def setTag(tag: String): Grid

    Permalink

    Deprecated.

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

  45. def setText(row: Int, column: Int, text: String): Grid

    Permalink

    Deprecated.

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

  46. def setTitle(title: String): Grid

    Permalink

    Deprecated.

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

  47. def setVisible(visible: Boolean): Grid

    Permalink

    Deprecated.

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

  48. def setWidget(row: Int, column: Int, widget: Widget): Grid

    Permalink

    Deprecated.

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

  49. def setWidth(width: String): Grid

    Permalink

    Deprecated.

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

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

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

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

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

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

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

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