Class TogglePanel<T extends Serializable>

    • Field Detail

      • LOG

        protected static final Logger LOG
      • HEADER_FIRST_ABBREVIATION

        protected static final int HEADER_FIRST_ABBREVIATION
        See Also:
        Constant Field Values
    • Method Detail

      • updateLabelKeyValue

        protected void updateLabelKeyValue​(Serializable modelObject)
      • toggle

        public void toggle​(AjaxRequestTarget target,
                           Serializable modelObject,
                           boolean toggle)
        Force toggle via java. To be used when the onclick has been intercepted before. Also, set key value in label name for copy-to-clipboard feature.
        Parameters:
        target - ajax request target.
        modelObject - model object
        toggle - toggle action.
      • toggle

        public void toggle​(AjaxRequestTarget target,
                           boolean toggle)
        Force toggle via java. To be used when the onclick has been intercepted before.
        Parameters:
        target - ajax request target.
        toggle - toggle action.