Name

simpleboundslayout

Synopsis

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

Superclass Chain

node (LzNode) » layout (LzLayout) » simpleboundslayout

Known Subclasses

Details

Properties (2)

axis
<attribute name="axis" type="string" value="y" />
public var axis : String;
The axis in which this layout operates, 'x' or 'y'. Default value is 'y'
spacing
<attribute name="spacing" value="0" />
public var spacing;
A pixel amount to use between each view in the layout. Default value is 0

Methods (2)

setAxis()
<method name="setAxis" args="a" />
public function setAxis(a : string);
setter for the axis attribute. The default value is 'y'
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 in the layout axis, or their visibility. However it can be called directly to force the layout to update

LZX Synopsis

<class name="simpleboundslayout" extends=" LzLayout ">
  <attribute name=" axis " type="string" value="y" />
  <attribute name=" spacing " value="0" />
  <method name=" setAxis " args="a" />
  <method name=" update " />
</class>

JavaScript Synopsis

public simpleboundslayout extends  LzLayout  {
  public var axis  : String;
  public var spacing ;
  prototype public function setAxis (a : string);
  prototype public function update ();
}