package com.sample.sample.sample;
import com.mobilize.jwebmap.models.WindowModel;
public interface Iw_sample extends WindowModel
void setDw_1(w_sample.dw_1 value);
w_sample.sle_1 getSle_1();
void setSle_1(w_sample.sle_1 value);
void setSt_1(w_sample.st_1 value);
void setCb_1(w_sample.cb_1 value);
package com.sample.sample.sample;
import org.springframework.beans.factory.annotation.Configurable;
import com.mobilize.jwebmap.aop.annotations.WebMAPStateManagement;
import com.sample.sample.sample.Iw_sample;
import com.sample.datamanagers.sample.sample.d_sample_list.d_sample_list;
import static com.mobilize.jwebmap.datatypes.ShortHelper.shortOf;
import static com.mobilize.jwebmap.conditionals.ConditionalsHelper.isTrue;
import static com.mobilize.jwebmap.conditionals.ComparisonHelper.notEq;
import static com.mobilize.jwebmap.datatypes.IntegerHelper.integerOf;
public class w_sample extends com.mobilize.jwebmap.models.WindowModelImpl implements Iw_sample
public void setDw_1(dw_1 value) {
public class dw_1 extends com.mobilize.jwebmap.datamanager.DataManagerControl
this.setWidth(shortOf(235));
this.setHeight(shortOf(105));
this.setTabOrder(shortOf(20));
this.setTitle(getLocalizedText("none"));
this.setDataManager(new d_sample_list());
public sle_1 getSle_1() {
public void setSle_1(sle_1 value) {
public class sle_1 extends com.mobilize.jwebmap.models.TextModel
this.setWidth(shortOf(70));
this.setHeight(shortOf(28));
this.setTabOrder(shortOf(10));
public void setSt_1(st_1 value) {
public class st_1 extends com.mobilize.jwebmap.models.LabelModel
this.setWidth(shortOf(70));
this.setHeight(shortOf(28));
this.setText(getLocalizedText("Test Dw"));
public void setCb_1(cb_1 value) {
public class cb_1 extends com.mobilize.jwebmap.models.ButtonModel
public Integer clicked() {
if (isTrue(notEq(getSle_1().getText(), ""))){
li_row = shortOf(getDw_1().insertRow(0));
getDw_1().setItem(integerOf(li_row), shortOf(1), getSle_1().getText(), "String");
this.setWidth(shortOf(70));
this.setHeight(shortOf(28));
this.setTabOrder(shortOf(10));
this.setText(getLocalizedText("Add"));
this.addToEventList("bnclicked", true);
this.addToEventMapper("bnclicked", "clicked");
public void doConstructor() {
this.dw_1.doConstructor();
this.sle_1.doConstructor();
this.st_1.doConstructor();
this.cb_1.doConstructor();
this.dw_1.setName("dw_1");
this.setSle_1(new sle_1());
this.sle_1.setName("sle_1");
this.setSt_1(new st_1());
this.st_1.setName("st_1");
this.setCb_1(new cb_1());
this.cb_1.setName("cb_1");
this.setTargetName("sample");
this.setLibName("sample");
this.setSimpleName("w_sample");
this.setName("mobsample_sample_w_sample");
this.setWidth(shortOf(279));
this.setHeight(shortOf(211));
this.setTitle(getLocalizedText("Untitled"));
this.setControlMenu(true);