| Package | Description |
|---|---|
| net.sf.mpxj | |
| net.sf.mpxj.listener |
| Modifier and Type | Method and Description |
|---|---|
Resource |
ProjectFile.addResource()
This method is used to add a new resource to the file.
|
Resource |
ResourceAssignment.getResource()
This method retrieves a reference to the resource with which this
assignment is associated.
|
Resource |
ProjectCalendar.getResource()
Retrieve the resource to which this calendar is linked.
|
Resource |
ProjectFile.getResourceByID(Integer id)
This method allows an arbitrary resource to be retrieved based
on its ID field.
|
Resource |
ProjectFile.getResourceByUniqueID(Integer id)
This method allows an arbitrary resource to be retrieved based
on its UniqueID field.
|
| Modifier and Type | Method and Description |
|---|---|
List<Resource> |
ProjectFile.getAllResources()
Retrieves a list of all resources in this project.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceAssignment |
Task.addResourceAssignment(Resource resource)
This method allows a resource assignment to be added to the
current task.
|
int |
Resource.compareTo(Resource o)
This method implements the only method in the Comparable interface.
|
void |
ProjectFile.fireResourceReadEvent(Resource resource)
This method is called to alert project listeners to the fact that
a resource has been read from a project file.
|
void |
ProjectFile.fireResourceWrittenEvent(Resource resource)
This method is called to alert project listeners to the fact that
a resource has been written to a project file.
|
void |
ProjectFile.removeResource(Resource resource)
This method is used to remove a resource from the project.
|
void |
ProjectCalendar.setResource(Resource resource)
Sets the resource to which this calendar is linked.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectListener.resourceRead(Resource resource)
This method is called when a resource is read from a file.
|
void |
DefaultProjectListener.resourceRead(Resource resource)
This method is called when a resource is read from a file.
|
void |
ProjectListener.resourceWritten(Resource resource)
This method is called when a resource is written to a file.
|
void |
DefaultProjectListener.resourceWritten(Resource resource)
This method is called when a resource is written to a file.
|
Copyright © 2013. All Rights Reserved.