|
NetLogo API version 4.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nlogo.agent.ShapeList
public class ShapeList
Field Summary | |
---|---|
static String |
DEFAULT_SHAPE_NAME
|
Constructor Summary | |
---|---|
ShapeList(List list)
|
|
ShapeList(Shape defaultShape)
|
Method Summary | |
---|---|
Shape |
addNewShape(Shape newShape)
|
void |
addNewShapes(Collection collection)
|
void |
clearShapes()
|
boolean |
exists(String name)
|
Set |
getNames()
|
List |
getShapes()
|
boolean |
isDefaultShape(String name)
|
Shape |
removeShape(Shape shapeToRemove)
|
Shape |
shape(String name)
|
static List |
sortShapes(List unsortedShapes)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_SHAPE_NAME
Constructor Detail |
---|
public ShapeList(Shape defaultShape)
public ShapeList(List list)
Method Detail |
---|
public Shape shape(String name)
public boolean isDefaultShape(String name)
public List getShapes()
public static final List sortShapes(List unsortedShapes)
public Set getNames()
public boolean exists(String name)
public void clearShapes()
public Shape addNewShape(Shape newShape)
public void addNewShapes(Collection collection)
public Shape removeShape(Shape shapeToRemove)
|
NetLogo API version 4.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |