|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.editor.js.runtime.Reference
public class Reference
| Field Summary | |
|---|---|
static Reference |
Empty
The empty reference |
| Constructor Summary | |
|---|---|
Reference(IObject objectBase,
java.lang.String propertyName)
Create a new instance of Reference |
|
| Method Summary | |
|---|---|
IObject |
getObjectBase()
Get the base object where this referenced property lives |
Property |
getProperty()
Retrieve the property that this references points to |
java.lang.String |
getPropertyName()
Get the name of the property this reference refers to |
IObject |
getValue(int fileIndex,
int offset)
Get the value pointed to by this reference |
void |
setValue(IObject value,
int fileIndex)
Set the value of this reference |
void |
unsetValue(IObject value,
int fileIndex)
Unset the property this reference points to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Reference Empty
| Constructor Detail |
|---|
public Reference(IObject objectBase,
java.lang.String propertyName)
objectBase - The base object for this referencepropertyName - The base object property name this reference refers to| Method Detail |
|---|
public IObject getObjectBase()
public java.lang.String getPropertyName()
public Property getProperty()
public IObject getValue(int fileIndex,
int offset)
fileIndex - The index of the file where this reference pointsoffset - The offset within the file
public void setValue(IObject value,
int fileIndex)
value - The new value for this referencefileIndex - The index of the file where this reference points
public void unsetValue(IObject value,
int fileIndex)
value - The value to unsetfileIndex - The index of the file where this reference points
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||