org.nakedobjects.metamodel.facets.propparam.multiline.MultiLineFacet Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.metamodel.facets.propparam.multiline;
import org.nakedobjects.metamodel.facets.MultipleValueFacet;
/**
* Whether the (string) property or parameter should be rendered over multiple lines.
*
*
* In the standard Naked Objects Programming Model, corresponds to the @MultiLine annotation.
*/
public interface MultiLineFacet extends MultipleValueFacet {
/**
* How many lines to use.
*/
public int numberOfLines();
/**
* Whether carriage returns should be used to split over multiple lines or not.
*
*
* If set to true, then user must use carriage returns to split. If set to false, then
* the viewer should automatically wrap when spills over the length of one line.
*/
public boolean preventWrapping();
}