com.inline.feature.ui
Class AbstractDisplayProperties

java.lang.Object
  |
  +--com.inline.feature.ui.AbstractDisplayProperties
Direct Known Subclasses:
AbstractMenuDisplayProperties, AbstractNodeDisplayProperties, FieldListActionDisplayProperties, JavaRootDisplayProperties, RandomFieldConstructorDisplayProperties, SimpleFeatureConstructorDisplayProperties

public abstract class AbstractDisplayProperties
extends java.lang.Object
implements DisplayProperties


Field Summary
protected  Displayable object
           
 
Constructor Summary
AbstractDisplayProperties(Displayable object)
           
 
Method Summary
 int compareTo(DisplayProperties prop)
          Used for sorting.
 java.lang.String getGroupTitle()
          Returns a string that can be used for more intelligent sorting: first group title, then feature title within the group
 Displayable getObject()
           
 java.lang.String getTypeTitle()
          Returns a user-friendly type name for object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

protected Displayable object
Constructor Detail

AbstractDisplayProperties

public AbstractDisplayProperties(Displayable object)
Method Detail

getObject

public Displayable getObject()

getGroupTitle

public java.lang.String getGroupTitle()
Returns a string that can be used for more intelligent sorting: first group title, then feature title within the group

getTypeTitle

public java.lang.String getTypeTitle()
Description copied from interface: DisplayProperties
Returns a user-friendly type name for object. For instance, type title could be "attribute" and regular title - "firstName".
Specified by:
getTypeTitle in interface DisplayProperties

compareTo

public int compareTo(DisplayProperties prop)
Description copied from interface: DisplayProperties
Used for sorting. If props1.compareTo(props2) < 0, props1 will be displayed before props2 in sorted lists.
Specified by:
compareTo in interface DisplayProperties