public interface TitleFacet extends Facet
In the standard Apache Isis Programming Model, typically corresponds to a method named title.
IconFacet,
PluralFacet| Modifier and Type | Method and Description |
|---|---|
String |
title(ObjectAdapter targetAdapter,
org.apache.isis.applib.profiles.Localization localization)
Provide a title for the target object, with respect to the specified
Localization. |
String |
title(ObjectAdapter contextAdapter,
ObjectAdapter targetAdapter,
org.apache.isis.applib.profiles.Localization localization)
Provide a title for the target object, in the context of the context object, with respect to the specified
Localization. |
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetString title(ObjectAdapter targetAdapter, org.apache.isis.applib.profiles.Localization localization)
Localization.String title(ObjectAdapter contextAdapter, ObjectAdapter targetAdapter, org.apache.isis.applib.profiles.Localization localization)
Localization.
For example, if the title is of an object within a parented collection, then the context object would be the parent. Thus, the title might be shortened so that it does not needlessly incorporate the title of the parent (context) object.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.