|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.editor.js.runtime.Property
public class Property
| Field Summary | |
|---|---|
static int |
DONT_DELETE
Don't delete |
static int |
DONT_ENUM
Don't enumerate |
static int |
INTERNAL
Internal |
static int |
NONE
None |
static int |
NOT_VISIBLE
Not visible |
static int |
READ_ONLY
Read-only |
| Constructor Summary | |
|---|---|
Property(IObject value,
int fileIndex,
int attributes)
Create a new instance of Property |
|
| Method Summary | |
|---|---|
int |
addReference()
Increase the number of references to this property |
IDocumentation |
getAnyValidDocumentation(int sourceFileIndex,
int beginOffset)
Gets the last valid documentation object based on an offset. |
IObject |
getAssignment(int index)
Retrieve the assignment at the given index. |
OrderedObjectCollection |
getAssignments()
Retrieve the collection of all assignments for this property |
IDocumentation |
getDocumentation()
Retrieve any documentation associated with this object |
int |
getReferenceCount()
Get the total number of references to this property in all of the source code |
int |
getSourceFileIndex(int fileIndex,
int offset)
Get the file index associated with this property |
IObject |
getValue(int fileIndex,
int offset)
Get the value associated with this property |
boolean |
hasAssignments()
Determines if this property has any assignments. |
boolean |
hasDocumentation()
Determine if this object contains any documentation |
boolean |
hasReferences()
Determines if this property has any references in the source code |
boolean |
isEnumerable()
Determines if this property is enumerable |
boolean |
isInternal()
Determines if this property is internal |
boolean |
isPermanent()
Determines if this property is permanent |
boolean |
isReadOnly()
Determines if this property is read-only |
boolean |
isVisible()
Determines if this property is read-only |
int |
removeReference()
Decrease the number of references to this property |
void |
setDocumentation(IDocumentation documentation)
Associate documentation with this object |
void |
setValue(IObject value,
int fileIndex)
Set the value associated with this property |
java.lang.String |
toString()
Return a String representation of this object |
void |
unsetValue(int fileIndex,
int offset)
Unset the value associated with this property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NONE
public static final int READ_ONLY
public static final int DONT_ENUM
public static final int DONT_DELETE
public static final int INTERNAL
public static final int NOT_VISIBLE
| Constructor Detail |
|---|
public Property(IObject value,
int fileIndex,
int attributes)
value - The value of the propertyfileIndex - The index of the file where the property value is locatedattributes - The attributes of the property| Method Detail |
|---|
public IObject getAssignment(int index)
index - The assignment index to retrieve
public int getReferenceCount()
public int getSourceFileIndex(int fileIndex,
int offset)
fileIndex - The file index of the valueoffset - The offset of the value
public IObject getValue(int fileIndex,
int offset)
fileIndex - The file index of the valueoffset - The offset of the value
public void setValue(IObject value,
int fileIndex)
value - The value to assign to this propertyfileIndex - The file index of the value
public void unsetValue(int fileIndex,
int offset)
fileIndex - The file index of the value to removeoffset - The file offset of the value to removepublic boolean hasReferences()
public OrderedObjectCollection getAssignments()
public boolean hasAssignments()
public boolean isEnumerable()
public boolean isInternal()
public boolean isPermanent()
public boolean isReadOnly()
public boolean isVisible()
public int addReference()
public int removeReference()
public java.lang.String toString()
toString in class java.lang.Objectpublic IDocumentation getDocumentation()
IDocumentationContainer
getDocumentation in interface IDocumentationContainerIDocumentationContainer.getDocumentation()public boolean hasDocumentation()
IDocumentationContainer
hasDocumentation in interface IDocumentationContainerIDocumentationContainer.hasDocumentation()public void setDocumentation(IDocumentation documentation)
IDocumentationContainer
setDocumentation in interface IDocumentationContainerdocumentation - The new documentation for this objectIDocumentationContainer.setDocumentation(com.aptana.ide.metadata.IDocumentation)
public IDocumentation getAnyValidDocumentation(int sourceFileIndex,
int beginOffset)
sourceFileIndex - beginOffset -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||