Ext.dd.DD

setXConstraint( int iLeft, int iRight, int iTickSize ) : void

Parameters:
    iLeft : int
    the number of pixels the element can move to the left
    可以移动到左边多少像素
    iRight : int
    the number of pixels the element can move to the right
    可以移到到右边多少像素
    iTickSize : int
    optional parameter for specifying that the element should move iTickSize pixels at a time.
    每次移动的步长


setYConstraint( int iUp, int iDown, int iTickSize ) : void

Parameters:
   
    iUp : int
    the number of pixels the element can move up
    可以移动到上边多少像素
    iDown : int
    the number of pixels the element can move down
    可以移动到下边多少像素
    iTickSize : int
    optional parameter for specifying that the element should move iTickSize pixels at a time.
    每次移动的步长



你可能感兴趣的:(ext)