|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ViewMemberCollection.BehaviorContainer
public static final class ViewMemberCollection.BehaviorContainer
A BehaviorContainer can be used to query for ViewMemberBehavior on the underlying collection of ViewMembers. It may also be used to assign Behaviors to a set of ViewMembers. The ViewMembers are queried, retrieved and assigned in bulk. The level of indirection is a requirement of the SDK's contractual obligation, namely, to expose only primitives, native SDK objects, and arrays of objects.
| Constructor Summary | |
|---|---|
ViewMemberCollection.BehaviorContainer()
create a new BehaviorContainer to assign behavior to view members in bulk |
|
| Method Summary | |
|---|---|
ViewMemberBehavior |
getBehavior(ViewMember vm)
Return the ViewMemberBehavior of this view member Note that this ViewMember should be a member of the underlying collection from which this object is derived, for this call to succeed |
void |
setBehavior(ViewMember vm,
ViewMemberBehavior vmb)
Sets the new behavior for this view member Note that this call stores the unassigned objects in memory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewMemberCollection.BehaviorContainer()
| Method Detail |
|---|
public ViewMemberBehavior getBehavior(ViewMember vm)
vm - the ViewMember whose behavior is required
public void setBehavior(ViewMember vm,
ViewMemberBehavior vmb)
vm - the view membervmb - the new behavior to be associated with this view memberViewMemberCollection.setViewMemberBehavior(BehaviorContainer)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||