Method | Description | |
---|---|---|
Change ( int left, int top, int right, int bottom ) : void |
Changes all edge values.
|
|
CopyValues ( |
Copies the values from the given Spacing object.
|
|
GetOffset ( Plane plane ) : int |
Gets the edge offset for the given plane (HorizontalOffset or VerticalOffset).
|
|
GetValue ( System.Edge edge ) : int |
Gets the value for the specified edge.
|
|
PropertyRefFromEdge ( Edge edge ) : PropertyRef |
Gets the property-ref for the specified edge.
|
|
SetValue ( Edge edge, int value ) : void |
Sets the value for the specified edge.
|
|
Spacing ( int left, int top, int right, int bottom ) : System |
Constructor.
|
|
Sync ( jQueryObject inner, SpacingSync onBeforeSync ) : Spacing |
Creates a Spacing object that handles keeping an 'inner' object's size synced to its parent by settings it's making position:absolute and keeping it's - left - right - top - bottom CSS properties in sync with this Spacing object.
|
|
ToEdge ( string propertyName ) : Edge |
Converts the specified property-ref to an edge.
|
|
ToString ( ) : string | ||
UpdateLayout ( ) : void |
Syncs the bound element (if the element is bound to this Spacing object. See static create methods).
|
Method | Description | |
---|---|---|
Change ( int value ) : void | ||
Change ( int leftRight, int topBottom ) : void | ||
FormatValue ( int value ) : int | ||
InitializeSyncing ( ) : void | ||
Spacing ( ) : System | ||
Spacing ( int uniform ) : System | ||
Sync ( jQueryObject inner ) : Spacing | ||
SyncEdge ( Edge edge ) : void |
public Change ( int left, int top, int right, int bottom ) : void | ||
left | int | The left value. |
top | int | The top value. |
right | int | The right value. |
bottom | int | The bottom value. |
return | void |
public CopyValues ( |
||
spacing | The object to copy from. | |
return | void |
public GetOffset ( Plane plane ) : int | ||
plane | Plane | The X:Y plane to retrieve the offset for. |
return | int |
public GetValue ( System.Edge edge ) : int | ||
edge | System.Edge | The edge to retrieve the value for. |
return | int |
public PropertyRefFromEdge ( Edge edge ) : PropertyRef | ||
edge | Edge | The edge to retrieve the property ref for. |
return | PropertyRef |
public SetValue ( Edge edge, int value ) : void | ||
edge | Edge | The edge to write the value for. |
value | int | The edge value. |
return | void |
public Spacing ( int left, int top, int right, int bottom ) : System | ||
left | int | The left value. |
top | int | The top value. |
right | int | The right value. |
bottom | int | The botton value. |
return | System |
public Sync ( jQueryObject inner, SpacingSync onBeforeSync ) : Spacing | ||
inner | jQueryObject | The inner object in the sync relationship. |
onBeforeSync | SpacingSync | Invoked before the inner element is updated (use to alter the spacing values). |
return | Spacing |
public static ToEdge ( string propertyName ) : Edge | ||
propertyName | string | The name of the property. |
return | Edge |