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;
/*-
* #%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.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JComponent;
import javax.swing.JToggleButton;
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.SimpleJAXXObjectBinding;
import jaxx.runtime.context.DefaultJAXXContext;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import static org.nuiton.i18n.I18n.t;
public class HidorButton extends JToggleButton implements JAXXObject {
/*-----------------------------------------------------------------------*/
/*---------------- Constants for all javaBean properties ----------------*/
/*-----------------------------------------------------------------------*/
public static final String PROPERTY_HIDE_TEXT = "hideText";
public static final String PROPERTY_HIDE_TIP = "hideTip";
public static final String PROPERTY_SHOW_TEXT = "showText";
public static final String PROPERTY_SHOW_TIP = "showTip";
public static final String PROPERTY_TARGET_VISIBLE = "targetVisible";
/*-----------------------------------------------------------------------*/
/*------------------ Constants for all public bindings ------------------*/
/*-----------------------------------------------------------------------*/
public static final String BINDING_HIDOR_ICON = "hidor.icon";
public static final String BINDING_HIDOR_TEXT = "hidor.text";
public static final String BINDING_HIDOR_TOOL_TIP_TEXT = "hidor.toolTipText";
/*-----------------------------------------------------------------------*/
/*------------------------- Other static fields -------------------------*/
/*-----------------------------------------------------------------------*/
private static final String $jaxxObjectDescriptor = "H4sIAAAAAAAAAI1TzW7TQBCeuE3SJBQKhaqIgsKfQBycBwiC0qIooAASrVBFLmziVbKV4112x8S9IB6BR4A7FyRunBAHzhy4IF4BIQ5cEbOOEyfF0Pqwtmfmm/lm5ts33yFvNJzfZVHk6jBAMeDu3Vs7Ow86u7yLt7npaqFQahg9OQecNlS8id0gXGy3LLyWwGubcqBkwIMpdL0FZYN7Pjd9zhHh7Cyia0xta+KuRyrU46wTUllZX/384bz0Xrx2ACJF7IrUSvUgVNrJfAsc4SGcoErPWM1nQY9oaBH0iO+itW36zJj7bMCfwnMotqCgmKZkCBcO33KcI8ZHCiHfF57UCOdmaJohFXWb1rURIspAqRhSQCgN9pos8HxOoMv/ByVxKXYRme5xfCSM6Pgc4bjtybV9uhtS+pxN1VkgYnybR9TcUho2GsdUlOnLoY2y/ydTezFGC7XfHIenZg1nZlqgxbvp4tPN5NqQ1yGZEVbbf2vlIblGKlndpxKbMPb+Xln+8v7bu8ZYGnNU+1Rm6JSyaWVKS0WjFrb0sZEuQhR+7R5T9TaUDPfpWsSyX8sgtpW4iRzVG43bwt0mM31KkS9+/fBx5cnnOXAaUPYl8xrMxt+BEvY1TUH6XqRurseMjgwX6Fyy3BDmRVcGCEevewxZtSMCj/ZyI6IRrGWMYMKjU/r0a3nr7fp4DDmidfqf4eko8o+hIAJfBDy+I4n8M+9ERRkeejKVeZbwc/ZdVokyqvF5KbNPTMR1JQrt62pM2n5dO3SOCpK4SXXbB6f6A7bp8XQABQAA";
private static final Log log = LogFactory.getLog(HidorButton.class);
private static final long serialVersionUID = 1L;
/*-----------------------------------------------------------------------*/
/*--------------------------- Internal states ---------------------------*/
/*-----------------------------------------------------------------------*/
protected List