Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A new UI component of type   XdevButton  is generated.

    Code Block
    languagejava
    themeConfluence
    package com.company.example.ui;
    
    import com.xdev.ui.XdevButton;
    
    public class MyButton extends XdevButton {
    
    	/**
    	 * 
    	 */
    	public MyButton() {
    		super();
    		this.initUI();
    	}
    
    	/*
    	 * WARNING: Do NOT edit!<br>The content of this method is always regenerated
    	 * by the UI designer.
    	 */
    	// <generated-code name="initUI">
    	private void initUI() {
    		this.setCaption("Button");
    
    		this.setSizeUndefined();
    	} // </generated-code>
    
    }


  • In Project Management > User Interface a new UI component is available and can, thus, be displayed in the GUI Builder, edited, configured via Properties, and enhanced in the Java code view. 
  • The new UI component is automatically added to the Palette. The new UI component can be used in the GUI Builder like any other UI component.

...