public abstract class MultiLineFacetAbstract extends MultipleValueFacetAbstract implements MultiLineFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
MultiLineFacetAbstract(int numberOfLines,
boolean preventWrapping,
FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
int |
numberOfLines()
How many lines to use.
|
boolean |
preventWrapping()
Whether carriage returns should be used to split over multiple lines or
not.
|
protected String |
toStringValues() |
static Class<? extends Facet> |
type() |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic MultiLineFacetAbstract(int numberOfLines, boolean preventWrapping, FacetHolder holder)
public int numberOfLines()
MultiLineFacetnumberOfLines in interface MultiLineFacetpublic boolean preventWrapping()
MultiLineFacetIf 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.
preventWrapping in interface MultiLineFacetprotected String toStringValues()
toStringValues in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.