Package | Description |
---|---|
ilog.views.gantt |
Contains all of the main Gantt Chart classes,
Beans, and data model interfaces.
|
ilog.views.gantt.event |
Provides interfaces and classes for dealing
with different types of events fired by
main Gantt Chart classes.
|
ilog.views.gantt.model |
Contains abstract and basic implementations of
the Gantt data model.
|
ilog.views.gantt.model.filter |
Contains Gantt data model implementations that encapsulate and filter other
data models.
|
ilog.views.gantt.model.general |
Contains a Gantt data model implementation that supports user-defined properties.
|
ilog.views.gantt.model.table |
Contains a Gantt data model implementation that connects to Swing
TableModel
instances. |
ilog.views.gantt.xml |
This package contains readers and writers that allow
read/write Gantt data from/to org.w3c.dom.Element objects.
|
ilog.views.schedule |
Contains the main Schedule Data chart classes that display numerical information
derived from Gantt data models.
|
ilog.views.schedule.data |
Contains data set implementations that derive numerical information from
Gantt data models.
|
Modifier and Type | Method and Description |
---|---|
IlvResource |
IlvResourceFactory.createResource()
Creates a new
IlvResource object. |
IlvResource |
IlvGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
IlvResource |
IlvGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource, or
null
if the resource is the root resource of the data model. |
IlvResource |
IlvReservation.getResource()
Returns the resource for this reservation.
|
IlvResource |
IlvGanttModel.getRootResource()
Returns the root resource of the data model or
null if the
data model contains no resources. |
IlvResource[] |
IlvScheduleChart.getSelectedResources()
Returns the resources that are selected in the Schedule chart.
|
Modifier and Type | Method and Description |
---|---|
Iterator<IlvResource> |
IlvGanttModel.childResourceIterator(IlvResource parent)
Returns an iterator over the parent resource's children.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourceBreadthFirstIterator(IlvGanttModel model)
Returns an iterator that will traverse all of the resources of a data
model in breadth first order.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourceBreadthFirstIterator(IlvGanttModel model,
IlvResource parent)
Returns an iterator that will traverse the parent resource and all of its
descendants in breadth first order.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourcePostorderIterator(IlvGanttModel model)
Returns an iterator that will traverse all of the resources of a data model in
postorder.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourcePostorderIterator(IlvGanttModel model,
IlvResource parent)
Returns an iterator that will traverse the parent resource and
all of its descendants in postorder.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourcePreorderIterator(IlvGanttModel model)
Returns an iterator that will traverse all of the resources of a data
model in preorder.
|
Iterator<IlvResource> |
IlvGanttModel.resourcePreorderIterator(IlvResource parent)
Returns an iterator that will traverse the parent resource and all of
its descendants in preorder.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvGanttModel.addResource(IlvResource newResource,
IlvResource parent)
Append
newResource as the last child of the specified
parent resource. |
void |
IlvGanttModel.addResource(IlvResource newResource,
IlvResource parent,
int index)
Adds
newResource as a child of parent resource
at the specified location in its list of child resources. |
static void |
IlvGanttModelUtil.checkValidMemberResource(IlvResource resource,
IlvGanttModel ganttModel)
Checks that the specified resource is not
null and is a member
of the specified data model. |
static void |
IlvGanttModelUtil.checkValidNonNullResource(IlvResource resource)
Checks that the specified resource is not
null . |
static void |
IlvGanttModelUtil.checkValidNonRootMemberResource(IlvResource resource,
IlvGanttModel ganttModel)
Checks that the specified resource is not
null , is a member
of the specified data model, but is not the root resource. |
Iterator<IlvResource> |
IlvGanttModel.childResourceIterator(IlvResource parent)
Returns an iterator over the parent resource's children.
|
IlvReservation |
IlvReservationFactory.createReservation(IlvResource resource,
IlvActivity activity)
Creates an
IlvReservation object from the given parameters. |
IlvResource |
IlvGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
int |
IlvGanttModel.getChildResourceCount(IlvResource parent)
Returns the number of children of the specified parent resource.
|
int |
IlvGanttModel.getChildResourceIndex(IlvResource parent,
IlvResource child)
Returns the index of the specified child in the parent resource's list
of children.
|
IlvResource |
IlvGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource, or
null
if the resource is the root resource of the data model. |
int |
IlvGanttModel.getParentResourceIndex(IlvResource resource)
Returns the index of the specified resource within its parent resource.
|
void |
IlvGanttModel.moveResource(IlvResource resource,
IlvResource newParent,
int newIndex)
Moves the specified resource from its current location in the tree to a
new location.
|
void |
IlvGanttModel.removeResource(IlvResource resource)
Removes the specified child resource from its parent.
|
void |
IlvGanttModel.removeResource(IlvResource parent,
int index)
Removes the child resource from parent that is at the specified
location in its list of child resources.
|
Iterator<IlvReservation> |
IlvGanttModel.reservationIterator(IlvResource resource)
Returns an iterator over all of the reservations in the data model
that are associated with the specified resource.
|
Iterator<IlvReservation> |
IlvCacheManager.reservationIterator(IlvResource resource)
Returns an iterator over the reservations that are associated with the
specified resource.
|
Iterator<IlvReservation> |
IlvGanttModel.reservationIterator(IlvResource resource,
IlvTimeInterval interval)
Returns an iterator over all of the reservations in the data model
that are associated with the specified resource and where the assigned
activity intersects the specified time interval.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourceBreadthFirstIterator(IlvGanttModel model,
IlvResource parent)
Returns an iterator that will traverse the parent resource and all of its
descendants in breadth first order.
|
static Iterator<IlvResource> |
IlvGanttModelUtil.resourcePostorderIterator(IlvGanttModel model,
IlvResource parent)
Returns an iterator that will traverse the parent resource and
all of its descendants in postorder.
|
Iterator<IlvResource> |
IlvGanttModel.resourcePreorderIterator(IlvResource parent)
Returns an iterator that will traverse the parent resource and all of
its descendants in preorder.
|
void |
IlvScheduleChart.select(IlvResource resource,
boolean selected)
Selects or deselects the specified resource.
|
void |
IlvReservation.setResource(IlvResource resource)
Sets the resource for this reservation.
|
void |
IlvGanttModel.setRootResource(IlvResource root)
Sets the root resource of the data model.
|
Modifier and Type | Method and Description |
---|---|
IlvResource |
ResourceMovedEvent.getNewParent()
Returns the resource's new parent, after the resource was moved.
|
IlvResource |
ReservedResourceEvent.getNewResource()
Returns the activity's newly reserved resource.
|
IlvResource |
ResourceMovedEvent.getOldParent()
Returns the resource's previous parent, before the resource was moved.
|
IlvResource |
ReservedResourceEvent.getOldResource()
Returns the activity's previously reserved resource.
|
IlvResource |
ResourcesRemovedEvent.getResource()
Returns the resource that identifies the portion of the tree hierarchy
that has been modified.
|
IlvResource |
ResourcesInsertedEvent.getResource()
Returns the resource that identifies the portion of the tree hierarchy
that has been modified.
|
IlvResource |
ResourcePropertyEvent.getResource()
Returns the resource where this event originated.
|
IlvResource |
ResourceMovedEvent.getResource()
Returns the resource that has been moved.
|
IlvResource |
ResourceEvent.getResource()
Returns the resource where this event originated.
|
Modifier and Type | Method and Description |
---|---|
void |
ReservedResourceEvent.setNewResource(IlvResource resource)
Sets the activity's proposed new reservation.
|
Constructor and Description |
---|
ReservedResourceEvent(IlvReservation reservation,
IlvResource oldResource,
IlvResource newResource,
boolean aboutToChangeEvent)
Constructs a new
ReservedResourceEvent generated by the
specified reservation and with the specified old and new resources. |
ResourceIDEvent(IlvResource resource,
String oldID,
String newID,
boolean aboutToChangeEvent)
Constructs a new
ResourceIDEvent generated
by the specified resource and with the specified old and new
id values. |
ResourceMovedEvent(IlvGanttModel model,
IlvResource resource,
IlvResource oldParent,
int oldIndex,
IlvResource newParent,
int newIndex)
Constructs a new
ResourceMovedEvent generated by the
specified data model that can be used to notify listeners when a resource
has been moved within the tree hierarchy. |
ResourceNameEvent(IlvResource resource,
String oldName,
String newName,
boolean aboutToChangeEvent)
Constructs a new
ResourceNameEvent generated
by the specified resource and with the specified old and new
name values. |
ResourcePropertyEvent(IlvResource resource,
Object oldValue,
Object newValue,
boolean aboutToChangeEvent)
Constructs a new
ResourcePropertyEvent generated by the
specified resource. |
ResourceQuantityEvent(IlvResource resource,
float oldQuantity,
float newQuantity,
boolean aboutToChangeEvent)
Constructs a new
ResourceQuantityEvent generated
by the specified resource and with the specified old and new
quantity values. |
ResourcesInsertedEvent(IlvGanttModel model,
IlvResource parent,
int[] childIndices)
Constructs a new
ResourcesInsertedEvent generated by the
specified data model that can be used to notify listeners
when child resources have been inserted into a common parent. |
ResourcesInsertedEvent(IlvGanttModel model,
IlvResource parent,
List<? extends IlvResource> children)
Constructs a new
ResourcesInsertedEvent generated by the
specified data model that can be used to notify listeners
when child resources have been inserted into a common parent. |
ResourcesRemovedEvent(IlvGanttModel model,
IlvResource parent,
List<? extends IlvResource> children,
int[] childIndices)
Constructs a new
ResourcesRemovedEvent generated by the
specified data model that can be used to notify listeners
when child resources have been removed from a common parent. |
Constructor and Description |
---|
ResourcesInsertedEvent(IlvGanttModel model,
IlvResource parent,
List<? extends IlvResource> children)
Constructs a new
ResourcesInsertedEvent generated by the
specified data model that can be used to notify listeners
when child resources have been inserted into a common parent. |
ResourcesRemovedEvent(IlvGanttModel model,
IlvResource parent,
List<? extends IlvResource> children,
int[] childIndices)
Constructs a new
ResourcesRemovedEvent generated by the
specified data model that can be used to notify listeners
when child resources have been removed from a common parent. |
Modifier and Type | Class and Description |
---|---|
class |
IlvAbstractResource
IlvAbstractResource is the superclass of all IlvResource
implementations. |
class |
IlvNullResource
IlvNullResource is a special implementation of the
IlvResource interface that is used as
the root resource
of a Gantt data model when a root
has not been explicitly specified. |
class |
IlvSimpleResource
IlvSimpleResource is a relatively simple, memory-based
implementation of the IlvResource interface that can be
extended in a straightforward manner for more complex needs. |
Modifier and Type | Method and Description |
---|---|
IlvResource |
IlvSimpleResourceFactory.createResource()
Creates an
IlvSimpleResource object. |
IlvResource |
IlvDefaultGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
IlvResource |
IlvDefaultGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource or
null
if the resource is the root resource of the data model. |
IlvResource |
IlvSimpleReservation.getResource()
Returns the resource for this reservation.
|
IlvResource |
IlvDefaultGanttModel.getRootResource()
Returns the root resource of the data model or
null if the
data model contains no resources. |
Modifier and Type | Method and Description |
---|---|
Iterator<IlvResource> |
IlvDefaultGanttModel.childResourceIterator(IlvResource parent)
Returns an iterator over the parent resource's children.
|
Iterator<IlvResource> |
IlvAbstractGanttModel.childResourceIterator(IlvResource parent)
Returns an iterator over the parent resource's children.
|
Iterator<IlvResource> |
IlvAbstractGanttModel.resourcePreorderIterator()
Returns an iterator that traverses all resources in preorder.
|
Iterator<IlvResource> |
IlvAbstractGanttModel.resourcePreorderIterator(IlvResource parent)
Returns an iterator that will traverse the parent resource and all of
its descendants in preorder.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvAbstractGanttModel.addResource(IlvResource newResource,
IlvResource parent)
Appends
newResource as the last child of the
parent resource. |
void |
IlvDefaultGanttModel.addResource(IlvResource newResource,
IlvResource parent,
int index)
Adds
newResource as a child of parent resource
at the specified location in its list of child resources. |
Iterator<IlvResource> |
IlvDefaultGanttModel.childResourceIterator(IlvResource parent)
Returns an iterator over the parent resource's children.
|
Iterator<IlvResource> |
IlvAbstractGanttModel.childResourceIterator(IlvResource parent)
Returns an iterator over the parent resource's children.
|
IlvReservation |
IlvSimpleReservationFactory.createReservation(IlvResource resource,
IlvActivity activity)
Creates an
IlvSimpleReservation from the given parameters. |
protected ReservedResourceEvent |
IlvAbstractReservation.fireReservedResourceAboutToChange(IlvResource newResource)
Fires a
reservedResourceAboutToChange event and returns the
event after dispatching it to all listeners. |
protected void |
IlvAbstractReservation.fireReservedResourceChanged(IlvResource oldResource)
Fires a
reservedResourceChanged event. |
protected void |
IlvAbstractGanttModel.fireResourceInserted(IlvResource parent,
IlvResource child)
Fires a
ResourcesInsertedEvent . |
protected void |
IlvAbstractGanttModel.fireResourceMoved(IlvResource resource,
IlvResource oldParent,
int oldIndex,
IlvResource newParent,
int newIndex)
Fires a
ResourceMovedEvent . |
protected void |
IlvAbstractGanttModel.fireResourceRemoved(IlvResource parent,
IlvResource child,
int childIndex)
Fires a
ResourcesRemovedEvent . |
protected void |
IlvAbstractGanttModel.fireResourcesInserted(IlvResource parent,
int[] childIndices)
Fires a
ResourcesInsertedEvent . |
protected void |
IlvAbstractGanttModel.fireResourcesInserted(IlvResource parent,
List<IlvResource> children)
Fires a
ResourcesInsertedEvent . |
protected void |
IlvAbstractGanttModel.fireResourcesRemoved(IlvResource parent,
List<IlvResource> children,
int[] childIndices)
Fires a
ResourcesRemovedEvent . |
protected void |
IlvAbstractGanttModel.fireResourcesRemoved(IlvResource parent,
List<IlvResource> children,
List<Integer> childIndices)
Fires a
ResourcesRemovedEvent . |
IlvResource |
IlvDefaultGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
int |
IlvDefaultGanttModel.getChildResourceCount(IlvResource parent)
Returns the number of children of the specified parent resource.
|
int |
IlvDefaultGanttModel.getChildResourceIndex(IlvResource parent,
IlvResource child)
Returns the index of the specified child in the parent resource's list
of children.
|
IlvResource |
IlvDefaultGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource or
null
if the resource is the root resource of the data model. |
int |
IlvDefaultGanttModel.getParentResourceIndex(IlvResource resource)
Returns the index of the specified resource within its parent resource.
|
void |
IlvDefaultGanttModel.moveResource(IlvResource resource,
IlvResource newParent,
int newIndex)
Moves the specified resource from its current location in the tree to a
new location.
|
void |
IlvDefaultGanttModel.removeResource(IlvResource resource)
Removes the specified child resource from its parent.
|
void |
IlvDefaultGanttModel.removeResource(IlvResource parent,
int index)
Removes the child resource from parent that is at the specified
location in its list of child resources.
|
Iterator<IlvReservation> |
IlvDefaultGanttModel.reservationIterator(IlvResource resource)
Returns an iterator over all the reservations in the data model
that are associated with the specified resource.
|
Iterator<IlvReservation> |
IlvDefaultGanttModel.reservationIterator(IlvResource resource,
IlvTimeInterval interval)
Returns an iterator over all the reservations in the data model
that are associated with the specified resource and where the assigned
activity intersects the specified time interval.
|
Iterator<IlvResource> |
IlvAbstractGanttModel.resourcePreorderIterator(IlvResource parent)
Returns an iterator that will traverse the parent resource and all of
its descendants in preorder.
|
void |
IlvSimpleReservation.setResource(IlvResource resource)
Sets the resource for this reservation.
|
void |
IlvDefaultGanttModel.setRootResource(IlvResource root)
Sets the root resource of the data model.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IlvAbstractGanttModel.fireResourcesInserted(IlvResource parent,
List<IlvResource> children)
Fires a
ResourcesInsertedEvent . |
protected void |
IlvAbstractGanttModel.fireResourcesRemoved(IlvResource parent,
List<IlvResource> children,
int[] childIndices)
Fires a
ResourcesRemovedEvent . |
protected void |
IlvAbstractGanttModel.fireResourcesRemoved(IlvResource parent,
List<IlvResource> children,
List<Integer> childIndices)
Fires a
ResourcesRemovedEvent . |
Constructor and Description |
---|
IlvSimpleReservation(IlvResource resource,
IlvActivity activity)
Creates a new
IlvSimpleReservation that assigns the
specified resource and activity . |
Modifier and Type | Method and Description |
---|---|
IlvResource |
IlvFilterGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
IlvResource |
IlvBasicFilterGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
IlvResource |
IlvFilterGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource, or
null
if the resource is the root resource of the data model. |
IlvResource |
IlvFilterGanttModel.getRootResource()
Returns the root resource of the data model, or
null if the
data model contains no resources. |
IlvResource |
IlvBasicFilterGanttModel.getRootResource()
Returns the root resource of the data model, or
null if the
data model contains no resources. |
Modifier and Type | Method and Description |
---|---|
IlvFilter<IlvResource> |
IlvBasicFilterGanttModel.getResourceFilter()
Returns the resource filter set on the encapsulated
data model.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvFilterGanttModel.addResource(IlvResource newResource,
IlvResource parent,
int index)
Adds
newResource as a child of the parent
resource at the specified location in its list of child resources. |
void |
IlvBasicFilterGanttModel.addResource(IlvResource newResource,
IlvResource parent,
int index)
Adds
newResource as a child of the parent
resource at the specified location in its list of child resources. |
IlvResource |
IlvFilterGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
IlvResource |
IlvBasicFilterGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at index
index . |
int |
IlvFilterGanttModel.getChildResourceCount(IlvResource parent)
Returns the number of children of the specified parent resource.
|
int |
IlvBasicFilterGanttModel.getChildResourceCount(IlvResource parent)
Returns the number of children of the specified parent resource.
|
int |
IlvFilterGanttModel.getChildResourceIndex(IlvResource parent,
IlvResource child)
Returns the index of the specified child in the parent resource's list
of children.
|
int |
IlvBasicFilterGanttModel.getChildResourceIndex(IlvResource parent,
IlvResource child)
Returns the index of the specified child in the parent resource's list
of children.
|
IlvResource |
IlvFilterGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource, or
null
if the resource is the root resource of the data model. |
int |
IlvFilterGanttModel.getParentResourceIndex(IlvResource resource)
Returns the index of the specified resource within its parent resource.
|
int |
IlvBasicFilterGanttModel.getParentResourceIndex(IlvResource resource)
Returns the index of the specified resource within its parent resource.
|
void |
IlvFilterGanttModel.moveResource(IlvResource resource,
IlvResource newParent,
int newIndex)
Moves the specified resource from its current location in the tree to a
new location.
|
void |
IlvBasicFilterGanttModel.moveResource(IlvResource resource,
IlvResource newParent,
int newIndex)
This method throws an
UnsupportedOperationException because
IlvBasicFilterGanttModel does not support resources that are moved
within the hierarchy. |
void |
IlvFilterGanttModel.removeResource(IlvResource resource)
Removes the specified child
resource from its parent. |
void |
IlvBasicFilterGanttModel.removeResource(IlvResource resource)
Removes the specified child
resource from its parent. |
void |
IlvFilterGanttModel.removeResource(IlvResource parent,
int index)
Removes the child resource from
parent that is at the
specified location in its list of child resources. |
void |
IlvBasicFilterGanttModel.removeResource(IlvResource parent,
int index)
Removes the child resource from
parent that is at the
specified location in its list of child resources. |
Iterator<IlvReservation> |
IlvFilterGanttModel.reservationIterator(IlvResource resource)
Returns an iterator over all the reservations in the data model
that are associated with the specified resource.
|
Iterator<IlvReservation> |
IlvBasicFilterGanttModel.reservationIterator(IlvResource resource)
Returns an iterator over all the reservations in the data model
that are associated with the specified resource.
|
Iterator<IlvReservation> |
IlvFilterGanttModel.reservationIterator(IlvResource resource,
IlvTimeInterval interval)
Returns an iterator over all the reservations in the data model
that are associated with the specified resource and where the assigned
activity intersects the specified time interval.
|
Iterator<IlvReservation> |
IlvBasicFilterGanttModel.reservationIterator(IlvResource resource,
IlvTimeInterval interval)
Returns an iterator over all the reservations in the data model
that are associated with the specified resource and where the assigned
activity intersects the specified time interval.
|
void |
IlvFilterGanttModel.setRootResource(IlvResource root)
Sets the root resource of the data model.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvBasicFilterGanttModel.setResourceFilter(IlvFilter<IlvResource> filter)
Sets the specified resource filter on the encapsulated
data model.
|
Constructor and Description |
---|
IlvBasicFilterGanttModel(IlvGanttModel filteredModel,
IlvFilter<IlvActivity> activityFilter,
IlvFilter<IlvResource> resourceFilter)
Creates a new filtering model that encapsulates the specified filtered
model.
|
Modifier and Type | Class and Description |
---|---|
class |
IlvGeneralResource
IlvGeneralResource is an extension of IlvSimpleResource
that adds support for user-defined properties. |
Modifier and Type | Method and Description |
---|---|
IlvResource |
IlvGeneralResource.Factory.createResource()
Creates an
IlvGeneralResource object. |
Modifier and Type | Method and Description |
---|---|
IlvReservation |
IlvGeneralReservation.Factory.createReservation(IlvResource resource,
IlvActivity activity)
Creates an
IlvGeneralReservation object from the given
parameters. |
Constructor and Description |
---|
IlvGeneralReservation(IlvResource resource,
IlvActivity activity)
Creates a new
IlvGeneralReservation that assigns the
specified resource to the specified activity . |
ResourceUserPropertyEvent(IlvResource resource,
String property,
Object oldValue,
Object newValue,
boolean aboutToChangeEvent)
Creates a new
ResourceUserPropertyEvent generated by the
specified resource. |
Modifier and Type | Class and Description |
---|---|
class |
IlvTableResource
An
IlvAbstractResource implementation that
works with an IlvTableGanttModel . |
Modifier and Type | Method and Description |
---|---|
IlvResource |
IlvTableGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at the specified
index . |
IlvResource |
IlvTableGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource or
null
if the resource is the root resource of the data model. |
IlvResource |
IlvTableReservation.getResource()
Returns the resource for this reservation.
|
IlvResource |
IlvTableGanttModel.getRootResource()
Returns the root resource of the data model or
null if the
data model contains no resources. |
Modifier and Type | Method and Description |
---|---|
void |
IlvTableGanttModel.addResource(IlvResource newResource,
IlvResource parent,
int index)
Adds
newResource as a child of the parent
resource at the specified location in its list of child resources. |
IlvResource |
IlvTableGanttModel.getChildResource(IlvResource parent,
int index)
Returns the child of the specified parent resource at the specified
index . |
int |
IlvTableGanttModel.getChildResourceCount(IlvResource parent)
Returns the number of children of the specified parent resource.
|
int |
IlvTableGanttModel.getChildResourceIndex(IlvResource parent,
IlvResource child)
Returns the index of the specified child to the list of children of the
parent resource.
|
IlvResource |
IlvTableGanttModel.getParentResource(IlvResource resource)
Returns the parent resource of the specified resource or
null
if the resource is the root resource of the data model. |
int |
IlvTableGanttModel.getParentResourceIndex(IlvResource resource)
Returns the index of the specified resource within its parent resource.
|
void |
IlvTableGanttModel.moveResource(IlvResource resource,
IlvResource newParent,
int newIndex)
Moves the specified resource from its current location in the tree
to a new location.
|
void |
IlvTableGanttModel.removeResource(IlvResource resource)
Removes the specified child resource from its parent.
|
void |
IlvTableGanttModel.removeResource(IlvResource parent,
int index)
Removes the child resource from the parent that is at the
specified location in its list of child resources.
|
Iterator |
IlvTableGanttModel.reservationIterator(IlvResource resource)
Returns an iterator over all the reservations in the data model that are
associated with the specified resource.
|
Iterator |
IlvTableGanttModel.reservationIterator(IlvResource resource,
IlvTimeInterval interval)
Returns an iterator over all the reservations in the data model that are
associated with the specified resource and where the assigned activity
intersects the specified time interval.
|
void |
IlvTableReservation.setResource(IlvResource resource)
Sets the resource of this reservation.
|
void |
IlvTableGanttModel.setRootResource(IlvResource root)
This method must not be called.
|
Constructor and Description |
---|
IlvTableReservation(IlvResource resource,
IlvActivity activity)
Creates a new
IlvTableReservation from the specified activity
and resource. |
Modifier and Type | Method and Description |
---|---|
protected IlvResource |
IlvSimpleResourceReader.createResource(String id,
String name,
float quantity)
Creates an
IlvSimpleResource with the specified parameters. |
protected IlvResource |
IlvGeneralResourceReader.createResource(String id,
String name,
float quantity)
Creates an
IlvGeneralResource with the specified parameters. |
IlvResource |
IlvGanttDocumentReader.Context.getResource(String id)
Returns the resource with the specified ID that has already been read
from the XML document.
|
IlvResource |
IlvSimpleResourceReader.readResource(Element elem,
IlvGanttDocumentReader.Context readContext)
Reads an
IlvSimpleResource from a given Element . |
IlvResource |
IlvResourceReader.readResource(Element elem,
IlvGanttDocumentReader.Context readContext)
Reads a resource from a given
Element . |
IlvResource |
IlvGeneralResourceReader.readResource(Element elem,
IlvGanttDocumentReader.Context readContext)
Reads an
IlvGeneralResource from a given Element . |
Modifier and Type | Method and Description |
---|---|
protected IlvReservation |
IlvSimpleReservationReader.createReservation(IlvResource resource,
IlvActivity activity)
Creates an
IlvSimpleReservation with the specified parameters. |
protected IlvReservation |
IlvGeneralReservationReader.createReservation(IlvResource resource,
IlvActivity activity)
Creates an
IlvGeneralReservation with the specified parameters. |
void |
IlvSimpleResourceWriter.writeResource(Element elem,
IlvResource resource,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvSimpleResource to a
given Element . |
void |
IlvResourceWriter.writeResource(Element elem,
IlvResource resource,
IlvGanttDocumentWriter.Context writeContext)
Writes a resource to a given
Element . |
void |
IlvGeneralResourceWriter.writeResource(Element elem,
IlvResource resource,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvGeneralResource to a given Element . |
Modifier and Type | Method and Description |
---|---|
Iterator<IlvResource> |
IlvResourceDataChart.displayedResourcesIterator()
Returns an iterator over the currently displayed resources.
|
Modifier and Type | Method and Description |
---|---|
IlvResourceDataSet |
IlvResourceDataChart.createDataSet(IlvResource resource,
IlvReservationDataPolicy dataPolicy)
Creates a dataset for the specified resource.
|
void |
IlvResourceDataChart.displayResource(IlvResource resource,
boolean displayed)
Selects or deselects the specified resource for display.
|
boolean |
IlvResourceDataChart.isDisplayed(IlvResource resource)
Returns whether the specified resource is displayed.
|
Modifier and Type | Method and Description |
---|---|
IlvResource |
IlvResourceDataSet.getResource()
Returns the resource that this data set represents.
|
Modifier and Type | Method and Description |
---|---|
void |
IlvResourceDataSet.setResource(IlvResource resource)
Sets the resource that this data set represents.
|
Constructor and Description |
---|
IlvResourceDataSet(IlvGanttModel ganttModel,
IlvResource resource)
Creates a dataset for the specified resource.
|
IlvResourceDataSet(IlvGanttModel ganttModel,
IlvResource resource,
IlvReservationDataPolicy dataPolicy)
Creates a dataset for the specified resource.
|
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.