Name

resizestatemin

Synopsis

LZX: resizestatemin
JavaScript: lz.resizestatemin
Type: Class
Access: public
Topic: Components.States
Declared in: lps/components/utils/states/resizestatemin.lzx

Description

this state is designed to be applied to a view that has defined the attributes: minwidth and minheight

Superclass Chain

node (LzNode) » state (LzState) » resizestatemin

Known Subclasses

Details

Properties (4)

height
<attribute name="height" value="${Math.max((this.immediateparent.getMouse( 'y' )- yroffset), minheight)}" />
private var height;
width
<attribute name="width" value="${Math.max((this.immediateparent.getMouse( 'x' )- xroffset), minwidth)}" />
private var width;
xroffset
<attribute name="xroffset" value="$once{this.x - this.width + this.getMouse( 'x' )}" />
private var xroffset;
yroffset
<attribute name="yroffset" value="$once{this.y - this.height + this.getMouse( 'y' ) }" />
private var yroffset;

LZX Synopsis

<class name="lz.resizestatemin" extends=" LzState ">
  <attribute name=" height " value="${Math.max((this.immediateparent.getMouse( 'y' )- yroffset), minheight)}" />
  <attribute name=" width " value="${Math.max((this.immediateparent.getMouse( 'x' )- xroffset), minwidth)}" />
  <attribute name=" xroffset " value="$once{this.x - this.width + this.getMouse( 'x' )}" />
  <attribute name=" yroffset " value="$once{this.y - this.height + this.getMouse( 'y' ) }" />
</class>

JavaScript Synopsis

public lz.resizestatemin extends  LzState  {
  private var height ;
  private var width ;
  private var xroffset ;
  private var yroffset ;
}