dundas.controls.ViewPanel Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.FocusableControl
         dundas.controls.ViewPanel
 

Constructors

 
  Name Description
init Create a new instance of the viewPanel.
 
 

Properties

 
  Name Description
canvasService
controlContainer Gets the container of this control. Inherited from dundas.controls.FocusableControl.
isDisabled Gets or sets whether or not this control is disabled. Inherited from dundas.controls.FocusableControl.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isExpanded Gets the value indicating whether or not this viewpanel is expanded
isFocused Gets or sets the focused state of this control. Inherited from dundas.controls.FocusableControl.
isHidden Gets or sets a value to hide or show this viewpanel.
isInViewMode
isVisible Gets a value indicating the visible state of this viewpanel.
jQControlContainer Gets the container of this control in JQuery object. Inherited from dundas.controls.FocusableControl.
parentFocusable Gets the focusable parent of this control. Inherited from dundas.controls.FocusableControl.
resetScaleValue Gets or sets the value to reset zoom to when the reset button is pressed.
scaleFactor
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
collapse collapse the view panel.
dispose Disposes this view panel, unsubscribing all events and HTML elements. Inherited from dundas.EventDisposable.
expand Expand the view panel.
focus Put this control into focus. Inherited from dundas.controls.FocusableControl.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getContextState Set the UI context state to be saved in dundas.UIContextFocus Inherited from dundas.controls.FocusableControl.
getDetachedPopupWindow Retrieves the detached popup window.
hide Hide the view panel.
onVisionChanged Fired when the vision is modified.
onVisionChangeStart Fired when the vision is starting to get modified.
onVisionChanging Fired when the vision is modifying.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
redrawViewport Re-draw the entire viewport
refreshPreviewBackground Refresh the background of the preview panel to match the previewing background.
refreshPreviewContent Re-draws the viewport's contents.
removePreviewContent Remove the preview content with its Id matching elementId.
resetContent Removes all preview content,
resetScale Reset the scale to the scale specified in resetScaleValue property.
restart Re-start the view panel.
setContextState Restore this control to the state as defined. Inherited from dundas.controls.FocusableControl.
setVision Sets current vision of the viewPanel.
show Show the viewpanel.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeBlurred Inherited from dundas.controls.FocusableControl.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeFocused Inherited from dundas.controls.FocusableControl.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribeVisibleChanged Subscribe an handler for the VisibleChanged event.
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.