|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IObject
| Method Summary | |
|---|---|
boolean |
canPut(java.lang.String propertyName)
Determines if the specified property name can be set. |
boolean |
deletePropertyName(java.lang.String propertyName)
Remove the specified property name from this object. |
java.lang.String |
getClassName()
Returns the class name of this object. |
IObject |
getInstance(Environment environment,
int fileIndex,
int offset)
Returns the underlying instance contained by this object. |
Property |
getLocalProperty(java.lang.String propertyName)
Returns a local property defined on an object. |
int |
getLocalPropertyCount()
Returns the number of porperties defined locally to this object. |
java.lang.String[] |
getLocalPropertyNames()
Get all enumerable property names that exist on this object only (does not follow prototype chain) |
Property |
getProperty(java.lang.String propertyName)
Get the Property object for the associated property name |
java.lang.String[] |
getPropertyNames()
Get all enumerable property names on this object |
java.lang.String[] |
getPropertyNames(boolean getAll)
Get all property names on this object |
IObject |
getPropertyValue(java.lang.String propertyName,
int fileIndex,
int offset)
Returns the value of the name property. |
IObject |
getPrototype()
Returns the prototype of this object. |
boolean |
hasLocalProperty(java.lang.String propertyName)
Determine if this object has the specified property name. |
boolean |
hasProperty(java.lang.String propertyName)
Determine if this object has the specified property name. |
void |
putLocalProperty(java.lang.String propertyName,
Property property)
Set the Property object with the associated name |
void |
putPropertyValue(java.lang.String propertyName,
IObject value,
int fileIndex)
Sets the value of the specified property name. |
void |
putPropertyValue(java.lang.String propertyName,
IObject value,
int fileIndex,
int attributes)
Create a property and set its attributes |
void |
setPrototype(IObject prototype)
Set this object's prototype ([[Prototype]]) |
void |
unputPropertyName(java.lang.String propertyName,
int fileIndex,
int offset)
Remove a reference to the specified property name. |
| Methods inherited from interface com.aptana.ide.lexer.IRange |
|---|
containsOffset, getEndingOffset, getLength, getStartingOffset, isEmpty |
| Methods inherited from interface com.aptana.ide.metadata.IDocumentationContainer |
|---|
getDocumentation, hasDocumentation, setDocumentation |
| Method Detail |
|---|
boolean canPut(java.lang.String propertyName)
propertyName - The name of the property to test
Property getProperty(java.lang.String propertyName)
propertyName - The name of the Property to return
IObject getPropertyValue(java.lang.String propertyName,
int fileIndex,
int offset)
propertyName - The name of the property to retrievefileIndex - The index of the file where this property is to be retrievedoffset - the offset within the file
void putPropertyValue(java.lang.String propertyName,
IObject value,
int fileIndex)
propertyName - The name of the property to setvalue - The value to associate with the given property namefileIndex - The index of the file where this property is to be set
void putPropertyValue(java.lang.String propertyName,
IObject value,
int fileIndex,
int attributes)
propertyName - The property name to createvalue - The value of the propertyfileIndex - The index of the file where this property is to be setattributes - The attributes for the propertyjava.lang.String[] getPropertyNames()
java.lang.String[] getPropertyNames(boolean getAll)
getAll - If true, then all properties, including properties with the DONT_ENUM attribute, will be returned
boolean hasProperty(java.lang.String propertyName)
propertyName - The name of the property to test
Property getLocalProperty(java.lang.String propertyName)
propertyName - The name of the property to retrieve
void putLocalProperty(java.lang.String propertyName,
Property property)
propertyName - The name of the property to setproperty - The property instancejava.lang.String[] getLocalPropertyNames()
boolean hasLocalProperty(java.lang.String propertyName)
propertyName - The name of the property to test
void unputPropertyName(java.lang.String propertyName,
int fileIndex,
int offset)
propertyName - The name of the property to unputfileIndex - The file index of the property to unputoffset - The file offsetboolean deletePropertyName(java.lang.String propertyName)
propertyName - The property name to remove from this object
IObject getPrototype()
void setPrototype(IObject prototype)
prototype - This object's new prototype objectjava.lang.String getClassName()
IObject getInstance(Environment environment,
int fileIndex,
int offset)
environment - The environmentfileIndex - The file indexoffset - The file offset
int getLocalPropertyCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||