Skip to main content

%DeepSee.Component.Widget.abstractControlPanel

Class %DeepSee.Component.Widget.abstractControlPanel Extends (%ZEN.Component.component, %ZEN.Component.dataView) [ System = 4 ]

Base class for DeepSee Control Panel Widget.
A control panel is a specialized widget that can be plugged into a DeepSee dashboard to hold controls only.

Parameters

NAMESPACE

Parameter NAMESPACE = "http://www.intersystems.com/deepsee";

Properties

settings

Property settings As %String [ MultiDimensional ];

MultiDimensional property containing the current settings values for this panel.

XDatas

Style

XData Style

Style for the panel

Methods

%OnGetPanelName

ClassMethod %OnGetPanelName() As %String

Return the localized caption of this panel. This is displayed in the Widget Builder dialog. This should be overridden in subclasses.

%OnGetPanelIcon

ClassMethod %OnGetPanelIcon() As %String

Return the URL of the icon to display for this panel. This is displayed in the Widget Builder dialog. This should be overridden in subclasses.

%DrawHTML

Method %DrawHTML()

Static HTML display method: draw the BODY of this component as HTML.
This should be overridden in subclasses.

adjustContentSize

ClientMethod adjustContentSize(load, width, height) [ Abstract, Language = javascript ]

Notification from the containing widget that the page is loaded or the widget is resized. Subclass can implement this, if they wish.

onApplyFilters

ClientMethod onApplyFilters(refresh, widget) [ Abstract, Language = javascript ]

Notification that a filter has changed. Subclass can implement this, if they wish.
refresh inidicates if the display should be refreshed.
widget is the containing widget object.