dundas.controls.LayerManager Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.LayerManager
 

Constructors

 
  Name Description
init Create a layer manager.
 
 

Properties

 
  Name Description
contextFocusLayer
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
layerExplorer
templateLayers Gets the template layers.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
viewPanel
 
 

Methods

 
  Name Description
adjustLayersBackground Adjust all layers' background so that they are placed correctly.
appendTemplateCells
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
createLayer Create a layer viewmodel on top of the selected layer and assigns a zIndex to it.
deleteLayers Remove layers, and then select the next lower layer.
detachTemplateCell Detach a container template cell of the specified template cell ID.
dispose Inherited from dundas.EventDisposable.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getAllLayers Retrieves all the LayerViewModels. In increasing base zIndex order.
getContainerTemplateCell Gets the container template cells of each layer. The ID of the template cell desired to get containers from.
getLayerByLayerId Get a layer by its ID.
getNextSuitableLayer Find and select the next best usable layer.
getSelectedLayers Get the currently selected Layer.
insertlayer Create a layer viewModel and retains the zIndex of the layer.
notifyObjectChanged Notify that some object has moved or resized or unhidden.
notifyObjectLayerChanged
notifyObjectRemoved Remove a design object from the layer explorers.
notifyRefreshAllLayers Notify that all layers require refreshing.
notifyRefreshRequired Notify the layer manager that corresponding node of a viewmodel needs refresh.
notifySelectionChanged Notify the layer manager the selection of design objects or group has been changed.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
raiseLayerClicked Raise the layer clicked event
raiseLayerCreated Raise the layer created event.
raiseLayerDeleted Raise the layer deleted event.
raiseLayerOpacityChanged Raise the Layer opacity changed event.
reattachTemplateCell re-attach a detached container template cell of the specified template cell ID.
removeTemplateCell
reset disposes all layer viewmodels
setLayersArrangement Sets the z-index of the layers according to the order of them in the array, from highest to lowest zIndex
setLayersRelativeOffset Re-position all layers by the specified amount from its original positions.
setTemplate Sets the template grid by retrieving the grid layout from the Grid template adorner.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeLayerClicked Subscribe a callback as handler to selected layer clicked.
subscribeLayerContentRemoved
subscribeLayerCreated Subscribe an event handler to the layer created event.
subscribeLayerDeleted Subscribe an event handler to the layer deleted event.
subscribeLayerHiddenChanged Subscribe a callback as handler to layer hidden changed event.
subscribeLayerLockedChanged Subscribe a callback as handler to layer Lock changed event.
subscribeLayerOpacityChangedStart Subscribe an event to handle the Layer Opacity Changed event
subscribeLayerOpacityChangeStart Subscribe an event to handle the Layer Opacity Change start event
subscribeLayerOpacityChanging Subscribe an event to handle the Layer Opacity Changing event
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.