org.pm4j.core.pm.impl.title
Class AsteriskAttrTitleProvider

java.lang.Object
  extended by org.pm4j.core.pm.impl.title.TitleProviderPmResBased<PmAttrBase<?,?>>
      extended by org.pm4j.core.pm.impl.title.AsteriskAttrTitleProvider
All Implemented Interfaces:
PmTitleProvider<PmAttrBase<?,?>>

public class AsteriskAttrTitleProvider
extends TitleProviderPmResBased<PmAttrBase<?,?>>

Provides an asterisk (*) decoration for required attributes.

Author:
olaf boede

Field Summary
 
Fields inherited from class org.pm4j.core.pm.impl.title.TitleProviderPmResBased
INSTANCE
 
Constructor Summary
AsteriskAttrTitleProvider()
           
 
Method Summary
 java.lang.String getTitle(PmAttrBase<?,?> item)
          
 
Methods inherited from class org.pm4j.core.pm.impl.title.TitleProviderPmResBased
canSetTitle, getIconPath, getShortTitle, getToolTip, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsteriskAttrTitleProvider

public AsteriskAttrTitleProvider()
Method Detail

getTitle

public java.lang.String getTitle(PmAttrBase<?,?> item)
Description copied from class: TitleProviderPmResBased

Specified by:
getTitle in interface PmTitleProvider<PmAttrBase<?,?>>
Overrides:
getTitle in class TitleProviderPmResBased<PmAttrBase<?,?>>
Parameters:
item - An item to get a title for.
Returns:
The title string for the given item.