Class ShowDialogRequest

    • Constructor Detail

      • ShowDialogRequest

        public ShowDialogRequest()
        Create show dialog request.
      • ShowDialogRequest

        public ShowDialogRequest​(ShowDialogRequest request)
        Create copy of show dialog request.
    • Method Detail

      • getBrandMode

        public BrandMode getBrandMode()
        Brand mode.
      • getResourceId

        public ResourceId getResourceId()
        Resource identifier.
      • getTheme

        public Theme getTheme()
        Theme.
      • getTimeout

        public int getTimeout()
        Timeout in seconds.
      • setTimeout

        public void setTimeout​(int timeout)
        Set timeout in seconds.
      • getLanguage

        public String getLanguage()
        Language. Can be null if not set.
      • setLanguage

        public void setLanguage​(String language)
        Set language. Can be null if not set.
      • getPlaceholderItems

        public Map<Integer,​String> getPlaceholderItems()
        Map of placeholder items. Maps placeholder number to value. Returned map can be safely modified.
      • setPlaceholderItems

        public void setPlaceholderItems​(Map<Integer,​String> items)
        Set map of placeholder items. Maps placeholder number to value. For example if the dialog description states "%0 %1" with placeholder description "0: Currency, 1: Amount" then set map like this: Map<Integer,String> placeholders = new HashMap<>(); placeholders.put(0, Currency.CHF.code); // CHF placeholders.put(1, "2500"); // 25.-- request.setPlaceholderItems(placeholders); Map can be safely modified after method returns.
      • getResourceParameters

        public Map<ResourceParameterType,​String> getResourceParameters()
        Map of resource parameters. Maps resource parameter type to value.
      • setResourceParameters

        public void setResourceParameters​(Map<ResourceParameterType,​String> parameters)
        Set map of resource parameters. Maps resource parameter type to value.