Interface UiMainWindow

    • Method Detail

      • getPosition

        AttributeReadPosition getPosition()
        ATTENTION: It is strictly discouraged to modify the position of the main window by the application. In case of a web-application this will move the browser window what will cause unacceptable impact on usability. However, if you are fully aware of what you are doing, it is technically possible to cast the result of this method to AttributeWritePosition to do so.
        Specified by:
        getPosition in interface UiAbstractWindow
        Returns:
        access to read and write the position of this window.
      • getSize

        AttributeReadSize getSize()
        ATTENTION: It is strictly discouraged to modify the size of the main window by the application. In case of a web-application this will resize the browser window what will cause unacceptable impact on usability. However, if you are fully aware of what you are doing, it is technically possible to cast the result of this method to AttributeWriteSizeInPixel to do so.
        Specified by:
        getSize in interface UiAbstractWindow
        Returns:
        access to read and write the size of this window.
      • isWindowPositionAbsolute

        boolean isWindowPositionAbsolute()
        Returns:
        true if the position of windows is absolute (on UiScreen), false if relative to this main window (MDI mode).