Package jexer

Class TPanel

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

    public class TPanel
    extends TWidget
    TPanel is an empty container for other widgets.
    • Constructor Detail

      • TPanel

        public TPanel​(TWidget parent,
                      int x,
                      int y,
                      int width,
                      int height)
        Public constructor.
        Parameters:
        parent - parent widget
        x - column relative to parent
        y - row relative to parent
        width - width of widget
        height - height of widget
    • Method Detail

      • onResize

        public void onResize​(TResizeEvent resize)
        Method that subclasses can override to handle window/screen resize events.
        Overrides:
        onResize in class TWidget
        Parameters:
        resize - resize event