|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.ItemBehavior
A class that represents the behavior of an Item.
Item| Field Summary | |
static int |
BRANCH_STATE_BRANCHABLE
|
static int |
BRANCH_STATE_BRANCHED
|
static int |
BRANCH_STATE_NOT_SUPPORTED
|
static int |
BRANCH_STATE_ROOT
|
| Constructor Summary | |
ItemBehavior(ItemBehavior behavior)
Constructs a new ItemBehavior that is a copy of an existing one. |
|
| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
boolean |
getBranchOnChange()
Determines whether or not this ItemBehavior is set to branch on change. |
int |
getBranchState()
Gets the branch state. |
ViewConfiguration |
getConfig()
Gets this ItemBehavior's current configuration. |
boolean |
getFixConfig()
Determines whether or not this item has a fixed configuration. |
int |
hashCode()
returns a unique hash for all instances of this type |
void |
setBranchOnChange(boolean bBranchOnChange)
Determines whether or not this ItemBehavior is set to branch on change. |
void |
setConfig(ViewConfiguration config)
Changes this ItemBehavior to use the given configuration. |
void |
setFloatingConfig()
Changes this ItemBehavior to use a floating configuration. |
java.lang.String |
toString()
Returns a string representation of this configuration. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int BRANCH_STATE_BRANCHABLE
public static final int BRANCH_STATE_BRANCHED
public static final int BRANCH_STATE_ROOT
public static final int BRANCH_STATE_NOT_SUPPORTED
| Constructor Detail |
public ItemBehavior(ItemBehavior behavior)
behavior - The existing ItemBehavior to be copied.| Method Detail |
public boolean getFixConfig()
public ViewConfiguration getConfig()
public void setConfig(ViewConfiguration config)
config - The new configuration, or null to set a tip
(floating) configuration.Item.setBehavior(com.starbase.starteam.ItemBehavior)public void setFloatingConfig()
ItemBehavior.setConfig(com.starbase.starteam.ViewConfiguration),
Item.setBehavior(com.starbase.starteam.ItemBehavior)public boolean getBranchOnChange()
public void setBranchOnChange(boolean bBranchOnChange)
bBranchOnChange - true if this ItemBehavior is set to branch on change; false otherwise.Item.setBehavior(com.starbase.starteam.ItemBehavior)public int getBranchState()
ItemBehavior.BRANCH_STATE_BRANCHABLE,
ItemBehavior.BRANCH_STATE_BRANCHED,
ItemBehavior.BRANCH_STATE_ROOT,
ItemBehavior.BRANCH_STATE_NOT_SUPPORTEDpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||