Name

reverselayout

Synopsis

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

Superclass Chain

node (LzNode) » layout (LzLayout) » reverselayout

Known Subclasses

Details

Properties (4)

axis
<attribute name="axis" type="string" value="y" />
public var axis : String;
The axis in which this layout operates. One of 'x' or 'y'.
end
<attribute name="end" type="expression" value="true" />
public var end : Object;
When true (the default), then the layout will push the subviews to the right (or bottom) of the containing view
inset
<attribute name="inset" value="0" />
public var inset;
A pixel amount to inset the last view controlled by the layout
spacing
<attribute name="spacing" value="0" />
public var spacing;
A pixel amount to use between each view in the layout

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="reverselayout" extends=" LzLayout ">
  <attribute name=" axis " type="string" value="y" />
  <attribute name=" end " type="expression" value="true" />
  <attribute name=" inset " value="0" />
  <attribute name=" spacing " value="0" />
  <method name=" setAxis " args="a" />
  <method name=" update " />
</class>

JavaScript Synopsis

public reverselayout extends  LzLayout  {
  public var axis  : String;
  public var end  : Object;
  public var inset ;
  public var spacing ;
  prototype public function setAxis (a : string);
  prototype public function update ();
}