Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package org.nuiton.jaxx.widgets.status;
/*-
* #%L
* JAXX :: Widgets
* %%
* Copyright (C) 2008 - 2024 Code Lutin, Ultreia.io
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import java.awt.Component;
import java.awt.Container;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.JLabel;
import javax.swing.JProgressBar;
import javax.swing.border.BevelBorder;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.nuiton.jaxx.runtime.JAXXBinding;
import org.nuiton.jaxx.runtime.JAXXContext;
import org.nuiton.jaxx.runtime.JAXXObject;
import org.nuiton.jaxx.runtime.JAXXObjectDescriptor;
import org.nuiton.jaxx.runtime.JAXXUtil;
import org.nuiton.jaxx.runtime.binding.SimpleJAXXObjectBinding;
import org.nuiton.jaxx.runtime.context.DefaultJAXXContext;
import org.nuiton.jaxx.runtime.spi.UIHandler;
import org.nuiton.jaxx.runtime.swing.SwingUtil;
import org.nuiton.jaxx.runtime.swing.Table;
public class StatusMessagePanel extends Table implements ActionListener, JAXXObject {
/*-----------------------------------------------------------------------*/
/*---------------- Constants for all javaBean properties ----------------*/
/*-----------------------------------------------------------------------*/
public static final String PROPERTY_BUSY = "busy";
public static final String PROPERTY_SHOW_BUSY = "showBusy";
public static final String PROPERTY_SHOW_CLOCK = "showClock";
public static final String PROPERTY_SHOW_MEMORY_STATUS = "showMemoryStatus";
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_BUSY_WIDGET_VISIBLE = "busyWidget.visible";
/*-----------------------------------------------------------------------*/
/*--------------- Constants for all none public bindings ---------------*/
/*-----------------------------------------------------------------------*/
private static final String BINDING_$CLOCK_WIDGET0_VISIBLE = "$ClockWidget0.visible";
private static final String BINDING_$MEMORY_STATUS_WIDGET0_VISIBLE = "$MemoryStatusWidget0.visible";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAKVUTU8TURS9LbSFVj40fm4MhipGdEY0boT4UQhRUoSAicRufNN5aR9O543vvaHDhoULd/4BF27dGP4DcWXixi3/wYSf4H1vSqdAC4hdTJs755577u295/sfyEgBd7moWX7IFPetdRJFlgh9xRrUWni+trbkrNOqmqOyKliguID4k0pDugIFtx2XCqxKGZnsmMnWTHaLyZ7ljYD71O8gmi5DXqpNj8o6pUrB7Z7JVSnt1TZyOgpC0arVVXW3Wr8+Te2m6NyXNEAUoPwCtj35DwRJ1/1lSDNXwYXyOtkgtkf8GooTzK9hQ0M6NusRKV+RBv0AW5ArQzYgAskU3DvTeAydoYoCBbnia+J49L6CqcPym8ytUSUtqYgKpbVqvhaplKRGl4lPvSAwPFkFo7LOm4u0wcVmDFNwXku3dDtWiXOPEj+BD2r4rMer73VgOHkxoF+UQrl5KN7vHI1liiUeoe4RXSiyZJOZUpF+PdhG5XXmG9OJgqud0IVlwWsC2ykRocGX2jmFuOMycaiHf8yBJBM8CO9z4qJXDla+WOwcSCzhFGM+mqT5rrdph4pmcG2+OyfwdaBbRAJu9dpUvAwruYxkSVMVyIgQwwrGex+lvqsVRMUXNd77onQZA/y4vSW+Nfd2988oi+LGTsrqcAzc6UDwgArFtLaR+IZCxTx7kQTTFdw06qHdGDuZOF75aguJ6lFFvL6ayXpBZB3ZMrndnR+X3/3ug/Q85D1O3Hmi8S9hUNVxj+rcc6Pg6TMj7lxzAJ+jWqaCrMOFixpheMYliow5zHdxmZ5EOKWJ46fUFrW9tPfz6+ebO/uTSqHG4mkyk2ll3kKW+R7zqbGclpt0tZhCIGno8sQquplHSn/ng9ZFTpqn3a3/obj/ZcJ8RbXVzcQyxohCo3NCRXEUOvuhaUz/emTIr52GXBqzbJFr2OOzk+U2mGRohxrw4Kw0Ojx3DMON/2YoIsNfefknNGwHAAA=";
private static final Logger log = LogManager.getLogger(StatusMessagePanel.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List