All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.pelle.mango.client.base.modules.dictionary.controls.IBaseControl Maven / Gradle / Ivy

The newest version!
package io.pelle.mango.client.base.modules.dictionary.controls;

import io.pelle.mango.client.base.messages.IValidationMessages;
import io.pelle.mango.client.base.modules.dictionary.IBaseDictionaryElement;
import io.pelle.mango.client.base.modules.dictionary.model.IBaseModel;
import io.pelle.mango.client.base.vo.query.IBooleanExpression;
import io.pelle.mango.client.base.vo.query.expressions.PathExpression;

import com.google.common.base.Optional;

public interface IBaseControl extends IBaseDictionaryElement {

	public interface IControlUpdateListener {
		void onUpdate();
	}

	void setValue(ValueType value);

	ValueType getValue();

	String format();

	void parseValue(String valueString);

	boolean isMandatory();

	boolean isReadonly();

	IValidationMessages getValidationMessages();

	void addUpdateListener(IControlUpdateListener controlUpdateListener);

	Optional getExpression(PathExpression pathExpression);

	void beginEdit();

	void endEdit();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy