ScriptView
Script view
Extends
Constructors
new ScriptView()
new ScriptView(
dart):ScriptView
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Constructs
ScriptView
Source
Properties
| Property | Modifier | Type | Default value | Description | Inherited from |
|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | View._functions |
_name | protected | string | 'New View' | - | View._name |
_properties | protected | Property[] | [] | - | View._properties |
_root | protected | HTMLElement | undefined | - | View._root |
dart | public | any | undefined | - | View.dart |
factory | public | null | Func | null | Constructor function. No parameters, returns [Widget]. | View.factory |
isDetached | public | boolean | false | - | View.isDetached |
props | public | any | undefined | - | View.props |
subs | public | Subscription[] | undefined | - | View.subs |
temp | public | any | undefined | Contains auxiliary information | View.temp |
ALL_VIEW_TYPES | readonly | string[] | ... | - | View.ALL_VIEW_TYPES |
APPS | readonly | "apps" | 'apps' | - | View.APPS |
BROWSE | readonly | "browse" | 'browse' | - | View.BROWSE |
DATABASES | readonly | "databases" | 'databases' | - | View.DATABASES |
DATA_CONNECTIONS | readonly | "connections" | 'connections' | - | View.DATA_CONNECTIONS |
DATA_JOB_RUNS | readonly | "jobs" | 'jobs' | - | View.DATA_JOB_RUNS |
DATA_QUERY_RUNS | readonly | "queryruns" | 'queryruns' | - | View.DATA_QUERY_RUNS |
DOCKERS | readonly | "dockers" | 'dockers' | - | View.DOCKERS |
EMAILS | readonly | "emails" | 'emails' | - | View.EMAILS |
FILES | readonly | "files" | 'files' | - | View.FILES |
FORUM | readonly | "forum" | 'forum' | - | View.FORUM |
FUNCTIONS | readonly | "functions" | 'functions' | - | View.FUNCTIONS |
GROUPS | readonly | "groups" | 'groups' | - | View.GROUPS |
HELP | readonly | "help" | 'help' | - | View.HELP |
JS_EDITOR | readonly | "js" | 'js' | - | View.JS_EDITOR |
MODELS | readonly | "models" | 'models' | - | View.MODELS |
NOTEBOOKS | readonly | "notebooks" | 'notebooks' | - | View.NOTEBOOKS |
OPEN_TEXT | readonly | "text" | 'text' | - | View.OPEN_TEXT |
PACKAGES | readonly | "packages" | 'packages' | - | View.PACKAGES |
PACKAGE_REPOSITORIES | readonly | "repositories" | 'repositories' | - | View.PACKAGE_REPOSITORIES |
PROJECTS | readonly | "projects" | 'projects' | - | View.PROJECTS |
QUERIES | readonly | "queries" | 'queries' | - | View.QUERIES |
SCRIPT | readonly | "script" | 'script' | - | View.SCRIPT |
SCRIPTS | readonly | "scripts" | 'scripts' | - | View.SCRIPTS |
SETTINGS | readonly | "settings" | 'settings' | - | View.SETTINGS |
SKETCH | readonly | "sketch" | 'sketch' | - | View.SKETCH |
USERS | readonly | "users" | 'users' | - | View.USERS |
VIEW_LAYOUTS | readonly | "layouts" | 'layouts' | - | View.VIEW_LAYOUTS |
WEB_SERVICES | readonly | "webservices" | 'webservices' | - | View.WEB_SERVICES |
WELCOME | readonly | "welcome" | 'welcome' | - | View.WELCOME |
Accessors
basePath
getbasePath():string
Deprecated
use path instead
setbasePath(s):void
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
string
Source
box
getbox():boolean
setbox(b):void
Parameters
| Parameter | Type |
|---|---|
b | boolean |
Returns
boolean
Source
children
getchildren():Widget<any>[]
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Source
closing
getclosing():boolean
Whether the view is currently closing.
setclosing(c):void
Parameters
| Parameter | Type |
|---|---|
c | boolean |
Returns
boolean
Source
description
getdescription():string
View description. Used in UI and AI.
setdescription(s):void
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
string
Source
entity
getentity():null|object
setentity(_e):void
Parameters
| Parameter | Type |
|---|---|
_e | null | object |
Returns
null | object
Source
helpUrl
gethelpUrl():null|string
sethelpUrl(url):void
Parameters
| Parameter | Type |
|---|---|
url | null | string |
Returns
null | string
View help URL.
Source
id
getid():string
Returns
string
Source
isPinned
getisPinned():boolean
Returns
boolean
Whether the view is pinned. Pinned views are not closed when a new view is opened.
Source
name
getname():string
View name. It gets shown in the tab handle.
setname(s):void
Parameters
| Parameter | Type |
|---|---|
s | string |