org.nlogo.workspace
Interface WorldLoaderInterface

All Known Implementing Classes:
HeadlessWorkspace

public interface WorldLoaderInterface


Method Summary
 int calculateHeight(int worldHeight, double patchSize)
           
 int calculateWidth(int worldWidth, double patchSize)
           
 void changeTopology(boolean wrapX, boolean wrapY)
           
 void clearTurtles()
           
 double computePatchSize(int width, int numPatches)
           
 void fontSize(int fontSize)
           
 int getMinimumWidth()
           
 int insetWidth()
           
 void patchSize(double patchSize)
           
 void setDimensions(WorldDimensions d, double patchSize)
           
 void setSize(int x, int y)
           
 boolean showTickCounter()
           
 void showTickCounter(boolean visible)
           
 String tickCounterLabel()
           
 void tickCounterLabel(String label)
           
 void updateMode(Workspace.UpdateMode updateMode)
           
 

Method Detail

patchSize

void patchSize(double patchSize)

setDimensions

void setDimensions(WorldDimensions d,
                   double patchSize)

fontSize

void fontSize(int fontSize)

setSize

void setSize(int x,
             int y)

changeTopology

void changeTopology(boolean wrapX,
                    boolean wrapY)

clearTurtles

void clearTurtles()

updateMode

void updateMode(Workspace.UpdateMode updateMode)

getMinimumWidth

int getMinimumWidth()

computePatchSize

double computePatchSize(int width,
                        int numPatches)

calculateHeight

int calculateHeight(int worldHeight,
                    double patchSize)

calculateWidth

int calculateWidth(int worldWidth,
                   double patchSize)

insetWidth

int insetWidth()

tickCounterLabel

void tickCounterLabel(String label)

tickCounterLabel

String tickCounterLabel()

showTickCounter

void showTickCounter(boolean visible)

showTickCounter

boolean showTickCounter()