A mixin to add floating capability to a Component
Specifies whether the floated component should be automatically focused when it is brought to the front. Defaults to true.
Specifies whether the floating component should be given a shadow. Set to true to automatically create an Ext.Shadow, or a string indicating the shadow's display Ext.Shadow.mode. Set to false to disable the shadow. (Defaults to 'sides'.)
Aligns this floating Component to the specified element
Aligns this floating Component to the specified element
The element or Ext.Component to align to. If passing a component, it must be a omponent instance. If a string id is passed, it will be used as an element id.
(optional, defaults to "tl-bl?") The position to align to (see Ext.core.Element.alignTo for more details).
(optional) Offset the positioning by [x, y]
this
Center this Component in its container.
Center this Component in its container.
this
Moves this floating Component into a constrain region.
By default, this Component is constrained to be within the container it was added to, or the element it was rendered to.
An alternative constraint may be passed.
Optional. The Element or Region into which this Component is to be constrained.
This method is called internally by Ext.ZIndexManager to signal that a floating Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.
If a Window is superceded by another Window, deactivating it hides its shadow.
This method also fires the activate or deactivate event depending on which action occurred.
True to activate the Component, false to deactivate it (defaults to false)
The newly active Component which is taking over topmost zIndex position.
Sends this Component to the back of (lower z-index than) any other visible windows
Sends this Component to the back of (lower z-index than) any other visible windows
this
Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManager
If this Component is modal, inserts the modal mask just below this Component in the z-index stack.
(optional) Specify true
to prevent the Component from being focused.
this