C# 클래스 Fluqi.Utilities.jPosition.Options

A set of properties to apply to a set of jQuery UI Position.
Properties not yet supported:
상속: Core.Options
파일 보기 프로젝트 열기: toepoke/Fluqi

공개 메소드들

메소드 설명
SetAt ( Core pos ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetAt ( Core pos1, Core pos2 ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetAt ( string pos ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetAt ( string pos1, string pos2 ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetCollision ( Fluqi.Core.Collision colli ) : Options

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.

SetCollision ( Fluqi.Core.Collision colli1, Fluqi.Core.Collision colli2 ) : Options

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.

SetCollision ( string colli ) : Options

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.

SetCollision ( string colli1, string colli2 ) : Options

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.

SetMy ( Core pos ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetMy ( Core pos1, Core pos2 ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetMy ( string pos ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetMy ( string pos1, string pos2 ) : Options

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"

SetOf ( string of ) : Options

Element to position against. If you provide a selector, the first matching element will be used. If you provide a jQuery object, the first element will be used. If you provide an event object, the pageX and pageY properties will be used. Example: "#top-menu"

SetUsingFunction ( string usingFunc ) : Options

When specified the actual property setting is delegated to this callback. Receives a single parameter which is a hash of top and left values for the position that should be set.

SetWithin ( string within ) : Options

Element to position within, affecting collision detection. If you provide a selector or jQuery object, the first matching element will be used.

보호된 메소드들

메소드 설명
EvalPositionSetting ( string s1, string s2 ) : string

Evaluates the incoming strings to ensure they are both populated with something sensible, and handles the fact they may not be (used by SetMy and SetAt which need this setting sensilbly otherwise nonsense gets assigned to the underlying properties.

메소드 상세

EvalPositionSetting() 보호된 메소드

Evaluates the incoming strings to ensure they are both populated with something sensible, and handles the fact they may not be (used by SetMy and SetAt which need this setting sensilbly otherwise nonsense gets assigned to the underlying properties.
protected EvalPositionSetting ( string s1, string s2 ) : string
s1 string String1
s2 string String2
리턴 string

SetAt() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetAt ( Core pos ) : Options
pos Core
리턴 Options

SetAt() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetAt ( Core pos1, Core pos2 ) : Options
pos1 Core
pos2 Core
리턴 Options

SetAt() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetAt ( string pos ) : Options
pos string
리턴 Options

SetAt() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetAt ( string pos1, string pos2 ) : Options
pos1 string
pos2 string
리턴 Options

SetCollision() 공개 메소드

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.
public SetCollision ( Fluqi.Core.Collision colli ) : Options
colli Fluqi.Core.Collision
리턴 Options

SetCollision() 공개 메소드

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.
public SetCollision ( Fluqi.Core.Collision colli1, Fluqi.Core.Collision colli2 ) : Options
colli1 Fluqi.Core.Collision
colli2 Fluqi.Core.Collision
리턴 Options

SetCollision() 공개 메소드

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.
public SetCollision ( string colli ) : Options
colli string
리턴 Options

SetCollision() 공개 메소드

When the positioned element overflows the window in some direction, move it to an alternative position. Similar to my and at, this accepts a single value or a pair for horizontal/vertical, eg. "flip", "fit", "fit flip", "fit none". flip: to the opposite side and the collision detection is run again to see if it will fit. If it won't fit in either position, the center option should be used as a fall back. fit: so the element keeps in the desired direction, but is re-positioned so it fits. none: not do collision detection.
public SetCollision ( string colli1, string colli2 ) : Options
colli1 string
colli2 string
리턴 Options

SetMy() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetMy ( Core pos ) : Options
pos Core
리턴 Options

SetMy() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetMy ( Core pos1, Core pos2 ) : Options
pos1 Core
pos2 Core
리턴 Options

SetMy() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetMy ( string pos ) : Options
pos string
리턴 Options

SetMy() 공개 메소드

Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. A single value such as "right" will default to "right center", "top" will default to "center top" (following CSS convention). Acceptable values: "top", "center", "bottom", "left", "right". Example: "left top" or "center center"
public SetMy ( string pos1, string pos2 ) : Options
pos1 string
pos2 string
리턴 Options

SetOf() 공개 메소드

Element to position against. If you provide a selector, the first matching element will be used. If you provide a jQuery object, the first element will be used. If you provide an event object, the pageX and pageY properties will be used. Example: "#top-menu"
public SetOf ( string of ) : Options
of string
리턴 Options

SetUsingFunction() 공개 메소드

When specified the actual property setting is delegated to this callback. Receives a single parameter which is a hash of top and left values for the position that should be set.
public SetUsingFunction ( string usingFunc ) : Options
usingFunc string
리턴 Options

SetWithin() 공개 메소드

Element to position within, affecting collision detection. If you provide a selector or jQuery object, the first matching element will be used.
public SetWithin ( string within ) : Options
within string
리턴 Options