Package jexer

Class TScreenOptionsWindow

  • All Implemented Interfaces:
    java.lang.Comparable<TWidget>

    public class TScreenOptionsWindow
    extends TWindow
    TScreenOptionsWindow provides an easy UI for users to alter the running screen options such as fonts and images.
    • Constructor Detail

      • TScreenOptionsWindow

        public TScreenOptionsWindow​(TApplication application)
        Public constructor. The window will be centered on screen.
        Parameters:
        application - the TApplication that manages this window
    • Method Detail

      • onKeypress

        public void onKeypress​(TKeypressEvent keypress)
        Handle keystrokes.
        Overrides:
        onKeypress in class TWindow
        Parameters:
        keypress - keystroke event
      • draw

        public void draw()
        Draw me on screen.
        Overrides:
        draw in class TWindow
      • disableCloseEffect

        public boolean disableCloseEffect()
        This window will reset the physical screen, making closing effects not always work right. Let's just disable that for now.
        Overrides:
        disableCloseEffect in class TWindow
        Returns:
        true to disable close effects
      • setBorderStyleForeground

        public void setBorderStyleForeground​(java.lang.String borderStyle)
        Set the border style for the window when it is the foreground window.
        Overrides:
        setBorderStyleForeground in class TWindow
        Parameters:
        borderStyle - the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TScreenOptions.borderStyle.
      • setBorderStyleModal

        public void setBorderStyleModal​(java.lang.String borderStyle)
        Set the border style for the window when it is the modal window.
        Overrides:
        setBorderStyleModal in class TWindow
        Parameters:
        borderStyle - the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TScreenOptions.borderStyle.
      • setBorderStyleInactive

        public void setBorderStyleInactive​(java.lang.String borderStyle)
        Set the border style for the window when it is an inactive/background window.
        Overrides:
        setBorderStyleInactive in class TWindow
        Parameters:
        borderStyle - the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TScreenOptions.borderStyle.
      • setBorderStyleMoving

        public void setBorderStyleMoving​(java.lang.String borderStyle)
        Set the border style for the window when it is being dragged/resize.
        Overrides:
        setBorderStyleMoving in class TWindow
        Parameters:
        borderStyle - the border style string, one of: "default", "none", "single", "double", "singleVdoubleH", "singleHdoubleV", or "round"; or null to use the value from jexer.TScreenOptions.borderStyle.