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.text;
/*-
* #%L
* JAXX :: Widgets
* %%
* Copyright (C) 2008 - 2024 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.bean.JavaBean;
import io.ultreia.java4all.i18n.I18n;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.LayoutManager;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.TreeMap;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JToolBar;
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.SimpleJAXXObjectBinding;
import org.nuiton.jaxx.runtime.context.DefaultJAXXContext;
import org.nuiton.jaxx.runtime.spi.UIHandler;
import org.nuiton.jaxx.runtime.swing.SwingUtil;
import org.nuiton.jaxx.widgets.text.actions.NormalTextEditorReset;
public class NormalTextEditor extends JPanel implements BeanScopeAware, JAXXObject {
/*-----------------------------------------------------------------------*/
/*---------------- Constants for all javaBean properties ----------------*/
/*-----------------------------------------------------------------------*/
public static final String PROPERTY_PROPERTY = "property";
public static final String PROPERTY_RESET_TIP = "resetTip";
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_RESET_ENABLED = "reset.enabled";
public static final String BINDING_TEXT_EDITOR_ENABLED = "textEditor.enabled";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAJ1TS09TQRQ+LX3QIgpKSNwRUcAot7rG+OAVxQpGWBC7cdo7bYfc3hlmzqW3MbJw4c4/4MKtG8N/IK5M3LjlP5jwEzxz+0RaHt6kk9tzv/PNdx7f9z+QNBruS11x/ECg9J0dFoaODnwUNe6sPdve3iju8BIuc1PSQqHU0HxicYgXYMTtxA2CU8gTU67JlLNMuRZTbknWlPS530O0kIeswYbHTZVzRJgbmFwyJrfZQS6EKtCtu/qq7nfXr08Pj2J8+UscIFQkP01l37sEQbfqRB7iwkW4nt9heyznMb9C4rTwK1TQqI0tecyYdVbju7AP6TykFNNEhjD/X+2J6CKqUCEMoaRz/l/pdeFWOBoHeYjOutQ15m3R64pLEK1UlJ9CSBQ58xHGrEzHSnea4+0ihpWWimtsnEA1C+xBaW44bgll/4934yOshEL6Js/LVO+EJQgdU6dcZ21LSm+RaYvMdBKSERHCjRPQxQCpMguZ6CCz2KkHYfIkM31ZFdxzW9waZgaNllbJ6a5Sd6qxAkkJKIwwPXiL7SK+IVRzBacHr6C9JgJ+PNjX3+rHR+29S5C4qfOyeixGS9AaiLDarjWXLkDh5V4xtVCAjOEeDTDy3+zZyjdbSFJPKsaj6Vom5zkzVWJLpo8Of0y++z0E8VXIepK5q8ziX0AGqzSnqvTcUD15Gom7Uh+mc4x+QwijRaldrl8z4SMnbyTLzKOxQkoqthvwbiBTJlpkRa8TC6mRs2c3sqP7YOP459fPdw7bzYxRGbcvktltaPItpITvCZ9HNm45tK9tR5ThgSu79utnSCAzDrdXu+WDW9E5c6pRCYSbZVkKzJZme1wb5r3kDbPi23ac3TSb1Ns0hDRvp42+F22OubsfwsDe7UTNsW8PoO0xdY662OVIe+x4AeaUxxqSTA1XH7k0/6mi8F2y7uNTzDF7ZonxL/s2n7KbBgAA";
private static final Logger log = LogManager.getLogger(NormalTextEditor.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List