打印版式

Class Ext.SplitBar.AbsoluteLayoutAdapter

Package:Ext
Class:SplitBar.AbsoluteLayoutAdapter
Extends:SplitBar.BasicLayoutAdapter
Defined In:SplitBar.js
Adapter that moves the splitter element to align with the resized sizing element. Used with an absolute positioned SplitBar.

属性   -  方法   -  事件

公共属性

属性 定义对象
  SplitBar.AbsoluteLayoutAdapter.BOTTOM : Number SplitBar.AbsoluteLayoutAdapter
<static> Placement constant - The resizing element is positioned under splitter element
  SplitBar.AbsoluteLayoutAdapter.HORIZONTAL : Number SplitBar.AbsoluteLayoutAdapter
<static> Orientation constant - Create a horizontal SplitBar
  SplitBar.AbsoluteLayoutAdapter.LEFT : Number SplitBar.AbsoluteLayoutAdapter
<static> Placement constant - The resizing element is to the left of the splitter element
  SplitBar.AbsoluteLayoutAdapter.RIGHT : Number SplitBar.AbsoluteLayoutAdapter
<static> Placement constant - The resizing element is to the right of the splitter element
  SplitBar.AbsoluteLayoutAdapter.TOP : Number SplitBar.AbsoluteLayoutAdapter
<static> Placement constant - The resizing element is positioned above the splitter element
  SplitBar.AbsoluteLayoutAdapter.VERTICAL : Number SplitBar.AbsoluteLayoutAdapter
<static> Orientation constant - Create a vertical SplitBar

公共方法

方法 定义对象
  getElementSize(Ext.SplitBar s) : void SplitBar.BasicLayoutAdapter
Called before drag operations to get the current size of the resizing element.
  setElementSize(Ext.SplitBar s, Number newSize, Function onComplete) : void SplitBar.BasicLayoutAdapter
Called after drag operations to set the size of the resizing element.

公共事件

此类没有公共事件。

属性详情

SplitBar.AbsoluteLayoutAdapter.BOTTOM

public Number SplitBar.AbsoluteLayoutAdapter.BOTTOM
<static> Placement constant - The resizing element is positioned under splitter element
This property is defined by SplitBar.AbsoluteLayoutAdapter.

SplitBar.AbsoluteLayoutAdapter.HORIZONTAL

public Number SplitBar.AbsoluteLayoutAdapter.HORIZONTAL
<static> Orientation constant - Create a horizontal SplitBar
This property is defined by SplitBar.AbsoluteLayoutAdapter.

SplitBar.AbsoluteLayoutAdapter.LEFT

public Number SplitBar.AbsoluteLayoutAdapter.LEFT
<static> Placement constant - The resizing element is to the left of the splitter element
This property is defined by SplitBar.AbsoluteLayoutAdapter.

SplitBar.AbsoluteLayoutAdapter.RIGHT

public Number SplitBar.AbsoluteLayoutAdapter.RIGHT
<static> Placement constant - The resizing element is to the right of the splitter element
This property is defined by SplitBar.AbsoluteLayoutAdapter.

SplitBar.AbsoluteLayoutAdapter.TOP

public Number SplitBar.AbsoluteLayoutAdapter.TOP
<static> Placement constant - The resizing element is positioned above the splitter element
This property is defined by SplitBar.AbsoluteLayoutAdapter.

SplitBar.AbsoluteLayoutAdapter.VERTICAL

public Number SplitBar.AbsoluteLayoutAdapter.VERTICAL
<static> Orientation constant - Create a vertical SplitBar
This property is defined by SplitBar.AbsoluteLayoutAdapter.

方法详情

getElementSize

public function getElementSize(Ext.SplitBar s)
Called before drag operations to get the current size of the resizing element.
参数:
  • s : Ext.SplitBar
    The SplitBar using this adapter
返回:
  • void
This method is defined by SplitBar.BasicLayoutAdapter.

setElementSize

public function setElementSize(Ext.SplitBar s, Number newSize, Function onComplete)
Called after drag operations to set the size of the resizing element.
参数:
  • s : Ext.SplitBar
    The SplitBar using this adapter
  • newSize : Number
    The new size to set
  • onComplete : Function
    A function to be invoke when resizing is complete
返回:
  • void
This method is defined by SplitBar.BasicLayoutAdapter.

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.