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.temperature;
/*-
* #%L
* JAXX :: Widgets Temperature
* %%
* Copyright (C) 2008 - 2020 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 io.ultreia.java4all.jaxx.JaxxWidgetsTemperatureI18nEnumHelper;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.GridLayout;
import java.awt.LayoutManager;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.ButtonGroup;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
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.bean.BeanScopeAware;
import org.nuiton.jaxx.runtime.binding.DefaultJAXXBinding;
import org.nuiton.jaxx.runtime.context.DefaultJAXXContext;
import org.nuiton.jaxx.runtime.swing.JAXXButtonGroup;
import org.nuiton.jaxx.runtime.swing.SwingUtil;
import org.nuiton.jaxx.widgets.number.NumberEditor;
public class TemperatureEditor extends JPanel implements BeanScopeAware, JAXXObject {
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_C_FORMAT_SELECTED = "cFormat.selected";
public static final String BINDING_EDITOR_NUMBER_VALUE = "editor.numberValue";
public static final String BINDING_F_FORMAT_SELECTED = "fFormat.selected";
public static final String BINDING_MODEL_FORMAT = "model.format";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAM1VT28TRxR/NthOYtI/oLYcOESFQgLpmByQqqYUQmJDIiexnAXS5gBj79jZaL0znZklG1lw4MCNL9BDr70gvgPihMSFa75DJT5C3+ysvQ6xSUCqVB9217Pv/d57v/d7b1/8AzklYZbLNglCT/OA7NAoIjIMtNdhZGVhc3O9scOaeomppvSE5hLsL5OF7BYU3f650kC2qohUskglg1RKkEqLvCN4wIIBoPkqTCi95zO1zZjWMD3SualUaaNvOR+JUCaxhmY9LNbbZ3P7Gbb0ZxYgEph+Acu+8gkAadUnq5D1XA2nqzv0ES35NGhjctIL2ljQpDlb9KlSa7TD/oAnUKhCXlCJYBp+/Cx6YrgYKhIaxi6s1GjA/Ksarn2Y/67ntplWRLOOYJLqUDLipM9lF02lEDFYXkOuw13ma/j5s3BWjXMKlmfxqT7Mag8tCDsNJslafLMYxne8D1FscdmhOi4P+TVURkTtIrPE1nzQvNCsxPYazh4wrVPX47dCjQkYy9OpQ8s6mL/fHXw1ZkPfuo1NGqWKBB5HwoLfljwUSICEi6NcULgkFW6qocwW5GSIxxrOj54ZI/s6WlnBnx8teBMmNnz68on8e/f9fk/leUxu6iivgYFGyQnJsc/aM7l9aSUeas8vrVIxvwXjivm4DeJpv/TxzDcSS8wes/jaIBGDRO5QtY1oucL+q9ffPnx3ArIVmPA5dSvU2C/DuN6WyBj33UjcuBknd2p3DK9fmTRRaq2k71e70wOytM2d6XWSoOhsDsy9R/2QTc88jpDHSx/nsZ/2y/X3b/56/sOrHpcZrOLCcTxTPnO/Q94LfC9g8c5I1sHQHVEUioUuT2d92PRDb2ZFMnffx9eLh0gyw9RIRXpA3+Mt3gwVbfgoyFyL+grvJzWLkM+l7goWdd/O6wCzy3M/BWUc3zsYGScY31Zpg/mHySeLM48R9ZGhW8M33SEG+L6oOfcdTzhx0JVjB+3tRo8Ho0KPqaTjGi4Piz51/fpUzKDBs4exLAyNl+Mmm6dZSLfL/5bqylFUV/4zqivHoLryCVS3jkd1TsOE/Yg4ewKLnuxWcG1o0jQjghlN2pc1XA1MBhrOdTfMyr5rls5SeXF5daE696C24Djl+popIFl1e7jzu8M/b6RWX6+V685vD5zyKj4sOHfrZXQthIpteO0gbWvRxr5n23G22698AHhE+cmX86jqzeLz6R5HrcEXv7hU06mGF7hY4K+HUDPmOnEkojlumEtzOMIZRPgXCkl70yMKAAA=";
private static final Logger log = LogManager.getLogger(TemperatureEditor.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List