src/ui/mdi/smart-tab.ts
Represents a tab that is displayed by the SmartMdiComponent.
Properties |
|
Methods |
Accessors |
constructor(url: string, config: Route, viewManager: SmartViewManagerService, router: Router, locationStrategy: LocationStrategy, paramMap: any, navigationStack: NavigationStackItem[], id, routeParams: any)
|
||||||||||||||||||||||||||||||
Parameters :
|
browserUrl |
Type : string
|
The browser URL corresponding to this tab. |
closed |
Default value : false
|
Indicates whether this tab has been closed. |
compiledRoutePath |
Type : string
|
Default value : ''
|
Public config |
Type : Route
|
Public customComponent |
Type : any
|
Public id |
Default value : UUID.UUID()
|
location |
Type : Location
|
Public navigationStack |
Type : NavigationStackItem[]
|
Default value : []
|
Public paramMap |
Type : any
|
Default value : {}
|
Public routeParams |
Type : any
|
Public url |
Type : string
|
formLoaded | ||||||
formLoaded(event: FormReadyEvent)
|
||||||
Called when this tab's form has been loaded. Sets the component ref, updates the navigation history, sets the browser URL and initializes the tab title.
Parameters :
Returns :
void
|
Public getCompiledRouteUrl |
getCompiledRouteUrl(url: string, paramMap: any)
|
Returns :
string
string |
getSerializedInfo |
getSerializedInfo()
|
Returns :
string
string |
navigate | ||||||||||||||||||||||||||||||
navigate(url: string, config: Route, paramMap, disableHistory, routeParams: any)
|
||||||||||||||||||||||||||||||
Performs navigation within the context of this tab.
Parameters :
Returns :
void
|
navigateBack | ||||||||
navigateBack(levels: number)
|
||||||||
Navigates the given number of levels up the history stack.
Parameters :
Returns :
void
|
Public setWindowLocation | ||||||||
setWindowLocation(routeParams: any)
|
||||||||
Parameters :
Returns :
void
|
updateBrowserTitle |
updateBrowserTitle()
|
Updates the browser title
Returns :
void
|
viewLoaded | ||||||
viewLoaded(view: ViewRef)
|
||||||
Parameters :
Returns :
void
|
inUpdateMode |
getinUpdateMode()
|
Indicates whether the Smart Form displayed in this tab is in update mode
Returns :
boolean
|
title | ||||||
gettitle()
|
||||||
The tab's displayed title.
Returns :
string
|
||||||
settitle(value: string)
|
||||||
Parameters :
Returns :
void
|
selected | ||||||
getselected()
|
||||||
Indicates whether the this tab is selected.
Returns :
boolean
|
||||||
setselected(value: boolean)
|
||||||
Parameters :
Returns :
void
|
componentRef |
getcomponentRef()
|
The ComponentRef displayed by this tab.
Returns :
ViewRef
|
canGoBack |
getcanGoBack()
|
Indicates whether this tab has a navigation history to navigate back through.
Returns :
boolean
|