Package repast.simphony.ui.probe
Class FieldPropertyDescriptor
- java.lang.Object
-
- repast.simphony.ui.probe.FieldPropertyDescriptor
-
public class FieldPropertyDescriptor extends Object
Describes a property whose source is field.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description FieldPropertyDescriptor(Field field, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Gets the display name for this field property.Field
getField()
Gets the field for this field property.String
getName()
Gets the name of this field property.StringConverter<?>
getStringConverter()
Gets the StringConverter, if any.void
setDisplayName(String displayName)
Sets the display name for this field property.void
setStringConverter(StringConverter<?> converter)
Sets the StringConverter.
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Gets the display name for this field property.- Returns:
- the display name for this field property.
-
setDisplayName
public void setDisplayName(String displayName)
Sets the display name for this field property.- Parameters:
displayName
- the display name for this field property.
-
getField
public Field getField()
Gets the field for this field property.- Returns:
- the field for this field property.
-
getName
public String getName()
Gets the name of this field property.- Returns:
- the name of this field property.
-
setStringConverter
public void setStringConverter(StringConverter<?> converter)
Sets the StringConverter.- Parameters:
converter
-
-
getStringConverter
public StringConverter<?> getStringConverter()
Gets the StringConverter, if any.- Returns:
-
-