|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.primitives.generators.Language
algoanim.primitives.generators.VHDLLanguage
algoanim.animalscript.AnimalScript
public class AnimalScript
Language| Field Summary | |
|---|---|
static java.lang.String |
COLORCHANGE_COLOR
The color colortype constant. |
static java.lang.String |
COLORCHANGE_COLORSETTING
The colorsetting colortype constant. |
static java.lang.String |
COLORCHANGE_FILLCOLOR
The fillcolor colortype constant. |
static java.lang.String |
COLORCHANGE_TEXTCOLOR
The textcolor colortype constant. |
static java.lang.String |
DIRECTION_BASELINE_END
The direction constant for alignment from the (text) baseline's end. |
static java.lang.String |
DIRECTION_BASELINE_START
The direction constant for alignment from the (text) baseline's start. |
static java.lang.String |
DIRECTION_C
The central direction constant. |
static java.lang.String |
DIRECTION_E
The east direction constant. |
static java.lang.String |
DIRECTION_N
The north direction constant. |
static java.lang.String |
DIRECTION_NE
The north east direction constant. |
static java.lang.String |
DIRECTION_NW
The north west direction constant. |
static java.lang.String |
DIRECTION_S
The south direction constant. |
static java.lang.String |
DIRECTION_SE
The south east direction constant. |
static java.lang.String |
DIRECTION_SW
The south west direction constant. |
static java.lang.String |
DIRECTION_W
The west direction constant. |
static int |
INITIAL_ERRORBUFFER_SIZE
The initial size in kilobytes of the error buffer. |
static int |
INITIAL_GENBUFFER_SIZE
The initial size in kilobytes of the buffers used by generators. |
static int |
INITIAL_OUTPUTBUFFER_SIZE
The initial size in kilobytes of the output buffer. |
static int |
INITIAL_STEPBUFFER_SIZE
The initial size in kilobytes of the buffer used by the step mode. |
| Fields inherited from class algoanim.primitives.generators.Language |
|---|
hideInThisStep, INTERACTION_TYPE_AVINTERACTION, INTERACTION_TYPE_JHAVE_TEXT, INTERACTION_TYPE_JHAVE_XML, INTERACTION_TYPE_NONE, interactiveElements, showInThisStep, UNDEFINED_SIZE |
| Constructor Summary | |
|---|---|
AnimalScript(java.lang.String title,
java.lang.String author,
int x,
int y)
Creates the headline of the AnimalScript File and the AnimalScript Object. |
|
| Method Summary | ||
|---|---|---|
void |
addDocumentationLink(DocumentationLink docuLink)
|
|
void |
addError(java.lang.StringBuilder error)
Adds another line at the end of the error buffer. |
|
void |
addFIBQuestion(FillInBlanksQuestion fibQuestion)
|
|
void |
addItem(Primitive p)
Adds the given Primitive to the internal database, which is
used to control that dupes are produced. |
|
void |
addLabel(java.lang.String label)
Adds a label to the current AnimalScript which can be used for navigation. |
|
void |
addLine(java.lang.StringBuilder line)
Adds a line to the concurrent buffer and determines if in stepmode or not. |
|
void |
addMCQuestion(MultipleChoiceQuestion mcQuestion)
|
|
void |
addMSQuestion(MultipleSelectionQuestion msQuestion)
|
|
void |
addQuestionGroup(GroupInfo group)
|
|
void |
addTFQuestion(TrueFalseQuestion tfQuestion)
|
|
void |
finalizeGeneration()
Method to be called before the content is accessed or written |
|
java.lang.String |
getAnimationCode()
Returns the generated animation code |
|
java.lang.String |
getErrorOutput()
Returns the current error buffer. |
|
int |
getStep()
Gives the current animation step. |
|
void |
hideAllPrimitives()
|
|
void |
hideAllPrimitivesExcept(java.util.List<Primitive> keepThese)
|
|
void |
hideAllPrimitivesExcept(Primitive keepThisOne)
|
|
boolean |
isNameUsed(java.lang.String name)
Checks the internal primitive registry for the given name. |
|
boolean |
isValidDirection(java.lang.String direction)
Evaluates whether a given String describes a valid direction for movement operations. |
|
AndGate |
newAndGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new AndGate object. |
|
Arc |
newArc(Node center,
Node radius,
java.lang.String name,
DisplayOptions display,
ArcProperties ep)
|
|
|
newArrayBasedQueue(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
QueueProperties qp,
int capacity)
Creates a new ArrayBasedQueue object. |
|
|
newArrayBasedStack(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
StackProperties sp,
int capacity)
Creates a new ArrayBasedStack object. |
|
ArrayMarker |
newArrayMarker(ArrayPrimitive a,
int index,
java.lang.String name,
DisplayOptions display,
ArrayMarkerProperties ap)
Creates a new ArrayMarker object. |
|
Circle |
newCircle(Node center,
int radius,
java.lang.String name,
DisplayOptions display,
CircleProperties cp)
Creates a new Circle object. |
|
CircleSeg |
newCircleSeg(Node center,
int radius,
java.lang.String name,
DisplayOptions display,
CircleSegProperties cp)
Creates a new CircleSeg object. |
|
|
newConceptualQueue(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
QueueProperties qp)
Creates a new ConceptualQueue object. |
|
|
newConceptualStack(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
StackProperties sp)
Creates a new ConceptualStack object. |
|
Demultiplexer |
newDemultiplexer(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new Demultiplexer object. |
|
DFlipflop |
newDFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new DFlipflop object. |
|
DoubleArray |
newDoubleArray(Node upperLeft,
double[] data,
java.lang.String name,
ArrayDisplayOptions display,
ArrayProperties iap)
Creates a new DoubleArray object. |
|
DoubleMatrix |
newDoubleMatrix(Node upperLeft,
double[][] data,
java.lang.String name,
DisplayOptions display,
MatrixProperties iap)
Creates a new DoubleMatrix object. |
|
Ellipse |
newEllipse(Node center,
Node radius,
java.lang.String name,
DisplayOptions display,
EllipseProperties ep)
Creates a new Ellipse object. |
|
EllipseSeg |
newEllipseSeg(Node center,
Node radius,
java.lang.String name,
DisplayOptions display,
EllipseSegProperties cp)
Creates a new EllipseSeg object. |
|
Graph |
newGraph(java.lang.String name,
int[][] graphAdjacencyMatrix,
Node[] graphNodes,
java.lang.String[] labels,
DisplayOptions display,
GraphProperties graphProps)
Creates a new Ellipse object. |
|
Group |
newGroup(java.util.LinkedList<Primitive> primitives,
java.lang.String name)
Creates a new element Group with a list of contained
Primitives and a distinct name. |
|
IntArray |
newIntArray(Node upperLeft,
int[] data,
java.lang.String name,
ArrayDisplayOptions display,
ArrayProperties iap)
Creates a new IntArray object. |
|
IntMatrix |
newIntMatrix(Node upperLeft,
int[][] data,
java.lang.String name,
DisplayOptions display,
MatrixProperties iap)
Creates a new IntMatrix object. |
|
JKFlipflop |
newJKFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new JKFlipflop object. |
|
|
newListBasedQueue(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
QueueProperties qp)
Creates a new ListBasedQueue object. |
|
|
newListBasedStack(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
StackProperties sp)
Creates a new ListBasedStack object. |
|
ListElement |
newListElement(Node upperLeft,
int pointers,
java.util.LinkedList<java.lang.Object> pointerLocations,
ListElement prev,
ListElement next,
java.lang.String name,
DisplayOptions display,
ListElementProperties lp)
Creates a new ListElement object. |
|
Multiplexer |
newMultiplexer(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new Multiplexer object. |
|
NAndGate |
newNAndGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new NAndGate object. |
|
NorGate |
newNorGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new NorGate object. |
|
NotGate |
newNotGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new NotGate object. |
|
OrGate |
newOrGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new OrGate object. |
|
Point |
newPoint(Node coords,
java.lang.String name,
DisplayOptions display,
PointProperties pp)
Creates a new Point object. |
|
Polygon |
newPolygon(Node[] vertices,
java.lang.String name,
DisplayOptions display,
PolygonProperties pp)
Creates a new Polygon object. |
|
Polyline |
newPolyline(Node[] vertices,
java.lang.String name,
DisplayOptions display,
PolylineProperties pp)
Creates a new Polyline object. |
|
Rect |
newRect(Node upperLeft,
Node lowerRight,
java.lang.String name,
DisplayOptions display,
RectProperties rp)
Creates a new Rect object. |
|
RSFlipflop |
newRSFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new RSFlipflop object. |
|
SourceCode |
newSourceCode(Node upperLeft,
java.lang.String name,
DisplayOptions display,
SourceCodeProperties sp)
Creates a new SourceCode object. |
|
Square |
newSquare(Node upperLeft,
int width,
java.lang.String name,
DisplayOptions display,
SquareProperties sp)
Creates a new Square. |
|
StringArray |
newStringArray(Node upperLeft,
java.lang.String[] data,
java.lang.String name,
ArrayDisplayOptions display,
ArrayProperties sap)
Creates a new StringArray object. |
|
StringMatrix |
newStringMatrix(Node upperLeft,
java.lang.String[][] data,
java.lang.String name,
DisplayOptions display,
MatrixProperties iap)
Creates a new StringMatrix object. |
|
Text |
newText(Node upperLeft,
java.lang.String text,
java.lang.String name,
DisplayOptions display,
TextProperties tp)
Creates a new Text object. |
|
TFlipflop |
newTFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new TFlipflop object. |
|
Triangle |
newTriangle(Node x,
Node y,
Node z,
java.lang.String name,
DisplayOptions display,
TriangleProperties tp)
Creates a new Triangle object. |
|
Variables |
newVariables()
Creates a new Variables object. |
|
VHDLWire |
newWire(java.util.List<Node> nodes,
int speed,
java.lang.String name,
DisplayOptions display,
VHDLWireProperties properties)
Creates a new wire object. |
|
XNorGate |
newXNorGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new XNorGate object. |
|
XOrGate |
newXOrGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
Creates a new XOrGate object. |
|
void |
nextStep(int delay,
java.lang.String label)
Flushes the stepbuffer to the output variable. |
|
void |
resetAnimation()
Clears all animation data. |
|
void |
setInteractionType(int interactionTypeCode)
|
|
void |
setInteractionType(int interactionTypeCode,
java.lang.String key)
|
|
void |
setStepMode(boolean mode)
Enables or disables Step mode. |
|
java.lang.String |
toString()
Returns a String with the generated AnimalScript. |
|
java.util.Vector<java.lang.String> |
validDirections()
The vector which is returned describes the valid direction statements regarding this actual language object. |
|
void |
writeFile(java.lang.String fileName)
Writes all AnimalScript commands to the file given to that function. |
|
| Methods inherited from class algoanim.primitives.generators.VHDLLanguage |
|---|
newAndGate, newAndGate, newDemultiplexer, newDemultiplexer, newDFlipflop, newJKFlipflop, newMultiplexer, newMultiplexer, newNAndGate, newNAndGate, newNorGate, newNorGate, newNotGate, newNotGate, newOrGate, newOrGate, newRSFlipflop, newTFlipflop, newXNorGate, newXNorGate, newXOrGate, newXOrGate |
| Methods inherited from class algoanim.primitives.generators.Language |
|---|
addError, addLine, newArc, newArrayBasedQueue, newArrayBasedStack, newArrayMarker, newCircle, newCircleSeg, newConceptualQueue, newConceptualStack, newDoubleArray, newDoubleMatrix, newEllipse, newEllipseSeg, newGraph, newIntArray, newIntMatrix, newListBasedQueue, newListBasedStack, newListElement, newListElement, newPolygon, newPolyline, newRect, newSourceCode, newSquare, newStringArray, newStringMatrix, newText, newTriangle, nextStep, nextStep, nextStep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int INITIAL_STEPBUFFER_SIZE
public static int INITIAL_OUTPUTBUFFER_SIZE
public static int INITIAL_GENBUFFER_SIZE
public static int INITIAL_ERRORBUFFER_SIZE
public static final java.lang.String DIRECTION_NW
public static final java.lang.String DIRECTION_N
public static final java.lang.String DIRECTION_NE
public static final java.lang.String DIRECTION_W
public static final java.lang.String DIRECTION_C
public static final java.lang.String DIRECTION_E
public static final java.lang.String DIRECTION_SW
public static final java.lang.String DIRECTION_S
public static final java.lang.String DIRECTION_SE
public static final java.lang.String DIRECTION_BASELINE_START
public static final java.lang.String DIRECTION_BASELINE_END
public static final java.lang.String COLORCHANGE_COLOR
public static final java.lang.String COLORCHANGE_FILLCOLOR
public static final java.lang.String COLORCHANGE_TEXTCOLOR
public static final java.lang.String COLORCHANGE_COLORSETTING
| Constructor Detail |
|---|
public AnimalScript(java.lang.String title,
java.lang.String author,
int x,
int y)
title - the title of this AnimalScript. may be null.author - the autor of this AnimalScript. may be null.x - the width of the animation window.y - the height of the animation window.| Method Detail |
|---|
public void addLine(java.lang.StringBuilder line)
addLine in class Languageline - the line of AnimalScript code added, must NOT end with a newline.public void addLabel(java.lang.String label)
label - The labelpublic void addError(java.lang.StringBuilder error)
Language
addError in class Languageerror - the line to add.#addError(java.lang.StringBuilder)public java.lang.String getErrorOutput()
public void addItem(Primitive p)
Primitive to the internal database, which is
used to control that dupes are produced.
addItem in class Languagep - the Primitive to add.public void writeFile(java.lang.String fileName)
writeFile in class LanguagefileName - the name of the file to write to.public java.lang.String toString()
toString in class java.lang.Objectpublic void setStepMode(boolean mode)
setStepMode in class Languagemode - whether to enable step mode or not.Language.nextStep()public int getStep()
LanguagenextStep().
getStep in class Language
public void nextStep(int delay,
java.lang.String label)
nextStep in class Languagedelay - the delay in ms to wait before the next step starts. Use
-1 to specify that the next step will not start
automatically.label - the label associated with the current step (may be null). If a
label is given, it may be used as an anchor for navigating to the
step.Language.setStepMode(boolean)public void resetAnimation()
public boolean isNameUsed(java.lang.String name)
Language
isNameUsed in class Languagename - the name to check.
#isNameUsed(java.lang.String)public java.util.Vector<java.lang.String> validDirections()
Language
validDirections in class LanguageLanguage.validDirections()public boolean isValidDirection(java.lang.String direction)
Language
isValidDirection in class Languagedirection - the String to check.
#isValidDirection(java.lang.String)
public Arc newArc(Node center,
Node radius,
java.lang.String name,
DisplayOptions display,
ArcProperties ep)
newArc in class Languagecenter - the center of the Arc.radius - the radius of the Arc.name - [optional] an arbitrary name which uniquely identifies this
Arc. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.ep - [optional] user-defined properties to apply to this
Arc. If you don't want any user-defined properties to
be set, then set this parameter to "null", default properties will
be applied in that case.
#newArc(
algoanim.util.Node, algoanim.util.Node,
java.lang.String, algoanim.util.DisplayOptions,
algoanim.properties.ArcProperties)
public Circle newCircle(Node center,
int radius,
java.lang.String name,
DisplayOptions display,
CircleProperties cp)
LanguageCircle object.
newCircle in class Languagecenter - the center of the Circle.radius - the radius of the Circle.name - [optional] an arbitrary name which uniquely identifies this
Circle. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.cp - [optional] user-defined properties to apply to this
Circle. If you don't want any user-defined properties
to be set, then set this parameter to "null", default properties
will be applied in that case.
Circle.#newCircle(
algoanim.util.Node, int, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.CircleProperties)
public CircleSeg newCircleSeg(Node center,
int radius,
java.lang.String name,
DisplayOptions display,
CircleSegProperties cp)
LanguageCircleSeg object.
newCircleSeg in class Languagecenter - the center of the CircleSeg.radius - the radius of this CircleSeg.name - [optional] an arbitrary name which uniquely identifies this
CircleSeg. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.cp - [optional] user-defined properties to apply to this
CircleSeg. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
CircleSeg.#newCircleSeg(
algoanim.util.Node, int, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.CircleSegProperties)
public Ellipse newEllipse(Node center,
Node radius,
java.lang.String name,
DisplayOptions display,
EllipseProperties ep)
LanguageEllipse object.
newEllipse in class Languagecenter - the center of the Ellipse.radius - the radius of the Ellipse.name - [optional] an arbitrary name which uniquely identifies this
Ellipse. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.ep - [optional] user-defined properties to apply to this
Ellipse. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
Ellipse.#newEllipse(algoanim.util.Node, algoanim.util.Node,
java.lang.String, algoanim.util.DisplayOptions,
algoanim.properties.EllipseProperties)
public EllipseSeg newEllipseSeg(Node center,
Node radius,
java.lang.String name,
DisplayOptions display,
EllipseSegProperties cp)
LanguageEllipseSeg object.
newEllipseSeg in class Languagecenter - the center of the EllipseSeg.radius - the radius of this EllipseSeg.name - [optional] an arbitrary name which uniquely identifies this
EllipseSeg. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.cp - [optional] user-defined properties to apply to this
EllipseSeg. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
CircleSeg.
public IntArray newIntArray(Node upperLeft,
int[] data,
java.lang.String name,
ArrayDisplayOptions display,
ArrayProperties iap)
LanguageIntArray object.
newIntArray in class LanguageupperLeft - the upper left coordinates of the IntArray.data - the initial data of the IntArray.name - [optional] an arbitrary name which uniquely identifies this
IntArray. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.iap - [optional] user-defined properties to apply to this
IntArray. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
IntArray.Language.newIntArray(
algoanim.util.Node, int[], java.lang.String,
algoanim.util.ArrayDisplayOptions)
public IntMatrix newIntMatrix(Node upperLeft,
int[][] data,
java.lang.String name,
DisplayOptions display,
MatrixProperties iap)
LanguageIntMatrix object.
newIntMatrix in class LanguageupperLeft - the upper left coordinates of the IntMatrix.data - the initial data of the IntMatrix.name - [optional] an arbitrary name which uniquely identifies this
IntMatrix. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.iap - [optional] user-defined properties to apply to this
IntMatrix. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
IntArray.Language.newIntMatrix(
algoanim.util.Node, int[][], java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.MatrixProperties)
public DoubleMatrix newDoubleMatrix(Node upperLeft,
double[][] data,
java.lang.String name,
DisplayOptions display,
MatrixProperties iap)
LanguageDoubleMatrix object.
newDoubleMatrix in class LanguageupperLeft - the upper left coordinates of the DoubleMatrix.data - the initial data of the DoubleMatrix.name - [optional] an arbitrary name which uniquely identifies this
DoubleMatrix. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.iap - [optional] user-defined properties to apply to this
DoubleMatrix. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
DoubleMatrix.Language.newDoubleMatrix(
algoanim.util.Node, double[][], java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.MatrixProperties)
public ListElement newListElement(Node upperLeft,
int pointers,
java.util.LinkedList<java.lang.Object> pointerLocations,
ListElement prev,
ListElement next,
java.lang.String name,
DisplayOptions display,
ListElementProperties lp)
LanguageListElement object.
newListElement in class LanguageupperLeft - the upper left coordinates of the ListElement.pointers - the number of pointers between 0 and 255.name - [optional] an arbitrary name which uniquely identifies this
ListElement. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.lp - [optional] user-defined properties to apply to this
ListElement. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
ListElement.#newListElement(
algoanim.util.Node, int, java.util.LinkedList,
algoanim.primitives.ListElement, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.ListElementProperties)
public Point newPoint(Node coords,
java.lang.String name,
DisplayOptions display,
PointProperties pp)
LanguagePoint object.
newPoint in class Languagecoords - the Points coordinates.name - [optional] an arbitrary name which uniquely identifies this
Point. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.pp - [optional] user-defined properties to apply to this
Point. If you don't want any user-defined properties
to be set, then set this parameter to "null", default properties
will be applied in that case.
Point#newPoint(
algoanim.util.Node, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.PointProperties)
public Polygon newPolygon(Node[] vertices,
java.lang.String name,
DisplayOptions display,
PolygonProperties pp)
throws NotEnoughNodesException
LanguagePolygon object.
newPolygon in class Languagevertices - the vertices of this Polygon.name - [optional] an arbitrary name which uniquely identifies this
Polygon. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.pp - [optional] user-defined properties to apply to this
Polygon. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
Polygon.
NotEnoughNodesException - Thrown if vertices contains less than 2 nodes.#newPolygon(
algoanim.util.Node[], java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.PolygonProperties)
public Rect newRect(Node upperLeft,
Node lowerRight,
java.lang.String name,
DisplayOptions display,
RectProperties rp)
LanguageRect object.
newRect in class LanguageupperLeft - the coordinates of the upper left corner of this Rect
.lowerRight - the coordinates of the lower right corner of this
Rect.name - [optional] an arbitrary name which uniquely identifies this
Rect. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.rp - [optional] user-defined properties to apply to this
Rect. If you don't want any user-defined properties
to be set, then set this parameter to "null", default properties
will be applied in that case.
Rect.#newRect(
algoanim.util.Node, algoanim.util.Node,
java.lang.String, algoanim.util.DisplayOptions,
algoanim.properties.RectProperties)
public SourceCode newSourceCode(Node upperLeft,
java.lang.String name,
DisplayOptions display,
SourceCodeProperties sp)
LanguageSourceCode object.
newSourceCode in class LanguageupperLeft - the upper left coordinates of this SourceCode.name - [optional] an arbitrary name which uniquely identifies this
SourceCode. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.sp - [optional] user-defined properties to apply to this
SourceCode. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
SourceCode.#newSourceCode(
algoanim.util.Node, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.SourceCodeProperties)
public Square newSquare(Node upperLeft,
int width,
java.lang.String name,
DisplayOptions display,
SquareProperties sp)
LanguageSquare.
newSquare in class LanguageupperLeft - the coordinates of the upper left corner the Square.width - the length of the edges of the Square.name - [optional] an arbitrary name which uniquely identifies this
Square. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.sp - [optional] user-defined properties to apply to this
Square. If you don't want any user-defined properties
to be set, then set this parameter to "null", default properties
will be applied in that case.
Square.#newSquare(
algoanim.util.Node, int, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.SquareProperties)
public StringArray newStringArray(Node upperLeft,
java.lang.String[] data,
java.lang.String name,
ArrayDisplayOptions display,
ArrayProperties sap)
LanguageStringArray object.
newStringArray in class LanguageupperLeft - the upper left coordinates of the StringArray.data - the initial data of the StringArray.name - [optional] an arbitrary name which uniquely identifies this
StringArray. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.sap - [optional] user-defined properties to apply to this
StringArray. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
StringArray.Language.newStringArray(
algoanim.util.Node, java.lang.String[], java.lang.String,
algoanim.util.ArrayDisplayOptions)
public StringMatrix newStringMatrix(Node upperLeft,
java.lang.String[][] data,
java.lang.String name,
DisplayOptions display,
MatrixProperties iap)
LanguageStringMatrix object.
newStringMatrix in class LanguageupperLeft - the upper left coordinates of the StringMatrix.data - the initial data of the StringMatrix.name - [optional] an arbitrary name which uniquely identifies this
StringMatrix. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.iap - [optional] user-defined properties to apply to this
StringMatrix. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
StringMatrix.Language.newStringMatrix(
algoanim.util.Node, String[][], java.lang.String,
algoanim.util.DisplayOptions)
public Text newText(Node upperLeft,
java.lang.String text,
java.lang.String name,
DisplayOptions display,
TextProperties tp)
LanguageText object.
newText in class LanguageupperLeft - the upper left coordinates of the Texttext - the content of the Text elementname - [optional] an arbitrary name which uniquely identifies this
Text. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.tp - [optional] user-defined properties to apply to this
Text. If you don't want any user-defined properties
to be set, then set this parameter to "null", default properties
will be applied in that case.
Text.#newText(
algoanim.util.Node, java.lang.String, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.TextProperties)
public Triangle newTriangle(Node x,
Node y,
Node z,
java.lang.String name,
DisplayOptions display,
TriangleProperties tp)
LanguageTriangle object.
newTriangle in class Languagex - the coordinates of the first node of the Triangle.y - the coordinates of the second node of the Triangle.z - the coordinates of the third node of the Triangle.name - [optional] an arbitrary name which uniquely identifies this
Triangle. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.tp - [optional] user-defined properties to apply to this
Triangle. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
Triangle.#newTriangle(
algoanim.util.Node, algoanim.util.Node,
algoanim.util.Node, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.TriangleProperties)public Variables newVariables()
LanguageVariables object.
newVariables in class LanguageVariables#newVariables()
public ArrayMarker newArrayMarker(ArrayPrimitive a,
int index,
java.lang.String name,
DisplayOptions display,
ArrayMarkerProperties ap)
LanguageArrayMarker object.
newArrayMarker in class Languagea - the array which this ArrayMarker belongs to.index - the current index at which this ArrayMarker is
located.name - [optional] an arbitrary name which uniquely identifies this
ArrayMarker. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.ap - [optional] user-defined properties to apply to this
ArrayMarker. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
ArrayMarker.#newArrayMarker(
algoanim.primitives.ArrayPrimitive, int, java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.ArrayMarkerProperties)
public Group newGroup(java.util.LinkedList<Primitive> primitives,
java.lang.String name)
LanguageGroup with a list of contained
Primitives and a distinct name.
newGroup in class Languageprimitives - the contained Primitives.name - the name of this Group.
Group nobject.#newGroup(java.util.LinkedList, java.lang.String)
public Polyline newPolyline(Node[] vertices,
java.lang.String name,
DisplayOptions display,
PolylineProperties pp)
LanguagePolyline object.
newPolyline in class Languagevertices - the vertices of this Polyline.name - [optional] an arbitrary name which uniquely identifies this
Polyline. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.pp - [optional] user-defined properties to apply to this
Polyline. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
Polyline.#newPolyline(
algoanim.util.Node[], java.lang.String,
algoanim.util.DisplayOptions,
algoanim.properties.PolylineProperties)
public Graph newGraph(java.lang.String name,
int[][] graphAdjacencyMatrix,
Node[] graphNodes,
java.lang.String[] labels,
DisplayOptions display,
GraphProperties graphProps)
LanguageEllipse object.
newGraph in class Languagename - [optional] an arbitrary name which uniquely identifies this
Ellipse. If you don't want to set this, set this
parameter to "null". The name is then created automatically.graphAdjacencyMatrix - the graph's adjacency matrixgraphNodes - the nodes of the graphlabels - the labels of the graph's nodesdisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.graphProps - [optional] user-defined properties to apply to this
Graph. If you don't want any user-defined properties
to be set, then set this parameter to "null", default properties
will be applied in that case.
Graph.#newGraph(
java.lang.String, int[][], algoanim.util.Node[],
java.lang.String[],
algoanim.util.DisplayOptions,
algoanim.properties.GraphProperties)
public <T> ConceptualStack<T> newConceptualStack(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
StackProperties sp)
LanguageConceptualStack object.
newConceptualStack in class LanguageupperLeft - the upper left coordinates of the ConceptualStack.content - the initial content of the ConceptualStack,
consisting of the elements of the generic type T. If the initial
ConceptualStack has no elements, content
can be null or an empty List.name - [optional] an arbitrary name which uniquely identifies this
ConceptualStack. If you don't want to set this, set
this parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.sp - [optional] user-defined properties to apply to this
ConceptualStack. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
ConceptualStack.Language.newConceptualStack(
algoanim.util.Node, java.util.List, java.lang.String,
algoanim.util.DisplayOptions, algoanim.properties.StackProperties)
public <T> ArrayBasedStack<T> newArrayBasedStack(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
StackProperties sp,
int capacity)
LanguageArrayBasedStack object.
newArrayBasedStack in class LanguageupperLeft - the upper left coordinates of the ArrayBasedStack.content - the initial content of the ConceptualStack,
consisting of the elements of the generic type T. If the initial
ArrayBasedStack has no elements, content
can be null or an empty List.name - [optional] an arbitrary name which uniquely identifies this
ArrayBasedStack. If you don't want to set this, set
this parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.sp - [optional] user-defined properties to apply to this
ArrayBasedStack. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.capacity - the capacity limit of this ArrayBasedStack; must be
nonnegative.
ArrayBasedStack.Language.newArrayBasedStack(
algoanim.util.Node, java.util.List, java.lang.String,
algoanim.util.DisplayOptions, algoanim.properties.StackProperties,
int)
public <T> ListBasedStack<T> newListBasedStack(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
StackProperties sp)
LanguageListBasedStack object.
newListBasedStack in class LanguageupperLeft - the upper left coordinates of the ListBasedStack.content - the initial content of the ConceptualStack,
consisting of the elements of the generic type T. If the initial
ListBasedStack has no elements, content
can be null or an empty List.name - [optional] an arbitrary name which uniquely identifies this
ListBasedStack. If you don't want to set this, set
this parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.sp - [optional] user-defined properties to apply to this
ListBasedStack. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
ListBasedStack.Language.newListBasedStack(
algoanim.util.Node, java.util.List, java.lang.String,
algoanim.util.DisplayOptions, algoanim.properties.StackProperties)
public <T> ConceptualQueue<T> newConceptualQueue(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
QueueProperties qp)
LanguageConceptualQueue object.
newConceptualQueue in class LanguageupperLeft - the upper left coordinates of the ConceptualQueue.content - the initial content of the ConceptualQueue,
consisting of the elements of the generic type T. If the initial
ConceptualQueue has no elements, content
can be null or an empty List.name - [optional] an arbitrary name which uniquely identifies this
ConceptualQueue. If you don't want to set this, set
this parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.qp - [optional] user-defined properties to apply to this
ConceptualQueue. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
ConceptualQueue.Language.newConceptualQueue(
algoanim.util.Node, java.util.List, java.lang.String,
algoanim.util.DisplayOptions, algoanim.properties.QueueProperties)
public <T> ArrayBasedQueue<T> newArrayBasedQueue(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
QueueProperties qp,
int capacity)
LanguageArrayBasedQueue object.
newArrayBasedQueue in class LanguageupperLeft - the upper left coordinates of the ArrayBasedQueue.content - the initial content of the ConceptualQueue,
consisting of the elements of the generic type T. If the initial
ArrayBasedQueue has no elements, content
can be null or an empty List.name - [optional] an arbitrary name which uniquely identifies this
ArrayBasedQueue. If you don't want to set this, set
this parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.qp - [optional] user-defined properties to apply to this
ArrayBasedQueue. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.capacity - the capacity limit of this ArrayBasedQueue; must be
nonnegative.
ArrayBasedQueue.Language.newArrayBasedQueue(
algoanim.util.Node, java.util.List, java.lang.String,
algoanim.util.DisplayOptions, algoanim.properties.QueueProperties,
int)
public <T> ListBasedQueue<T> newListBasedQueue(Node upperLeft,
java.util.List<T> content,
java.lang.String name,
DisplayOptions display,
QueueProperties qp)
LanguageListBasedQueue object.
newListBasedQueue in class LanguageupperLeft - the upper left coordinates of the ListBasedQueue.content - the initial content of the ConceptualQueue,
consisting of the elements of the generic type T. If the initial
ListBasedQueue has no elements, content
can be null or an empty List.name - [optional] an arbitrary name which uniquely identifies this
ListBasedQueue. If you don't want to set this, set
this parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.qp - [optional] user-defined properties to apply to this
ListBasedQueue. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
ListBasedQueue.Language.newListBasedQueue(
algoanim.util.Node, java.util.List, java.lang.String,
algoanim.util.DisplayOptions, algoanim.properties.QueueProperties)public void addDocumentationLink(DocumentationLink docuLink)
addDocumentationLink in class Languagepublic void addTFQuestion(TrueFalseQuestion tfQuestion)
addTFQuestion in class Languagepublic void addFIBQuestion(FillInBlanksQuestion fibQuestion)
addFIBQuestion in class Languagepublic void addMCQuestion(MultipleChoiceQuestion mcQuestion)
addMCQuestion in class Languagepublic void addMSQuestion(MultipleSelectionQuestion msQuestion)
addMSQuestion in class Languagepublic void addQuestionGroup(GroupInfo group)
addQuestionGroup in class Languagepublic void finalizeGeneration()
Language
finalizeGeneration in class Languagepublic java.lang.String getAnimationCode()
Language
getAnimationCode in class Languagepublic void setInteractionType(int interactionTypeCode)
setInteractionType in class Language
public void setInteractionType(int interactionTypeCode,
java.lang.String key)
public DoubleArray newDoubleArray(Node upperLeft,
double[] data,
java.lang.String name,
ArrayDisplayOptions display,
ArrayProperties iap)
LanguageDoubleArray object.
newDoubleArray in class LanguageupperLeft - the upper left coordinates of the DoubleArray.data - the initial data of the DoubleArray.name - [optional] an arbitrary name which uniquely identifies this
DoubleArray. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.iap - [optional] user-defined properties to apply to this
IntArray. If you don't want any user-defined
properties to be set, then set this parameter to "null", default
properties will be applied in that case.
IntArray.
public AndGate newAndGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageAndGate object.
newAndGate in class VHDLLanguageupperLeft - the upper left coordinates of the AndGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
AndGate.
public NAndGate newNAndGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageNAndGate object.
newNAndGate in class VHDLLanguageupperLeft - the upper left coordinates of the NAndGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
NAndGate.
public NorGate newNorGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageNorGate object.
newNorGate in class VHDLLanguageupperLeft - the upper left coordinates of the NorGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
NorGate.
public NotGate newNotGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageNotGate object.
newNotGate in class VHDLLanguageupperLeft - the upper left coordinates of the NotGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
NotGate.
public OrGate newOrGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageOrGate object.
newOrGate in class VHDLLanguageupperLeft - the upper left coordinates of the OrGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
OrGate.
public XNorGate newXNorGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageXNorGate object.
newXNorGate in class VHDLLanguageupperLeft - the upper left coordinates of the XNorGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
AndGate.
public XOrGate newXOrGate(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageXOrGate object.
newXOrGate in class VHDLLanguageupperLeft - the upper left coordinates of the XOrGatewidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
XOrGate.
public DFlipflop newDFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageDFlipflop object.
newDFlipflop in class VHDLLanguageupperLeft - the upper left coordinates of the DFlipflopwidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
DFlipflop.
public JKFlipflop newJKFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageJKFlipflop object.
newJKFlipflop in class VHDLLanguageupperLeft - the upper left coordinates of the JKFlipflopwidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
JKFlipflop.
public RSFlipflop newRSFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageRSFlipflop object.
newRSFlipflop in class VHDLLanguageupperLeft - the upper left coordinates of the RSFlipflopwidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
RSFlipflop.
public TFlipflop newTFlipflop(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageTFlipflop object.
newTFlipflop in class VHDLLanguageupperLeft - the upper left coordinates of the TFlipflopwidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
TFlipflop.
public Demultiplexer newDemultiplexer(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageDemultiplexer object.
newDemultiplexer in class VHDLLanguageupperLeft - the upper left coordinates of the Demultiplexerwidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
Demultiplexer.
public Multiplexer newMultiplexer(Node upperLeft,
int width,
int height,
java.lang.String name,
java.util.List<VHDLPin> pins,
DisplayOptions display,
VHDLElementProperties properties)
VHDLLanguageMultiplexer object.
newMultiplexer in class VHDLLanguageupperLeft - the upper left coordinates of the Multiplexerwidth - the width of the gate elementheight - the height of the gate elementname - [optional] an arbitrary name which uniquely identifies this
element. If you don't want to set this, set this
parameter to "null". The name is then created automatically.pins - the pins used for this gatedisplay - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.properties - the graphical properties of this element
Multiplexer.
public VHDLWire newWire(java.util.List<Node> nodes,
int speed,
java.lang.String name,
DisplayOptions display,
VHDLWireProperties properties)
VHDLLanguagewire object.
newWire in class VHDLLanguagenodes - the nodes of this wirespeed - the display speed of this wire elementname - [optional] an arbitrary name which uniquely identifies this
Multiplexer. If you don't want to set this, set this
parameter to "null". The name is then created automatically.display - [optional] a subclass of DisplayOptions which
describes additional display options like a hidden flag or
timings.
Multiplexer.public void hideAllPrimitives()
hideAllPrimitives in class Languagepublic void hideAllPrimitivesExcept(Primitive keepThisOne)
hideAllPrimitivesExcept in class Languagepublic void hideAllPrimitivesExcept(java.util.List<Primitive> keepThese)
hideAllPrimitivesExcept in class Language
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||