Zebra API Doc

zebra.ui.showWindow()

showWindow

(
  • context
  • [type]
  • win
  • [listener]
)

Show the given UI component as a window

Parameters:

  • context zebra.ui.Panel

    an UI component of zebra hierarchy

  • [type] String optional

    a type of the window: "modal", "mdi", "info". The default value is "info"

  • win zebra.ui.Panel

    a component to be shown as the window

  • [listener] Object optional

    a window listener

       {
           winActivated : function(layer, win, isActive) {
    
           },
    
           winOpened : function(layer, win, isOpened) {
    
           }
       }