com.threerings.editor
Class TranslatedPathProperty

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

public class TranslatedPathProperty
extends PathProperty

A property that


Constructor Summary
TranslatedPathProperty(ConfigManager cfgmgr, String name, String bundle, Object reference, String... paths)
          Creates a new path property.
 
Method Summary
 
Methods inherited from class com.threerings.editor.PathProperty
createPath, get, getColorName, getGenericType, getMaximum, getMaxSize, getMember, getMemberObject, getMinimum, getMinSize, getMode, getScale, getStep, getType, getUnits, set, shouldTranslateName
 
Methods inherited from class com.threerings.editor.Property
getAnnotation, getAnnotation, getArgumentType, getArgumentTypes, getBoolean, getByte, getChar, getComponentSubtypes, getComponentType, getComponentTypeLabel, getDouble, getFloat, getGenericArgumentType, getGenericArgumentTypes, getGenericComponentType, getInt, getLong, getMessageBundle, getName, getShort, getSubtypes, getTypeLabel, isAnnotationPresent, isLegalValue, 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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TranslatedPathProperty

public TranslatedPathProperty(ConfigManager cfgmgr,
                              String name,
                              String bundle,
                              Object reference,
                              String... paths)
                       throws InvalidPathsException
Creates a new path property.

Parameters:
cfgmgr - the config manager to use when resolving references.
name - the name of the property.
reference - the reference object from which we derive our property chains.
paths - the list of paths.
Throws:
InvalidPathsException - if none of the supplied paths are valid.


Copyright © 2011. All Rights Reserved.