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 jaxx.runtime.swing.editor;
/*-
* #%L
* JAXX :: Widgets
* %%
* Copyright (C) 2008 - 2017 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.BorderLayout;
import java.awt.Container;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.DefaultBoundedRangeModel;
import javax.swing.JLabel;
import javax.swing.JSpinner;
import javax.swing.SpinnerDateModel;
import javax.swing.SpinnerNumberModel;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import jaxx.runtime.JAXXBinding;
import jaxx.runtime.JAXXContext;
import jaxx.runtime.JAXXObject;
import jaxx.runtime.JAXXObjectDescriptor;
import jaxx.runtime.JAXXUtil;
import jaxx.runtime.SwingUtil;
import jaxx.runtime.binding.DefaultJAXXBinding;
import jaxx.runtime.binding.SimpleJAXXObjectBinding;
import jaxx.runtime.context.DefaultJAXXContext;
import jaxx.runtime.swing.Table;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import static org.nuiton.i18n.I18n.t;
public class SimpleTimeEditor extends Table implements JAXXObject {
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_HOUR_ENABLED = "hour.enabled";
public static final String BINDING_HOUR_VALUE = "hour.value";
public static final String BINDING_MINUTE_ENABLED = "minute.enabled";
public static final String BINDING_MINUTE_MODEL_VALUE = "minuteModel.value";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAI1Uu24TQRS9cfzASSwegRCUIJmnbBStHZBoUpAoieVEdpBwkCLcMPaO7InGs8PubLJgBfEJfAL0NEh0VIiCmoIG8QsIUdAi7uyuvXZiwJZfO/eec1/nzpvvkHBsuLJPPM+wXaFYhxrba3t79xv7tKk2qNO0mVSWDcFrIgaxOkyb/XNHwbV6RcMLIbywbnWkJagYQK9UYMpRTzl12pQqBZeHEU3HKdT65hVPunaPtZ/UKNZXP3/EXpovXscAPInZpbCU7P9QUSXxCsSYqeAcRjogBU5EC9OwmWhhvhl9ts6J4+yQDn0CzyFVgaQkNpIpuDp+yT6Hj/ekgtT1XdLgtKjg1lCiziGGNajJEGrUWEdyuovnm/6BlD5BUkGiY5mUKyiMD65qRMQw3WHCVbQa8CzqKr2QoCaZENTeIKE5AqXaRJic2gqWxw9cDjARS7xtuUhxfjDmdhhUu6T7nklOGpSXcTRDvhV9eswzKEc/XQwtNiwMJYnqMiJ1ReOfqEPCdvFYwXz9pCAfoCmQ4vwxKWpC3/p7bvbL+2/vSj39xTH2hZGuA+uDupC2JbGZTIc+HYjPVYwXqkSu1CHtUI675+/W4ojEaqEZk8N4ZzXc0HCjTJw2UiRSXz98nHv8eRJiJZjiFjFLRPtvQVq1beyCxU1P3lv1M5o5PIXfZ/AzGanrRlfQw2w4mR2306CBinLFpSy+b99Zyi7nj9D/gHAXW7rQ9YFGiyo9/sA3ny1k7xbRK0WFljwuWqbLnM3gIZc/8rC1iyNa26+vkf70a7b2drXX3gks99Jf3aMWJx5BkgnOBPUXPNzdkQs9LR3qmla0o6O2FkLpylDKV/3vmyc6GFMw27Zs9swSivA1zlqi498WySb+6O2JK+rh84xOPtyasudqNsOvT/8rQl//YwTMNAmnwiR2iVFu6lFEelgPTUZ1a+fh7ubAwPLdcKENh6pqdCHk+nPUl0Aur4d0MrvBK2SMFHuqynQHcP/UxYiGBFCM9ge2rEmYsgYAAA==";
private static final Log log = LogFactory.getLog(SimpleTimeEditor.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List