Name

wrappinglayout

Synopsis

LZX: wrappinglayout
JavaScript: wrappinglayout
Type: Class
Access: public
Topic: Components.Layouts
Declared in: lps/components/utils/layouts/wrappinglayout.lzx

Superclass Chain

node (LzNode) » layout (LzLayout) » wrappinglayout

Known Subclasses

Details

Properties (7)

axis
<attribute name="axis" type="string" value="x" />
public var axis : String;
The primary axis for wrapping.
duration
<attribute name="duration" value="0" />
public var duration;
If given, a number of miliseconds to use to animate the views in to place.
spacing
<attribute name="spacing" value="1" />
public var spacing;
A pixel amount to use between the views controlled by the layout in both axes. By default, both xspacing and yspacing are set to this value.
xinset
<attribute name="xinset" value="0" />
public var xinset;
A pixel amount to offset the first view controlled by the layout in x axis
xspacing
<attribute name="xspacing" value="null" />
public var xspacing;
A pixel amount to use between the views controlled by the layout in the x axis.
yinset
<attribute name="yinset" value="0" />
public var yinset;
A pixel amount to offset the first view controlled by the layout in y axis
yspacing
<attribute name="yspacing" value="null" />
public var yspacing;
A pixel amount to use between the views controlled by the layout in the y axis.

Methods (1)

update()
<method name="update" />
public function update();
This method is usually called automatically when any of the views controlled by the layout change their size , or when the size of layout's immediateparent changes. However it can be called directly to force the layout to update

LZX Synopsis

<class name="wrappinglayout" extends=" LzLayout ">
  <attribute name=" axis " type="string" value="x" />
  <attribute name=" duration " value="0" />
  <attribute name=" spacing " value="1" />
  <attribute name=" xinset " value="0" />
  <attribute name=" xspacing " value="null" />
  <attribute name=" yinset " value="0" />
  <attribute name=" yspacing " value="null" />
  <method name=" update " />
</class>

JavaScript Synopsis

public wrappinglayout extends  LzLayout  {
  public var axis  : String;
  public var duration ;
  public var spacing ;
  public var xinset ;
  public var xspacing ;
  public var yinset ;
  public var yspacing ;
  prototype public function update ();
}