WireItLibrary

inputex-plugin  0.6.0

WireItLibrary > inputex-plugin > inputEx.LayerContainer
Search:
 
Filters

Class inputEx.LayerContainer - extends WireIt.Container

Container that has a Layer

Constructor

inputEx.LayerContainer ( options , layer )
Parameters:
options <Object>
layer <WireIt.Layer>

Properties

_WireItTerminals - {Array}

List of the contained terminals

className - String

CSS class name for the container element
Default Value: ""WireIt-Container WireIt-LayerContainer"

ddHandle - Boolean

(only if draggable) boolean indicating we use a handle for drag'n drop
Default Value: false

height - Integer

initial height of the container
Default Value: 100

Layout - static object


width - Integer

initial width of the container
Default Value: 200

xtype - String

String representing this class for exporting as JSON
Default Value: "WireIt.LayerContainer"

Methods

layoutAnim

void layoutAnim ( )
Calculate the new position for the given layout and animate the layer to this position

onDrag

void onDrag ( )
Override YAHOO.util.DD.prototype.onDrag to redraw the wires

render

void render ( )
Render a WireIt.Layer inside !

setTerminals

void setTerminals ( )
In case you change the terminals since you created the WireIt.LayerContainer.DD:

startDynamicLayout

void startDynamicLayout ( )
Start a dynamic layout

stopDynamicLayout

void stopDynamicLayout ( )
Stop the dynamic layout


Copyright © 2010 Eric Abouaf All rights reserved.