Search in sources :

Example 1 with IBaseSMField

use of com.servoy.base.solutionmodel.IBaseSMField in project servoy-client by Servoy.

the class BaseSHList method createCountComponent.

protected IBaseSMField createCountComponent() {
    IBaseSMField field = container.newField(null, IBaseSMField.TEXT_FIELD, 0, 0, 50, 30);
    contextForm.setMobilePropertyValue(field, IMobileProperties.LIST_ITEM_COUNT, Boolean.TRUE);
    return field;
}
Also used : IBaseSMField(com.servoy.base.solutionmodel.IBaseSMField)

Example 2 with IBaseSMField

use of com.servoy.base.solutionmodel.IBaseSMField in project servoy-client by Servoy.

the class BaseSHList method createIconComponent.

protected IBaseSMField createIconComponent() {
    IBaseSMField field = container.newField(null, IBaseSMField.TEXT_FIELD, 0, 0, 30, 30);
    contextForm.setMobilePropertyValue(field, IMobileProperties.LIST_ITEM_IMAGE, Boolean.TRUE);
    return field;
}
Also used : IBaseSMField(com.servoy.base.solutionmodel.IBaseSMField)

Aggregations

IBaseSMField (com.servoy.base.solutionmodel.IBaseSMField)2