打印版式

Class Ext.SplitBar.BasicLayoutAdapter

Package:Ext
Class:SplitBar.BasicLayoutAdapter
Extends:Object
Subclasses:SplitBar.AbsoluteLayoutAdapter
Defined In:SplitBar.js
Default Adapter. It assumes the splitter and resizing element are not positioned elements and only gets/sets the width of the element. Generally used for table based layouts.

属性   -  方法   -  事件

公共属性

此类没有公共属性。

公共方法

方法 定义对象
  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.

公共事件

此类没有公共事件。

方法详情

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.