예제 #1
0
 /// <summary>
 /// Sets the position of the Popup (if you refer to a Control as anchor then do not use the DOMRef of the control which might change after re-renderings). Optional parameters can only be omitted when all subsequent parameters are omitted as well.
 /// </summary>
 /// <param name="my">specifies which point of the given Content should be aligned</param>
 /// <param name="at">specifies the point of the reference element to which the given Content should be aligned</param>
 /// <param name="of">specifies the reference element to which the given content should be aligned as specified in the other parameters</param>
 /// <param name="offset">the offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" are both RTL-sensitive ("begin" or "end"), this offset is automatically mirrored in the RTL case as well.</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.Popup setPosition(sap.ui.core.Popup.Dock my, Union <sap.ui.core.Popup.Dock, object> at, Union <string, sap.ui.core.Element, dom.HTMLElement, jQuery, jquery.JQuery.Event> of = Globals.document, string offset = "0 0");
예제 #2
0
 /// <summary>
 /// Opens the popup's content at the position either specified here or beforehand via {@link #setPosition}. Content must be capable of being positioned via "position:absolute;" All parameters are optional (open() may be called without any parameters). iDuration may just be omitted, but if any of "at", "of", "offset", "collision" is given, also the preceding positioning parameters ("my", at",...) must be given.
 ///
 /// If the Popup's OpenState is different from "CLOSED" (i.e. if the Popup is already open, opening or closing), the call is ignored.
 /// </summary>
 /// <param name="my">the popup content's reference position for docking</param>
 /// <param name="at">the "of" element's reference point for docking to</param>
 /// <param name="of">specifies the reference element to which the given content should dock to</param>
 /// <param name="offset">the offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" are both RTL-sensitive ("begin" or "end"), this offset is automatically mirrored in the RTL case as well.</param>
 /// <param name="collision">defines how the position of an element should be adjusted in case it overflows the window in some direction.</param>
 /// <param name="followOf">defines whether the popup should follow the dock reference when the reference changes its position.</param>
 public extern virtual void open(sap.ui.core.Popup.Dock my = sap.ui.core.Popup.Dock.CenterCenter, sap.ui.core.Popup.Dock at = sap.ui.core.Popup.Dock.CenterCenter, Union <string, sap.ui.core.Element, dom.HTMLElement, jQuery, jquery.JQuery.Event> of = Globals.document, string offset = "0 0", string collision = "flip", bool followOf = false);
예제 #3
0
 /// <summary>
 /// Sets the position of the Popup (if you refer to a Control as anchor then do not use the DOMRef of the control which might change after re-renderings). Optional parameters can only be omitted when all subsequent parameters are omitted as well.
 /// </summary>
 /// <param name="my">specifies which point of the given Content should be aligned</param>
 /// <param name="at">specifies the point of the reference element to which the given Content should be aligned</param>
 /// <param name="of">specifies the reference element to which the given content should be aligned as specified in the other parameters</param>
 /// <param name="offset">the offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" are both RTL-sensitive ("begin" or "end"), this offset is automatically mirrored in the RTL case as well.</param>
 /// <param name="collision">defines how the position of an element should be adjusted in case it overflows the window in some direction. The valid values that refer to jQuery-UI's position parameters are "flip", "fit" and "none".</param>
 /// <returns><code>this</code> to allow method chaining</returns>
 public extern virtual sap.ui.core.Popup setPosition(sap.ui.core.Popup.Dock my, Union <sap.ui.core.Popup.Dock, object> at, Union <string, sap.ui.core.Element, dom.HTMLElement, jQuery, jquery.JQuery.Event> of, string offset, string collision);
예제 #4
0
 /// <summary>
 /// Sets a new value for property {@link #getMenuPosition menuPosition}.
 ///
 /// Specifies the position of the popup menu with enumerated options. By default, the control opens the menu at its bottom left side.
 ///
 /// <b>Note:</b> In the case that the menu has no space to show itself in the view port of the current window it tries to open itself to the inverted direction.
 ///
 /// When called with a value of <code>null</code> or <code>undefined</code>, the default value of the property will be restored.
 ///
 /// Default value is <code>BeginBottom</code>.
 /// </summary>
 /// <param name="sMenuPosition">New value for property <code>menuPosition</code></param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.MenuButton setMenuPosition(sap.ui.core.Popup.Dock sMenuPosition);