org.nakedobjects.metamodel.facets.propparam.multiline
Class MultiLineFacetAbstract
java.lang.Object
org.nakedobjects.metamodel.facets.FacetAbstract
org.nakedobjects.metamodel.facets.MultipleValueFacetAbstract
org.nakedobjects.metamodel.facets.propparam.multiline.MultiLineFacetAbstract
- All Implemented Interfaces:
- Facet, MultipleValueFacet, MultiLineFacet
- Direct Known Subclasses:
- MultiLineFacetAnnotation, MultiLineFacetNone
public abstract class MultiLineFacetAbstract
- extends MultipleValueFacetAbstract
- implements MultiLineFacet
| Methods inherited from class org.nakedobjects.metamodel.facets.FacetAbstract |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, unwrapObject, unwrapString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MultiLineFacetAbstract
public MultiLineFacetAbstract(int numberOfLines,
boolean preventWrapping,
FacetHolder holder)
type
public static java.lang.Class<? extends Facet> type()
numberOfLines
public int numberOfLines()
- Description copied from interface:
MultiLineFacet
- How many lines to use.
- Specified by:
numberOfLines in interface MultiLineFacet
preventWrapping
public boolean preventWrapping()
- Description copied from interface:
MultiLineFacet
- 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.
- Specified by:
preventWrapping in interface MultiLineFacet
toStringValues
protected java.lang.String toStringValues()
- Overrides:
toStringValues in class FacetAbstract
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.