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 - 2015 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 = "H4sIAAAAAAAAAI1Uy27TQBS9TfMgbSMehVLUIoWnElQ5KUhsuqBV2yitkiKRIlVkwyQeJVONx8Yet4aoiE/gE2DPBokdK8SCNQs2iF9AiAVbxB3biZPWqIkSO56559zHnON3PyHl2HBtn3ieZrtCMoNq22t7ew9b+7QtN6jTtpklTRuCz0QCEk2Y1gfrjoQbzZqCl0J4ad00LFNQMYReqcGUI59z6nQplRKujiLajlNqDLZXPMu1+6yDouJY3/z+lXitv3qbAPAsrC6DreRPQ0WdJGuQYLqEC5jpgJQ4ER0sw2aig/Xm1No6J46zQwz6DF5CpgZpi9hIJuH6+C37HD7esyRkbu6SFqdlCXdGCnUOMa1GdYZQrcEMi9NdXN/0FyzLJ0hLSBmmTrmE0vjgukJEDNMGE66k9YBnUXXphQQNiwlB7Q0SbkegTJcInVNbwvL4iasBJmJJdk0XKS4O59wOk6qQ7CAyzUmL8ioezUhsTa0eiwzaUU+Xwx0bFkaKRHVpkbqi459oQsp2cVnCfPOkIB/hViDF+WNSVIT+7t+52W8ff3yo9PWXxNyXYkOH7IO6sGzTwmEylfpsID5XMl6qE2ulCVmHcvSe763FmMIa4TYWh/nOK7im4FqVOF2kSGW+f/o89/TrJCQqMMVNoleIit+CrOzaOAWT6571YNWvaObwDF7P4W8Sj5kKJU60RK7HnM3goVA8inR3qyfoYT48sx3XaNFAX4XyUh6/d+8t5Zf9+APCXRz2Qs8Hah0qlTCC2GK+lL9fPvJwtIsxox3018p++TPbeL/aH+8Etnvlv+HRiFNPIM0EZ4L6Bg+9G2voacuhrm5GHo1zLYTStUIpX/evt09MMCFhtmva7IUpJOFrnHWE4b8t0m28KfckJfXweUYVH7qm6rmKTfP7U//KMND/GAn7gy72QotqDpX1yOKFwfyVrQtFdTi5NuFU6MSuMMp1dUiRhtbDLa2+tfN4d/MorrrhV8gYJZ6uqlxviDE2ZWhzzPYP7jRRs7IGAAA=";
private static final Log log = LogFactory.getLog(SimpleTimeEditor.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List