Class LinkPanel<M,​I>

    • Constructor Detail

      • LinkPanel

        public LinkPanel​(String id,
                         String Label)
        Creates a new LinkPanel
        Parameters:
        id - Panel Id
        Label - link display text
        See Also:
        Component(String)
      • LinkPanel

        public LinkPanel​(String id,
                         String Label,
                         IModel<I> model)
        Creates a new LinkPanel
        Parameters:
        id - Panel Id
        Label - link display text
        model - backing model used by the panel
        See Also:
        Component(String, IModel)
    • Method Detail

      • onBeforeRender

        protected void onBeforeRender()
        Called just before a component is rendered.
        Overrides:
        onBeforeRender in class Component
      • onClick

        public abstract void onClick()
        override this function to do the actual work when a link is clicked.