Méthode | 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).
|
Méthode | 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. |
Résultat | void |
public CopyValues ( |
||
spacing | The object to copy from. | |
Résultat | void |
public GetOffset ( Plane plane ) : int | ||
plane | Plane | The X:Y plane to retrieve the offset for. |
Résultat | int |
public GetValue ( System.Edge edge ) : int | ||
edge | System.Edge | The edge to retrieve the value for. |
Résultat | int |
public PropertyRefFromEdge ( Edge edge ) : PropertyRef | ||
edge | Edge | The edge to retrieve the property ref for. |
Résultat | PropertyRef |
public SetValue ( Edge edge, int value ) : void | ||
edge | Edge | The edge to write the value for. |
value | int | The edge value. |
Résultat | 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. |
Résultat | 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). |
Résultat | Spacing |
public static ToEdge ( string propertyName ) : Edge | ||
propertyName | string | The name of the property. |
Résultat | Edge |