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.runtime.swing;
/*-
* #%L
* JAXX :: Widgets
* %%
* Copyright (C) 2008 - 2016 CodeLutin
* %%
* 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.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
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.SwingUtil;
import org.nuiton.jaxx.runtime.binding.SimpleJAXXObjectBinding;
import org.nuiton.jaxx.runtime.context.DefaultJAXXContext;
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_I18N = "showI18n";
public static final String PROPERTY_SHOW_MEMORY_STATUS = "showMemoryStatus";
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_BUSY_WIDGET_ENABLED = "busyWidget.enabled";
public static final String BINDING_BUSY_WIDGET_INDETERMINATE = "busyWidget.indeterminate";
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 = "H4sIAAAAAAAAAKVVz08TQRSeFtpCsYDGGGOMIaGCRN1CYgIRIloIAVKEWBOJvTjbnbSD25l1ZpYuFw4evPkPePDqxfA/EE8mXrzyP5jwJ/hmdukWaflhe9g2b7/3ve97M+/1+x+UkgI94qJmMZ8qzqwdHASW8JmiDWKtv9je3rR3SFUtE1kV1FNcoPCTSKJkBQ05rbhUyKqUgKkQMhU0UyFiKizxhscZYW1E8yWUlWrPJbJOiFLoQdfkqpSFcgs5H3i+iGp1VN2p1q9PM0cJsvwliVDggfwc2H54BYLYdX8JJamj0I3SDt7FBRezGogTlNXAUE7Hllws5UvcIB/QPsqUUNrDAsgUevxf7TF0hirwFMrkX2PbJdMKTXeTL5sgxiorrHy5QaTENbKFGXE9z9CkFRqVdd7cIA0u9kKYQte1cku7sYqcuwSzGD6o4Usur77XgeH4xYB+sTYzxzrFi77c+yfeb5+NZeqYOS4RCs1e1dBqmBlzpfJFHkBrRrSZIMqDkH492EJltYo31KnpW3e7Hbq+JXhNQIUiFhp8p5UzJE31EraJC2d/KskET8P77LDo3dOVb+bbmx5KuPgkz+ZouvEWay5vzqZFN3U+XRs44hFoolsKjJ4Vj148BYkKSgkfwgqNd596PbivABWO7Hj3kdVlDPDjwb741jw+OpnTARA3dlFW20qCofEE9+A6Ua1tJBxSX1G3sIG9+QrcZeLCPjP7avJ85eUICepBRTggmslaxbIObKnM0eGPW+9+96HkCsq6HDsrWOPX0KCqwy2qc9cJvMXnRty15gA8R7VMhdI2F46+8sMLDlZ4zKbMgaN5FkCXJs/vUkvUwebxz6+f7x+edCoBGvOXyYy7lXqL0pS5lBGz06J11XGHDXmS+A6Pd1Gn7ZTQ31kvmsdp83zSyX8u9L+FKVNE79KFUMYYVrBJbV8RaIXOnjPG9K+nhvzeJcgzhOkNaezM/j9NDs6EKCIalGFFeiWT5h8iMqxhiz0Y3KWSgsOeNOlw+RyGiZ4ZpoDhLyh5d4VhCAAA";
private static final Log log = LogFactory.getLog(StatusMessagePanel.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List