Class TabFrameContentPane

    • Constructor Detail

      • TabFrameContentPane

        public TabFrameContentPane()
    • Method Detail

      • setupSplitterPanes

        protected <T> void setupSplitterPanes​(BiConsumer<? super ToggleSplitPane,​T> consumer,
                                              T flag)
      • disableAll

        public void disableAll​(boolean force)
      • setEnabled

        public void setEnabled​(com.github.weisj.darklaf.util.Alignment a,
                               boolean enabled)
        Show or hide the corresponding panel.
        Specified by:
        setEnabled in interface TabFrameContent
        Parameters:
        a - position of panel.
        enabled - true if should be shown.
      • setEnabled

        public void setEnabled​(com.github.weisj.darklaf.util.Alignment a,
                               boolean enabled,
                               boolean force)
        Show or hide the corresponding panel.
        Parameters:
        a - position of panel.
        enabled - true if should be shown.
        force - whether to force the layout process.
      • setContent

        public void setContent​(Component pane)
        Description copied from interface: TabFrameContent
        Sets the content to displayed in the middle.
        Specified by:
        setContent in interface TabFrameContent
        Parameters:
        pane - the content component.
      • isEnabled

        public boolean isEnabled​(com.github.weisj.darklaf.util.Alignment a)
        Returns whether the corresponding panel is currently enabled/visible.
        Specified by:
        isEnabled in interface TabFrameContent
        Parameters:
        a - the position of the panel.
        Returns:
        true if enabled.
      • setComponentAt

        public void setComponentAt​(com.github.weisj.darklaf.util.Alignment a,
                                   Component c)
        Description copied from interface: TabFrameContent
        Sets the component at the specified position.
        Specified by:
        setComponentAt in interface TabFrameContent
        Parameters:
        a - the alignment.
        c - the component.
      • getStatus

        public boolean[] getStatus()
        Get the status of the individual panels.
        Specified by:
        getStatus in interface TabFrameContent
        Returns:
        array of status of panels.
      • getContainer

        public PopupContainer getContainer​(com.github.weisj.darklaf.util.Alignment alignment)
        Description copied from interface: TabFrameContent
        Get the popup container at the given location.
        Specified by:
        getContainer in interface TabFrameContent
        Parameters:
        alignment - the alignment position.
        Returns:
        the popup container.
      • getPopupComponent

        public Component getPopupComponent​(com.github.weisj.darklaf.util.Alignment a)
        Get the popup component at the position.
        Parameters:
        a - the position.
        Returns:
        the popup component at position.