public class RMSpringLayout.LayoutInfo
extends java.lang.Object
Constructor and Description |
---|
RMSpringLayout.LayoutInfo(RMShape aShape)
Creates a new LayoutInfo.
|
Modifier and Type | Method and Description |
---|---|
double |
getHeight(double aHeight)
Returns the new shape height for a given parent height.
|
double |
getWidth(double aWidth)
Returns the new shape width for a given parent width.
|
double |
getX(double aWidth)
Returns the new shape x for a given parent width.
|
double |
getY(double aHeight)
Returns the new shape y for a given parent height.
|
java.lang.String |
toString()
Returns string representation of autosizing.
|
void |
update(RMShape aShape)
Updates values for shape.
|
public RMSpringLayout.LayoutInfo(RMShape aShape)
public void update(RMShape aShape)
public double getX(double aWidth)
public double getY(double aHeight)
public double getWidth(double aWidth)
public double getHeight(double aHeight)
public java.lang.String toString()
toString
in class java.lang.Object