tools.dynamia.viewers.FormViewComponent Maven / Gradle / Ivy
package tools.dynamia.viewers;
import java.util.List;
import java.util.Map;
/**
* Basic interface for Form view implementations
*
* @param
* @param
*/
public interface FormViewComponent extends View {
boolean isAutosaveBindings();
void setAutosaveBindings(boolean autosaveBindings);
void saveBindings();
IFormFieldComponent getFieldComponent(String fieldName);
IFormFieldGroupComponent getFieldGroupComponent(String groupName);
void updateUI();
void addSubview(String title, View subview);
List getSubviews();
Map> getComponentsFieldsMap();
Map> getGroupsComponentsMap();
T getRawValue();
String getTitle();
void setTitle(String title);
@Override
Object getSource();
@Override
void setSource(Object source);
String getCustomView();
void setCustomView(String customView);
void clearActions();
}