com.threerings.editor
Class PathProperty.IndexProperty

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.editor.Property
          extended by com.threerings.editor.PathProperty.IndexProperty
All Implemented Interfaces:
Copyable, Cloneable
Enclosing class:
PathProperty

protected abstract static class PathProperty.IndexProperty
extends Property

Superclass for properties addressing components of other properties.


Field Summary
protected  Property _base
          The base property.
 
Fields inherited from class com.threerings.editor.Property
_argumentTypes, _configTypes, _genericArgumentTypes, _name
 
Constructor Summary
PathProperty.IndexProperty(Property base, int idx)
           
 
Method Summary
 Type getGenericType()
          Returns the generic property type.
 Member getMember()
          Returns the underlying member of the property (the field or method that provides the annotations).
 Class<?> getType()
          Returns the property type.
 boolean shouldTranslateName()
          Returns whether or not we should attempt to translate the name.
 
Methods inherited from class com.threerings.editor.Property
addSubtypes, addSubtypes, get, getAnnotation, getAnnotation, getArgumentType, getArgumentTypes, getBoolean, getByte, getChar, getColorName, getComponentSubtypes, getComponentType, getComponentTypeLabel, getDouble, getEditorTypes, getFloat, getGenericArgumentType, getGenericArgumentTypes, getGenericComponentType, getInt, getLong, getMaximum, getMaxSize, getMemberObject, getMessageBundle, getMinimum, getMinSize, getMode, getName, getScale, getShort, getStep, getSubtypes, getSubtypes, getTypeArguments, getTypeArguments, getTypeArguments, getTypeClass, getTypeLabel, getTypeLabel, getUnits, isAnnotationPresent, isLegalValue, set, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, toString
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_base

protected Property _base
The base property.

Constructor Detail

PathProperty.IndexProperty

public PathProperty.IndexProperty(Property base,
                                  int idx)
Method Detail

shouldTranslateName

public boolean shouldTranslateName()
Description copied from class: Property
Returns whether or not we should attempt to translate the name.

Overrides:
shouldTranslateName in class Property

getMember

public Member getMember()
Description copied from class: Property
Returns the underlying member of the property (the field or method that provides the annotations).

Specified by:
getMember in class Property

getType

public Class<?> getType()
Description copied from class: Property
Returns the property type.

Specified by:
getType in class Property

getGenericType

public Type getGenericType()
Description copied from class: Property
Returns the generic property type.

Specified by:
getGenericType in class Property