Метод | Описание | |
---|---|---|
getConstraint ( ) : CDraggableConstraint | Determine if the element should be constrainted in one direction or not | |
getGhosting ( ) : TDraggableGhostingOption | Determine if the element should be cloned when dragged If true, Clones the element and drags the clone, leaving the original in place until the clone is dropped. | |
getHandle ( ) : string | Get the handle id or css class | |
getRevert ( ) : TDraggableRevertOption | Determine if draggable element should revert to it orginal position upon release in an non-droppable container. | |
onPreRender ( $param ) | Registers clientscripts | |
setConstraint ( $value ) | Set wether the element should be constrainted in one direction | |
setGhosting ( $value ) | Sets wether the element should be cloned when dragged If true, Clones the element and drags the clone, leaving the original in place until the clone is dropped. | |
setHandle ( $value ) | Set the handle id or css class | |
setRevert ( $value ) | Sets whether the draggable element should revert to it orginal position upon release in an non-droppable container. |
Метод | Описание | |
---|---|---|
addAttributesToRender ( $writer ) | Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control. | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getPostBackOptions ( ) : array | Gets the post back options for this textbox. |
protected addAttributesToRender ( $writer ) |
protected getClientClassName ( ) : string | ||
Результат | string | the javascript class name |
public getConstraint ( ) : CDraggableConstraint | ||
Результат | CDraggableConstraint |
public getGhosting ( ) : TDraggableGhostingOption | ||
Результат | TDraggableGhostingOption | to clone the element |
protected getPostBackOptions ( ) : array | ||
Результат | array |
public getRevert ( ) : TDraggableRevertOption | ||
Результат | TDraggableRevertOption | true to revert |
public onPreRender ( $param ) |
public setConstraint ( $value ) |
public setGhosting ( $value ) |
public setRevert ( $value ) |