io.github.warnotte.obj2gui2.Tests.MigLayout.DTOMig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obj2gui2 Show documentation
Show all versions of obj2gui2 Show documentation
This library aimed to generated swing interface base on introspection and annotation of DTOs
/**
*
*/
package io.github.warnotte.obj2gui2.Tests.MigLayout;
import io.github.warnotte.obj2gui2.PROPERTY_MIGLAYOUT;
import io.github.warnotte.obj2gui2.PROPERTY_MIG_GRID;
import io.github.warnotte.waxlib3.core.TemplatePropertyMerger.property_mode;
import io.github.warnotte.waxlib3.core.TemplatePropertyMerger.Annotations.PROPERTY_interface;
/**
* @author Warnotte Renaud
*/
@PROPERTY_MIGLAYOUT(LayoutConstraints = "", ColumnConstraints = "fill,grow", RowConstraints = "fill,grow")
public class DTOMig
{
public String valeur1 = "123564";
public Double valeur2 = 123.564;
public String valeur3 = "Je suis un grand bidule";
public String valeur4 = "poko";
public String valeur5 = "654897";
public String valeur6 = "combobox";
public String valeur7 = "Jebidule";
/**
* @return the valeur1
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 10)
@PROPERTY_MIG_GRID(attribut = "cell 0 0")
public synchronized String getValeur1()
{
return valeur1;
}
/**
* @param valeur1
* the valeur1 to set
*/
public synchronized void setValeur1(String valeur1)
{
this.valeur1 = valeur1;
}
/**
* @return the valeur2
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 20)
@PROPERTY_MIG_GRID(attribut = "cell 1 0 2 2")
public synchronized Double getValeur2()
{
return valeur2;
}
/**
* @param valeur2
* the valeur2 to set
*/
public synchronized void setValeur2(Double valeur2)
{
this.valeur2 = valeur2;
}
/**
* @return the valeur3
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 30)
@PROPERTY_MIG_GRID(attribut = "cell 3 0")
public synchronized String getValeur3()
{
return valeur3;
}
/**
* @param valeur3
* the valeur3 to set
*/
public synchronized void setValeur3(String valeur3)
{
this.valeur3 = valeur3;
}
/**
* @return the valeur4
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 40)
@PROPERTY_MIG_GRID(attribut = "cell 0 1")
public synchronized String getValeur4()
{
return valeur4;
}
/**
* @param valeur4
* the valeur4 to set
*/
public synchronized void setValeur4(String valeur4)
{
this.valeur4 = valeur4;
}
/**
* @return the valeur5
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 50)
@PROPERTY_MIG_GRID(attribut = "cell 3 1 1 2")
public synchronized String getValeur5()
{
return valeur5;
}
/**
* @param valeur5
* the valeur5 to set
*/
public synchronized void setValeur5(String valeur5)
{
this.valeur5 = valeur5;
}
/**
* @return the valeur6
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 60)
@PROPERTY_MIG_GRID(attribut = "cell 0 2")
public synchronized String getValeur6()
{
return valeur6;
}
/**
* @param valeur6
* the valeur6 to set
*/
public synchronized void setValeur6(String valeur6)
{
this.valeur6 = valeur6;
}
/**
* @return the valeur7
*/
@PROPERTY_interface(Operation = property_mode.PROPERTY_MERGEABLE, orderDisplay = 70)
@PROPERTY_MIG_GRID(attribut = "cell 1 2")
public synchronized String getValeur7()
{
return valeur7;
}
/**
* @param valeur7
* the valeur7 to set
*/
public synchronized void setValeur7(String valeur7)
{
this.valeur7 = valeur7;
}
}