flex enumeration


/ Published in: ActionScript 3
Save to your folder(s)

[Inspectable] metada


Copy this code and paste it in your HTML
  1. [Inspectable(category="General", enumeration="rows,columns", defaultValue="rows")]
  2.  
  3. /**
  4.   * Specifies whether elements are arranged row by row or
  5.   * column by column.
  6.   * ActionScript values can be <code>TileOrientation.ROWS</code> and
  7.   * <code>TileOrientation.COLUMNS</code>.
  8.   * MXML values can be <code>"rows"</code> and <code>"columns"</code>.
  9.   *
  10.   * @default TileOrientation.ROWS
  11.   *
  12.   * @langversion 3.0
  13.   * @playerversion Flash 10
  14.   * @playerversion AIR 1.5
  15.   * @productversion Flex 4
  16.   */
  17. public function get orientation():String
  18. {
  19. return _orientation;
  20. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.