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.demo;
/*-
* #%L
* JAXX :: Demo
* %%
* Copyright (C) 2008 - 2018 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.Container;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.JTabbedPane;
import javax.swing.SwingUtilities;
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.binding.DefaultJAXXBinding;
import org.nuiton.jaxx.runtime.context.DefaultJAXXContext;
import org.nuiton.jaxx.runtime.swing.SwingUtil;
import org.nuiton.jaxx.runtime.swing.TabInfo;
import org.nuiton.jaxx.runtime.swing.TabInfoPropertyChangeListener;
import static org.nuiton.i18n.I18n.t;
public class DemoTab extends JTabbedPane implements JAXXObject {
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_SOURCE_TABS_SOURCES = "sourceTabs.sources";
public static final String BINDING_TAB_DEMO_PANEL_TITLE = "tabDemoPanel.title";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAJ1TPW8TQRAdX3CMnQQCQlQRsuR8IAF3ojbiQ7EiggxBmCLCDWvfYq913l129/DRpKCg4w9Q0NKg/IeIComG1v8BKT+B2fXFZ4IvAq7YO83NvHn75s2Xn1DUCm4K1fN5zIzg/oAkia9ibtiQ+o8e7O/vdQa0axpUdxWTRiiYPAUPvDYshdO4NuC3m4gUTJACixSkSMG2GErBKZ8Bqjehos3biOo+pcbA9dzirtZBa5pZT2Ss0l5zWc/r9f397XGBNj56AIlE+vbaN/4BILv1uSZ4LDRwuTkgb0gQEd5DcorxHl5oxca2I6L1EzKkr+EASk1YlEQhmIFb/yWPg3NQiTSwYASea6eph3Qo/AYez0lHSpe+aKBsw08Jp5GBa7klLsFWlKeFFS1i1aUIhmOt5la2XJb+vXbZkE4j67uRp7IeoWY+ttjlr0TG+UJaPoN9Bf8q2MwDQnv4mT2ySRXaUFQxhg3U8p1pzfUMsya2quXbyrZxie8OD9Tn0fH4xEsekvtDo9NVM2uDg5VKSKoMs9wuTowUGxYFj4mst6GsaYQ753Zq62zmrTQT2SOLSxbJt0j+Q6L7iFYsjY++Xn35YwG8HahEgoQ7xObvQtn0FSomojCR9+47csuj83iuWpoGVhjviiGOyPkP53InJIZUO4yHGLyboFhbZ4s15Xa4d/zt04eNoxPBCkh1/W8qM9GKL2CR8Yhx6tYv3ay567YkNY1Dka3NvEUq2PeqTG235s7qPBlKOvNhLYnta91dwX5tTmF+AQg6Tt5KBQAA";
private static final Log log = LogFactory.getLog(DemoTab.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List