|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.equations.ArgDescriptor
public final class ArgDescriptor
A class describing a function argument.
Constructor Summary | |
---|---|
ArgDescriptor(ArgType argType,
String argName,
String description)
|
Method Summary | |
---|---|
boolean |
acceptsMultipleArgs()
Returns true if this ArgDescriptor accepts multiple arguments, otherwise false. |
String |
getArgName()
Returns the name of the argument. |
ArgType |
getArgType()
|
Class[] |
getCompatibleTypes()
Returns the types that are compatible with this argument. |
String |
getDescription()
Returns the description of the argument. |
boolean |
isCompatibleWith(Class type)
Tests to see if the specified class is compatible with this ArgType. |
boolean |
isOptional()
Returns whether the ArgType is optional. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArgDescriptor(ArgType argType, String argName, String description)
argType
- The type of the argument.argName
- The name of the argument.description
- The description of the argument.Method Detail |
---|
public ArgType getArgType()
public String getArgName()
public String getDescription()
public boolean isOptional()
public boolean isCompatibleWith(Class type)
type
- the Class to test against this ArgType.
public Class[] getCompatibleTypes()
public boolean acceptsMultipleArgs()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |