Class JFrameContextView

    • Field Detail

      • frame

        protected JFrame frame
      • label

        protected JLabel label
      • width

        protected int width
      • height

        protected int height
      • x

        protected int x
      • y

        protected int y
    • Constructor Detail

      • JFrameContextView

        public JFrameContextView()
        Creates view frame of default size - (380 x 85)
    • Method Detail

      • sized

        public JFrameContextView sized​(int width,
                                       int height)
        Builder-style way to set the preferred size for the frame
        Parameters:
        width - the width
        height - height
        Returns:
        The JFrameContextView
      • located

        public JFrameContextView located​(int x,
                                         int y)
        Builder-style way to set the preferred location for the frame
        Parameters:
        x - the x position on screen
        y - the y position on screen
        Returns:
        The JFrameContextView
      • labelTemplate

        protected String labelTemplate()
      • pauseInMillis

        protected long pauseInMillis()
      • initialize

        protected void initialize()