Package totalcross.ui

Class SideMenuContainer.Sub

    • Field Detail

      • ANIMATION_TIME

        public static int ANIMATION_TIME
    • Method Detail

      • 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 Container
      • getPreferredHeight

        public int getPreferredHeight()
        Description copied from class: Control
        Returns the preferred height of this control.
        Overrides:
        getPreferredHeight in class Control
      • expand

        public void expand()
      • expand

        public void expand​(boolean showAnimation)
      • collapse

        public void collapse​(boolean showAnimation)
      • collapse

        public void collapse()
      • isExpanded

        public boolean isExpanded()