Package totalcross.ui

Class MaterialWindow

    • Constructor Detail

      • MaterialWindow

        public MaterialWindow​(boolean delayInitUI,
                              Presenter<Container> provider)
      • MaterialWindow

        public MaterialWindow​(java.lang.String title,
                              boolean delayInitUI,
                              Presenter<Container> provider)
    • Method Detail

      • setBarFont

        public void setBarFont​(Font f)
      • setForeColor

        public void setForeColor​(int color)
        Description copied from class: Control
        Set the foreground color of this control.
        Overrides:
        setForeColor in class Control
      • setBackColor

        public void setBackColor​(int color)
        Description copied from class: Control
        Set the background color of this control.
        Overrides:
        setBackColor in class Control
      • setTitle

        public void setTitle​(java.lang.String title)
        Description copied from class: Window
        Sets the title and call repaint.
        Overrides:
        setTitle in class Window
      • getTitle

        public java.lang.String getTitle()
      • setIcon

        public void setIcon​(Icon icon)
      • getBar

        public Bar getBar()
      • initUI

        public void initUI()
        Description copied from class: Container
        Called to initialize the User Interface of this container. This differs from the onAddAgain method by that this method is called only once, at the first time the control is added to the parent. When the container is being setup, the initUI method is called; then, the onAddAgain is called every time the container is added again.
        Overrides:
        initUI in class SlidingWindow
      • postPopup

        protected void postPopup()
        Description copied from class: Window
        Placeholder called after the popup is done and after the repaint of this window. The default implementation does nothing.
        Overrides:
        postPopup in class SlidingWindow