Class SimpleView

  • All Implemented Interfaces:
    be.yildizgames.common.util.Registerable, Visible, Comparable<View>

    public class SimpleView
    extends View
    Basic implementation of a View.
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • SimpleView

        public SimpleView​(Container container,
                          Zorder z,
                          GuiEventManager eventManager,
                          be.yildizgames.module.window.ScreenSize size)
        Full constructor.
        Parameters:
        container - Wrapped container.
        z - Z value.
        eventManager - Associated event manager.
      • SimpleView

        public SimpleView​(Container container,
                          Zorder z,
                          be.yildizgames.module.window.ScreenSize size)
    • Method Detail

      • setVisibleImpl

        protected final void setVisibleImpl​(boolean show)
        Description copied from class: View
        Set specific implementation when setVisible is called.
        Specified by:
        setVisibleImpl in class View
        Parameters:
        show - true if the view is set to visible, false if it is hidden.
      • setActiveImpl

        protected final void setActiveImpl​(boolean active)
        Description copied from class: View
        Implementation specific set active.
        Specified by:
        setActiveImpl in class View
        Parameters:
        active - Active state.