|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.VcsConfigVariable
Constructor Summary | |
VcsConfigVariable(String name,
String label,
String value,
boolean basic,
boolean localFile,
boolean localDir,
String customSelector)
Creates new VcsConfigVariable with zero order. |
|
VcsConfigVariable(String name,
String label,
String value,
boolean basic,
boolean localFile,
boolean localDir,
String customSelector,
int order)
Creates new VcsConfigVariable |
Method Summary | |
Object |
clone()
|
int |
compareTo(Object o)
Compares this object with the specified object for order. |
String |
getA11yDescription()
|
String |
getA11yName()
|
String |
getCustomSelector()
|
String |
getLabel()
|
Character |
getLabelMnemonic()
|
String |
getName()
|
int |
getOrder()
|
String |
getValue()
|
boolean |
isBasic()
|
boolean |
isExecutable()
|
boolean |
isLocalDir()
|
boolean |
isLocalFile()
|
void |
setA11yDescription(String a11yDescription)
|
void |
setA11yName(String a11yName)
|
void |
setBasic(boolean basic)
|
void |
setCustomSelector(String customSelector)
|
void |
setExecutable(boolean executable)
|
void |
setLabel(String label)
|
void |
setLabelMnemonic(Character labelMnemonic)
|
void |
setLocalDir(boolean localDir)
|
void |
setLocalFile(boolean localFile)
|
void |
setName(String name)
|
void |
setOrder(int order)
|
void |
setValue(String value)
|
static Vector |
sortVariables(Vector variables)
Sort a vector of commands or variables by the orderArr property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VcsConfigVariable(String name, String label, String value, boolean basic, boolean localFile, boolean localDir, String customSelector)
name
- the variable namelabel
- the label of that variable in the Customizervalue
- the value of this variablebasic
- whether this variable is basic or not. Basic variables can be set in the Customizer.localFile
- whether this variable is a local file. Browse buttom will be created for this variable.localDir
- whether this variable is a local directory. Browse buttom will be created for this variable.customSelector
- the custom selector for this variable. It can be a subclass of VcsAdditionalCommand
or an executable.public VcsConfigVariable(String name, String label, String value, boolean basic, boolean localFile, boolean localDir, String customSelector, int order)
name
- the variable namelabel
- the label of that variable in the Customizervalue
- the value of this variablebasic
- whether this variable is basic or not. Basic variables can be set in the Customizer.localFile
- whether this variable is a local file. Browse buttom will be created for this variable.localDir
- whether this variable is a local directory. Browse buttom will be created for this variable.customSelector
- the custom selector for this variable. It can be a subclass of VcsAdditionalCommand
or an executable.order
- the order of this variable in the Customizer.Method Detail |
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public Character getLabelMnemonic()
public void setLabelMnemonic(Character labelMnemonic)
public String getA11yName()
public void setA11yName(String a11yName)
public String getA11yDescription()
public void setA11yDescription(String a11yDescription)
public String getValue()
public void setValue(String value)
public boolean isBasic()
public void setBasic(boolean basic)
public boolean isLocalFile()
public void setLocalFile(boolean localFile)
public boolean isLocalDir()
public void setLocalDir(boolean localDir)
public boolean isExecutable()
public void setExecutable(boolean executable)
public String getCustomSelector()
public void setCustomSelector(String customSelector)
public void setOrder(int order)
public int getOrder()
public String toString()
public Object clone()
public static Vector sortVariables(Vector variables)
public int compareTo(Object o)
This implementation makes basic variables smaller than non-basic, otherwise variables are compared by their names.
compareTo
in interface Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |