
jaxx.demo.JSplitPaneDemo Maven / Gradle / Ivy
package jaxx.demo;
import jaxx.demo.*;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.io.*;
import java.lang.*;
import java.util.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import jaxx.runtime.swing.JAXXButtonGroup;
import jaxx.runtime.swing.HBox;
import jaxx.runtime.swing.VBox;
import jaxx.runtime.swing.Table;
import static org.nuiton.i18n.I18n._;
import static jaxx.runtime.Util.createImageIcon;
public class JSplitPaneDemo extends jaxx.demo.DemoPanel {
private static java.lang.String $jaxxObjectDescriptor = "H4sIAAAAAAAAAI1Tz2sTQRj9sm2SpklsrTEtqNBqBEXY9SeCEX/QUjSkWsylmIuT7NBsmeyOM7Pt9iKCV5GePHhR7x69i3j05NX/QcT/wG8myW5SFmsOs5v3fe/N+3befPoFWSlgZYdEkS1CX3l9ajfub2097uzQrlqjsis8rgIBg1/GAqsNRTfGpYJz7aamO0O6sxr0eeBTf4xdb8KsVPuMyh6lSsHJAaMrpdOK4XrEQzFSi82kqX3489s6cF9+tAAijq7yOMLyUaxkgukmWJ6rYAF32iUOI/422hCev40+yxpbZUTKR6RPn8MLyDchx4lAMQVn/39Uo2H4EVdQrK3RfrBJfMouK1gyZl1E7EaLM0/pgm7g3FByCgruqB+Nak+RLffQot0wYNJYqiUSVxRUJ3rjim4uxZwycroiYEyXripYnCTFJd0+F7Nmao0m6VB27bAjg+qmhfQdrmuwki52Q/9f1MsSx2M8Yb4MBsNOgpGcXKYNWREirGC+nWToCUKD9AxRI2DQ96/e7b79/OXWKCpTuEd5omUs2Xh0XAScCuXpLeYG+QiVx5wNwuttKEjK8FqY2FfGDLSGMJpA/eOaZmua/YDIHlKz+Z9fv1Wf/ZgCax1mWUDcdaL7H0JB9QROGTA34nfvGSelvRlc57UnBTlG9oMQk3fstksUWe54vovf/E6Ew1bGho0dfD94vXH6zZmbo4EzA0OH2pKhs08h5/nM86m5FcPAp96CIpc0dIMk2GlRz+hnmQ/zuWLW82mTTXvdwNfVC1GoHxeNWf12yWhUj9TQsPMPhVOo8BcNXXTA4QQAAA==";
private jaxx.demo.JSplitPaneDemo $DemoPanel0 = this;
private javax.swing.JLabel $JLabel3;
private javax.swing.JLabel $JLabel5;
private javax.swing.JScrollPane $JScrollPane2;
private javax.swing.JScrollPane $JScrollPane4;
private javax.swing.JSplitPane $JSplitPane1;
private boolean allComponentsCreated;
private boolean contextInitialized = true;
java.util.Map $previousValues = new java.util.HashMap();
/*---------------------------------------------------------------------------------*/
/*-- Statics methods --------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor() {
return jaxx.runtime.Util.decodeCompressedJAXXObjectDescriptor($jaxxObjectDescriptor);
}
/*---------------------------------------------------------------------------------*/
/*-- Constructors -----------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
public JSplitPaneDemo() {
super();
$initialize();
}
public JSplitPaneDemo(jaxx.runtime.JAXXContext parentContext) {
super(parentContext);
$initialize();
}
/*---------------------------------------------------------------------------------*/
/*-- JAXXObject implementation ----------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
public void applyDataBinding(String $binding) {
super.applyDataBinding($binding);
processDataBinding($binding);
}
public void processDataBinding(String $dest, boolean $force) {
super.processDataBinding($dest, true);
}
public void removeDataBinding(String $binding) {
super.removeDataBinding($binding);
}
/*---------------------------------------------------------------------------------*/
/*-- protected acessors methods ---------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
protected jaxx.demo.JSplitPaneDemo get$DemoPanel0() {
return $DemoPanel0;
}
protected javax.swing.JLabel get$JLabel3() {
return $JLabel3;
}
protected javax.swing.JLabel get$JLabel5() {
return $JLabel5;
}
protected javax.swing.JScrollPane get$JScrollPane2() {
return $JScrollPane2;
}
protected javax.swing.JScrollPane get$JScrollPane4() {
return $JScrollPane4;
}
protected javax.swing.JSplitPane get$JSplitPane1() {
return $JSplitPane1;
}
protected java.lang.String get$jaxxObjectDescriptor() {
return $jaxxObjectDescriptor;
}
protected java.util.Map get$previousValues() {
return $previousValues;
}
protected boolean getAllComponentsCreated() {
return allComponentsCreated;
}
protected boolean getContextInitialized() {
return contextInitialized;
}
/*---------------------------------------------------------------------------------*/
/*-- ui creation methods ----------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
private void $completeSetup() {
allComponentsCreated = true;
addChildrenToDemoPanel();
$JSplitPane1.add($JScrollPane2, JSplitPane.LEFT);
$JSplitPane1.add($JScrollPane4, JSplitPane.RIGHT);
$JScrollPane2.getViewport().add($JLabel3);
$JScrollPane4.getViewport().add($JLabel5);
$JLabel3.setIcon((new ImageIcon(getClass().getResource("images/Amethyst.jpg"))));
$JLabel5.setIcon((new ImageIcon(getClass().getResource("images/Lynx.jpg"))));
}
private void $initialize() {
if (allComponentsCreated || !contextInitialized) {
return;
}
$objectMap.put("$DemoPanel0", this);
$JSplitPane1 = new javax.swing.JSplitPane();
$objectMap.put("$JSplitPane1", $JSplitPane1);
$JSplitPane1.setName("$JSplitPane1");
$JScrollPane2 = new javax.swing.JScrollPane();
$objectMap.put("$JScrollPane2", $JScrollPane2);
$JScrollPane2.setName("$JScrollPane2");
$JLabel3 = new javax.swing.JLabel();
$objectMap.put("$JLabel3", $JLabel3);
$JLabel3.setName("$JLabel3");
$JScrollPane4 = new javax.swing.JScrollPane();
$objectMap.put("$JScrollPane4", $JScrollPane4);
$JScrollPane4.setName("$JScrollPane4");
$JLabel5 = new javax.swing.JLabel();
$objectMap.put("$JLabel5", $JLabel5);
$JLabel5.setName("$JLabel5");
$DemoPanel0.removeDataBinding("top.name");
$DemoPanel0.setName("$DemoPanel0");
$completeSetup();
}
protected void addChildrenToDemoPanel() {
if (!allComponentsCreated) {
return;
}
demoPanel.add($JSplitPane1);
}
protected void createDemoPanel() {
super.createDemoPanel();
demoPanel.setName("demoPanel");
((javax.swing.JPanel) demoPanel).setLayout((new BorderLayout()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy