A B C D E F G I J L M N O P Q R S T U V W X Y 
All Classes All Packages

A

Abs - Class in picasso.parser.language.expressions
Represents the absolute value function in the Picasso language.
Abs(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Abs
Create a absolute value expression tree that takes as a parameter the given expression
AbsAnalyzer - Class in picasso.parser
Handles parsing the Absolute Value function
AbsAnalyzer() - Constructor for class picasso.parser.AbsAnalyzer
 
AbsToken - Class in picasso.parser.tokens.functions
Represents the absolute value function token
AbsToken() - Constructor for class picasso.parser.tokens.functions.AbsToken
 
add(String) - Static method in class picasso.view.commands.ExpressionHistory
 
add(String, Command<Pixmap>) - Method in class picasso.view.ButtonPanel
Add the given Command as a button with the given button text.
add(NamedCommand<Pixmap>) - Method in class picasso.view.ButtonPanel
Add the given Command as a button.
ADD_OR_SUBTRACT - Static variable in class picasso.parser.tokens.Token
 
Addition - Class in picasso.parser.language.expressions
Represents the + operator in the Picasso language.
Addition(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Addition
Create an Addition expression tree that takes as a parameter the given expression
addSemanticAnalyzerMapping(String, String) - Method in class picasso.parser.SemanticAnalyzer
Adds the mapping between the Token class and the SemanticAnalyzer class
APOSTROPHE - Static variable in class picasso.parser.language.CharConstants
 
Assignment - Class in picasso.parser.language.expressions
Represents assignment in the Picasso language.
Assignment(StringVariable, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Assignment
 
AssignmentAnalyzer - Class in picasso.parser
Handles parsing the assignment operator "=".
AssignmentAnalyzer() - Constructor for class picasso.parser.AssignmentAnalyzer
 
AssignmentToken - Class in picasso.parser.tokens.operations
Represents an '=' used for assignment in the Picasso programming language
AssignmentToken() - Constructor for class picasso.parser.tokens.operations.AssignmentToken
 
Atan - Class in picasso.parser.language.expressions
Represents the arctangent function in the Picasso language.
Atan(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Atan
Create an arctangent expression tree that takes as a parameter the given expression
AtanAnalyzer - Class in picasso.parser
Handles parsing the arctangent function
AtanAnalyzer() - Constructor for class picasso.parser.AtanAnalyzer
 
AtanToken - Class in picasso.parser.tokens.functions
Represents the arctangent function token
AtanToken() - Constructor for class picasso.parser.tokens.functions.AtanToken
 

B

BACK_SLASH - Static variable in class picasso.parser.language.CharConstants
 
BANG - Static variable in class picasso.parser.language.CharConstants
 
BinaryFunction - Class in picasso.parser.language.expressions
Represents a function that takes two arguments.
BinaryFunction(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.BinaryFunction
 
BuiltinFunctionsReader - Class in picasso.parser.language
Handles reading the available built-in functions from a file.
BuiltinFunctionsReader() - Constructor for class picasso.parser.language.BuiltinFunctionsReader
 
ButtonPanel - Class in picasso.view
The collection of commands represented as buttons that apply to the active image.
ButtonPanel(Canvas) - Constructor for class picasso.view.ButtonPanel
Create panel that will update the given picasso.view.

C

canvas - Variable in class picasso.view.commands.EvaluateParent
 
Canvas - Class in picasso.view
The canvas on which to present the image.
Canvas(JFrame) - Constructor for class picasso.view.Canvas
 
Canvas(JFrame, String) - Constructor for class picasso.view.Canvas
 
capitalize(String) - Static method in class picasso.parser.tokens.TokenFactory
Capitalizes the first letter in the string
CARET - Static variable in class picasso.parser.language.CharConstants
 
Ceil - Class in picasso.parser.language.expressions
Represents the ceiling function in the Picasso language.
Ceil(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Ceil
Create a ceiling expression tree that takes as a parameter the given expression
CeilAnalyzer - Class in picasso.parser
Handles parsing the ceiling function.
CeilAnalyzer() - Constructor for class picasso.parser.CeilAnalyzer
 
CeilToken - Class in picasso.parser.tokens.functions
Represents the ceiling function token
CeilToken() - Constructor for class picasso.parser.tokens.functions.CeilToken
 
CharConstants - Class in picasso.parser.language
Symbolic names for character constants
CharConstants() - Constructor for class picasso.parser.language.CharConstants
 
CharToken - Class in picasso.parser.tokens.chars
A token represented by a single character, e.g., '*', ';', '[' and so on; the method equals compares a CharToken as equal to another CharToken encapsulating the same character.
CharToken(int) - Constructor for class picasso.parser.tokens.chars.CharToken
Represents the given single-character token
CharTokenFactory - Class in picasso.parser.tokens
Factory for generating CharToken objects ensuring that only one of any specific CharToken object is created (enforcing CharToken singleton-ness per char value)
CharTokenFactory() - Constructor for class picasso.parser.tokens.CharTokenFactory
 
clamp() - Method in class picasso.parser.language.expressions.RGBColor
Clamps the color components between COLOR_MIN and COLOR_MAX
clamp(double) - Static method in class picasso.parser.language.expressions.RGBColor
Clamps the value to between COLOR_MIN and COLOR_MAX
Clamp - Class in picasso.parser.language.expressions
Represents the clamp function in the Picasso language.
Clamp(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Clamp
Create a clamp expression tree that takes as a parameter the given expression
ClampAnalyzer - Class in picasso.parser
Handles parsing the clamp function
ClampAnalyzer() - Constructor for class picasso.parser.ClampAnalyzer
 
ClampToken - Class in picasso.parser.tokens.functions
Represents the clamp function token
ClampToken() - Constructor for class picasso.parser.tokens.functions.ClampToken
 
COLOR_MAX - Static variable in class picasso.parser.language.expressions.RGBColor
 
COLOR_MIN - Static variable in class picasso.parser.language.expressions.RGBColor
 
ColorAnalyzer - Class in picasso.parser
SemanticAnalyzer for an RGB Color
ColorAnalyzer() - Constructor for class picasso.parser.ColorAnalyzer
 
ColorToken - Class in picasso.parser.tokens
Represents a color (using double values).
ColorToken(double, double, double) - Constructor for class picasso.parser.tokens.ColorToken
Constructs a token representing the value
COMMA - Static variable in class picasso.parser.language.CharConstants
 
Command<T> - Interface in picasso.util
An abstract command class that operates on some target object.
CommaToken - Class in picasso.parser.tokens.chars
Represents a comma in the Picasso programming language
CommaToken() - Constructor for class picasso.parser.tokens.chars.CommaToken
 
Constant - Class in picasso.parser.language.expressions
Represents a constant in the Picasso language.
Constant(double) - Constructor for class picasso.parser.language.expressions.Constant
Creates a new Constant object that represents the given value
CONSTANT - Static variable in class picasso.parser.tokens.Token
 
ConstantAnalyzer - Class in picasso.parser
Analyzer for a constant, must be between [-1, 1]
ConstantAnalyzer() - Constructor for class picasso.parser.ConstantAnalyzer
 
contains(String) - Static method in class picasso.parser.language.expressions.VariableStore
 
Cos - Class in picasso.parser.language.expressions
Represents the cosine function in the Picasso language.
Cos(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Cos
Create a cosine expression tree that takes as a parameter the given expression
CosAnalyzer - Class in picasso.parser
Handles parsing the cosine function
CosAnalyzer() - Constructor for class picasso.parser.CosAnalyzer
 
CosToken - Class in picasso.parser.tokens.functions
Represents the cosine function token
CosToken() - Constructor for class picasso.parser.tokens.functions.CosToken
 

D

DEFAULT_COLOR - Static variable in class picasso.model.Pixmap
 
DEFAULT_NAME - Static variable in class picasso.model.Pixmap
 
DEFAULT_SIZE - Static variable in class picasso.model.Pixmap
 
Division - Class in picasso.parser.language.expressions
Represents the / operator in the Picasso language.
Division(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Division
Create a Multiplication expression tree that takes as a parameter the given expression
DivisionAnalyzer - Class in picasso.parser
Handles parsing the slash or "division operator".
DivisionAnalyzer() - Constructor for class picasso.parser.DivisionAnalyzer
 
DivisionToken - Class in picasso.parser.tokens.operations
Represents the division sign token
DivisionToken() - Constructor for class picasso.parser.tokens.operations.DivisionToken
 
DOLLAR - Static variable in class picasso.parser.language.CharConstants
 
DOMAIN_MAX - Static variable in class picasso.view.commands.EvaluateParent
 
DOMAIN_MAX - Static variable in class picasso.view.commands.OpenFileEvaluator
 
DOMAIN_MIN - Static variable in class picasso.view.commands.EvaluateParent
 
DOMAIN_MIN - Static variable in class picasso.view.commands.OpenFileEvaluator
 

E

EOFToken - Class in picasso.parser.tokens
This represents an end-of-file token.
EQUAL - Static variable in class picasso.parser.language.CharConstants
 
equals(Object) - Method in class picasso.parser.language.expressions.BinaryFunction
Checks if the left and right child objects are equal.
equals(Object) - Method in class picasso.parser.language.expressions.Constant
Determines if two Constants are equivalent (represent the same value.)
equals(Object) - Method in class picasso.parser.language.expressions.Negate
Compares two unary functions for equality
equals(Object) - Method in class picasso.parser.language.expressions.RGBColor
 
equals(Object) - Method in class picasso.parser.language.expressions.UnaryFunction
Compares two unary functions for equality
equals(Object) - Method in class picasso.parser.language.expressions.X
 
equals(Object) - Method in class picasso.parser.language.expressions.Y
 
equals(Object) - Method in class picasso.parser.tokens.chars.CharToken
 
equals(Object) - Method in class picasso.parser.tokens.ColorToken
 
equals(Object) - Method in class picasso.parser.tokens.EOFToken
 
equals(Object) - Method in class picasso.parser.tokens.functions.FunctionToken
Compares two unary function tokens for equality
equals(Object) - Method in class picasso.parser.tokens.IdentifierToken
 
equals(Object) - Method in class picasso.parser.tokens.NumberToken
 
equals(Object) - Method in class picasso.parser.tokens.StringToken
Checks StringToken equals another object.
ERROR_TOLERANCE - Static variable in class picasso.parser.language.expressions.RGBColor
for testing
EvaluatableExpression - Interface in picasso.parser.language
Classes that implement this interface can be evaluated for the image.
evaluate(double, double) - Method in interface picasso.parser.language.EvaluatableExpression
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Addition
Evaluates this expression at the given x,y point by evaluating the addition of the left and right values.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Assignment
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.BinaryFunction
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Constant
The constant is like an RGB Color with the constant as each component.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Division
Evaluates this expression at the given x,y point by evaluating the multiplication of the left and right values.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Exponent
Evaluates this expression at the given x,y point by evaluating the exponent of the left and right values.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Image
Finds the color at the given x,y point
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageClip
Evaluates this expression at the given x,y point
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageWrap
Evaluates this expression at the given x,y point
evaluate(double, double) - Method in class picasso.parser.language.expressions.Modular
Evaluates this expression at the given x,y point by evaluating the mod of the left and right values.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Multiplication
Evaluates this expression at the given x,y point by evaluating the multiplication of the left and right values.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Negate
Evaluates this expression at the given value on the RGB values
evaluate(double, double) - Method in class picasso.parser.language.expressions.PerlinBW
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.PerlinColor
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Random
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.RGBColor
Returns this color
evaluate(double, double) - Method in class picasso.parser.language.expressions.RGBToYCrCb
Evaluates this expression at the given value on the RGB values Special version of method specifically to handle unique variations of YCrCb
evaluate(double, double) - Method in class picasso.parser.language.expressions.StringVariable
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Subtraction
Evaluates this expression at the given x,y point by evaluating the subtraction of the left minus the right value.
evaluate(double, double) - Method in class picasso.parser.language.expressions.UnaryFunction
Evaluates this expression at the given value on the RGB values
evaluate(double, double) - Method in class picasso.parser.language.expressions.Variable
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.X
Returns the color represented by x.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Y
Returns the color represented by y.
evaluate(double, double) - Method in class picasso.parser.language.expressions.YCrCbToRGB
Evaluates this expression at the given value on the YUV values Special version of method specifically to handle unique variations of YCrCb
evaluate(double, double) - Method in class picasso.parser.language.ExpressionTreeNode
Evaluate this expression, given x and y
evaluate(ExpressionTreeNode) - Method in class picasso.model.Pixmap
 
EvaluateParent - Class in picasso.view.commands
Interface for various types of evaluators to implement
EvaluateParent(JTextField, JLabel, Canvas) - Constructor for class picasso.view.commands.EvaluateParent
 
evaluator - Variable in class picasso.view.Frame
 
evaluator(double) - Method in class picasso.parser.language.expressions.Abs
Evaluates the absolute value of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.Atan
Evaluates the arctangent of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.Ceil
Evaluates the ceiling of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.Clamp
Evaluates the clamping of a function's parameter Clamps any given constant to [-1, 1]
evaluator(double) - Method in class picasso.parser.language.expressions.Cos
Evaluates the cosine of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.Exp
Evaluates the function's parameter to the e power
evaluator(double) - Method in class picasso.parser.language.expressions.Floor
Evaluates the floor of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.Log
Evaluates the natural logarithm of the function's parameter Takes the natural logarithm of the absolute value of the function's parameter Inputs of 0 return negative infinity
evaluator(double) - Method in class picasso.parser.language.expressions.Negate
 
evaluator(double) - Method in class picasso.parser.language.expressions.RGBToYCrCb
Unable to use method because function varies for each RGB value Is not called
evaluator(double) - Method in class picasso.parser.language.expressions.Sin
Evaluates the sine of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.Tan
Evaluates the tangent of the function's parameter
evaluator(double) - Method in class picasso.parser.language.expressions.UnaryFunction
Abstract method implementing the unary function
evaluator(double) - Method in class picasso.parser.language.expressions.Wrap
Evaluates the wrapping of a function's parameter Performs wrapping for any given constant around [-1, 1] Integer inputs of the type 2n-1 for n <= 0 return -1 Integer inputs of the type 2n+1 for n >= 0 return 1
evaluator(double) - Method in class picasso.parser.language.expressions.YCrCbToRGB
Unable to use method because return function varies for each RGB value Is not called
execute(Pixmap) - Method in class picasso.view.commands.EvaluateParent
Implementation varies slightly based on evaluator
execute(Pixmap) - Method in class picasso.view.commands.ExpressionEvaluator
Evaluate an expression for each point in the image
execute(Pixmap) - Method in class picasso.view.commands.ExpressionHistory
Displays user's history in a popup box.
execute(Pixmap) - Method in class picasso.view.commands.OpenFileCommand
 
execute(Pixmap) - Method in class picasso.view.commands.OpenFileEvaluator
Evaluate an expression for each point in the image.
execute(Pixmap) - Method in class picasso.view.commands.RandomEvaluator
Evaluate an expression for each point in the image.
execute(Pixmap) - Method in class picasso.view.commands.Reader
Displays the image file on the given target.
execute(Pixmap) - Method in class picasso.view.commands.StringToImageEvaluator
 
execute(Pixmap) - Method in class picasso.view.commands.Writer
 
execute(Pixmap, ExpressionTreeNode) - Method in class picasso.view.commands.OpenFileEvaluator
 
execute(T) - Method in interface picasso.util.Command
Implementations determine how to update the given target object
execute(T) - Method in class picasso.util.NamedCommand
Run the given command.
execute(T) - Method in class picasso.util.ThreadedCommand
Run the command on the target or cancel it if is already running.
Exp - Class in picasso.parser.language.expressions
Represents the exponential function in the Picasso language.
Exp(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Exp
Create an exponential expression tree that takes as a parameter the given expression
ExpAnalyzer - Class in picasso.parser
Handles parsing the exponential function
ExpAnalyzer() - Constructor for class picasso.parser.ExpAnalyzer
 
Exponent - Class in picasso.parser.language.expressions
Represents the ^ operator in the Picasso language.
Exponent(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Exponent
Create a Exponent expression tree that takes as a parameter the given expression
EXPONENT - Static variable in class picasso.parser.tokens.Token
 
ExponentAnalyzer - Class in picasso.parser
Handles parsing the caret or "exponent operator".
ExponentAnalyzer() - Constructor for class picasso.parser.ExponentAnalyzer
 
ExponentToken - Class in picasso.parser.tokens.operations
Represents the exponent sign token
ExponentToken() - Constructor for class picasso.parser.tokens.operations.ExponentToken
 
ExpressionEvaluator - Class in picasso.view.commands
Evaluate an expression for each pixel in a image.
ExpressionEvaluator(JTextField, JLabel, Canvas) - Constructor for class picasso.view.commands.ExpressionEvaluator
 
ExpressionHistory - Class in picasso.view.commands
Keeps a history of expressions, allows you to reevaluate your history
ExpressionHistory(JTextField, EvaluateParent) - Constructor for class picasso.view.commands.ExpressionHistory
 
ExpressionTreeGenerator - Class in picasso.parser
Parses a string into an expression tree based on rules for arithmetic.
ExpressionTreeGenerator() - Constructor for class picasso.parser.ExpressionTreeGenerator
 
ExpressionTreeNode - Class in picasso.parser.language
All elements of the language (e.g., that make up ExpressionTree) should extend ExpressionTreeNode.
ExpressionTreeNode() - Constructor for class picasso.parser.language.ExpressionTreeNode
 
ExpToken - Class in picasso.parser.tokens.functions
Represents the exponential function token
ExpToken() - Constructor for class picasso.parser.tokens.functions.ExpToken
 

F

FileCommand<T> - Class in picasso.util
An abstract command that allows access to the file system through a JFileChooser dialog box.
FileCommand(int) - Constructor for class picasso.util.FileCommand
Create command that will pop-up the given type of JFileChooser dialog
Floor - Class in picasso.parser.language.expressions
Represents the floor function in the Picasso language.
Floor(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Floor
Create a floor expression tree that takes as a parameter the given expression
FloorAnalyzer - Class in picasso.parser
Handles parsing the floor function.
FloorAnalyzer() - Constructor for class picasso.parser.FloorAnalyzer
 
FloorToken - Class in picasso.parser.tokens.functions
Represents the floor function token
FloorToken() - Constructor for class picasso.parser.tokens.functions.FloorToken
 
Frame - Class in picasso.view
Main container for the Picasso application
Frame(Dimension) - Constructor for class picasso.view.Frame
 
FunctionToken - Class in picasso.parser.tokens.functions
Parent class for Tokens that represent functions.
FunctionToken(String) - Constructor for class picasso.parser.tokens.functions.FunctionToken
 

G

gelementsToValue - Static variable in class picasso.parser.language.ExpressionTreeNode
 
generateExpression() - Method in class picasso.parser.language.expressions.StringToImage
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.AssignmentAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ColorAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ConstantAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.DivisionAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ExponentAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.IdentifierAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ImageClipAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ImageWrapAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.MinusAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ModularAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.MultiplicationAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.NegateAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.PerlinBWAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.PerlinColorAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.PlusAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.RandomAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.SemanticAnalyzer
From a stack of tokens in postfix order, creates an expression tree
generateExpressionTree(Stack<Token>) - Method in interface picasso.parser.SemanticAnalyzerInterface
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.StringAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.UnaryFunctionAnalyzer
Parses a stack of tokens into an expression tree
get(String) - Static method in class picasso.parser.language.expressions.VariableStore
 
getBlue() - Method in class picasso.parser.language.expressions.RGBColor
Returns the amount of blue, between COLOR_MIN and COLOR_MAX
getBlue() - Method in class picasso.parser.tokens.ColorToken
 
getColor(int, int) - Method in class picasso.model.Pixmap
Returns the color of the pixel at the given (x,y) coordinate if the coordinate is within the bounds of the image; otherwise returns the default color
getFileName() - Method in class picasso.util.FileCommand
Pops up the appropriate file dialog box.
getFunctionsList() - Static method in class picasso.parser.language.BuiltinFunctionsReader
Get the list of built-in function names
getGreen() - Method in class picasso.parser.language.expressions.RGBColor
Returns the amount of green, between COLOR_MIN and COLOR_MAX
getGreen() - Method in class picasso.parser.tokens.ColorToken
 
getHistory() - Static method in class picasso.view.commands.ExpressionHistory
 
getInstance() - Static method in class picasso.parser.ConstantAnalyzer
 
getInstance() - Static method in class picasso.parser.SemanticAnalyzer
Make sure that there is only one semantic analyzer for the application.
getInstance() - Static method in class picasso.parser.tokens.EOFToken
 
getMessage() - Method in class picasso.view.commands.EvaluateParent
Gets the error message
getName() - Method in class picasso.model.Pixmap
Returns the name of the image
getName() - Method in class picasso.parser.language.expressions.StringVariable
 
getName() - Method in class picasso.parser.language.expressions.Variable
 
getName() - Method in class picasso.parser.tokens.IdentifierToken
Returns the identifier's name
getName() - Method in class picasso.parser.tokens.StringToken
Returns the string name of this token.
getName() - Method in class picasso.util.NamedCommand
Returns name of this command.
getOperator() - Method in class picasso.parser.language.expressions.Addition
 
getOperator() - Method in class picasso.parser.language.expressions.BinaryFunction
 
getOperator() - Method in class picasso.parser.language.expressions.Division
 
getOperator() - Method in class picasso.parser.language.expressions.Exponent
 
getOperator() - Method in class picasso.parser.language.expressions.Modular
 
getOperator() - Method in class picasso.parser.language.expressions.Multiplication
 
getOperator() - Method in class picasso.parser.language.expressions.Negate
 
getOperator() - Method in class picasso.parser.language.expressions.Subtraction
 
getPixmap() - Method in class picasso.view.Canvas
 
getPrecedence() - Method in class picasso.parser.tokens.chars.LeftParenToken
 
getPrecedence() - Method in class picasso.parser.tokens.chars.RightParenToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.AssignmentToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.DivisionToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.ExponentToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.MinusToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.ModularToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.MultiplicationToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.NegateToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.PlusToken
 
getPrecedence() - Method in class picasso.parser.tokens.Token
 
getRed() - Method in class picasso.parser.language.expressions.RGBColor
Returns the amount of red, between COLOR_MIN and COLOR_MAX
getRed() - Method in class picasso.parser.tokens.ColorToken
 
getSemanticParser() - Method in class picasso.parser.Tokenizer
 
getSize() - Method in class picasso.model.Pixmap
 
getToken() - Method in class picasso.parser.Tokenizer
 
getToken(int) - Static method in class picasso.parser.tokens.CharTokenFactory
 
getValue() - Method in class picasso.parser.language.expressions.Constant
Returns the value of the constant
GROUPING - Static variable in class picasso.parser.tokens.Token
 

I

IdentifierAnalyzer - Class in picasso.parser
Handle an identifier token
IdentifierAnalyzer() - Constructor for class picasso.parser.IdentifierAnalyzer
 
IdentifierToken - Class in picasso.parser.tokens
Represents an identifier (a variable name)
IdentifierToken(String) - Constructor for class picasso.parser.tokens.IdentifierToken
 
Image - Class in picasso.parser.language.expressions
Represents the Image function in the Picasso language
Image(String) - Constructor for class picasso.parser.language.expressions.Image
Create an image expression tree that takes as a parameter the image
ImageClip - Class in picasso.parser.language.expressions
Represents the ImageClip function in the Picasso language
ImageClip(Image, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ImageClip
Create a clip expression tree that takes as a parameter the given expression
ImageClipAnalyzer - Class in picasso.parser
Handles parsing the ImageWrap function
ImageClipAnalyzer() - Constructor for class picasso.parser.ImageClipAnalyzer
 
ImageClipToken - Class in picasso.parser.tokens.functions
Represents the imageClip function token
ImageClipToken() - Constructor for class picasso.parser.tokens.functions.ImageClipToken
 
imageToDomainScale(int, int) - Method in class picasso.view.commands.EvaluateParent
Convert from image space to domain space
imageToDomainScale(int, int) - Method in class picasso.view.commands.OpenFileEvaluator
Convert from image space to domain space.
ImageWrap - Class in picasso.parser.language.expressions
Represents the ImageWrap function in the Picasso language
ImageWrap(Image, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ImageWrap
Create a wrap expression tree that takes as a parameter the given expression
ImageWrapAnalyzer - Class in picasso.parser
Handles parsing the ImageWrap function
ImageWrapAnalyzer() - Constructor for class picasso.parser.ImageWrapAnalyzer
 
ImageWrapToken - Class in picasso.parser.tokens.functions
Represents the imageWrap function token
ImageWrapToken() - Constructor for class picasso.parser.tokens.functions.ImageWrapToken
 
infixToPostfix(String) - Method in class picasso.parser.ExpressionTreeGenerator
This method converts the String infix expression to a Stack of tokens, which are in postfix.
input - Variable in class picasso.view.commands.EvaluateParent
 
isConstant() - Method in class picasso.parser.tokens.chars.CharToken
 
isConstant() - Method in class picasso.parser.tokens.ColorToken
 
isConstant() - Method in class picasso.parser.tokens.EOFToken
 
isConstant() - Method in class picasso.parser.tokens.functions.FunctionToken
 
isConstant() - Method in class picasso.parser.tokens.IdentifierToken
 
isConstant() - Method in class picasso.parser.tokens.NumberToken
 
isConstant() - Method in class picasso.parser.tokens.StringToken
Indicates whether this token represents a constant value.
isConstant() - Method in class picasso.parser.tokens.Token
Returns true if this token represents a constant, false otherwise
isFunction() - Method in class picasso.parser.tokens.chars.CharToken
 
isFunction() - Method in class picasso.parser.tokens.ColorToken
 
isFunction() - Method in class picasso.parser.tokens.EOFToken
 
isFunction() - Method in class picasso.parser.tokens.functions.FunctionToken
 
isFunction() - Method in class picasso.parser.tokens.IdentifierToken
 
isFunction() - Method in class picasso.parser.tokens.NumberToken
 
isFunction() - Method in class picasso.parser.tokens.StringToken
Indicates whether this token represents a function.
isFunction() - Method in class picasso.parser.tokens.Token
Returns true if this token represents a function, false otherwise
isInBounds(int, int) - Method in class picasso.model.Pixmap
Determine if the given (x,y) coordinate is within the bounds of this image.
isRightAssociative() - Method in class picasso.parser.tokens.operations.AssignmentToken
 
isRightAssociative() - Method in class picasso.parser.tokens.operations.ExponentToken
 
isRightAssociative() - Method in class picasso.parser.tokens.operations.NegateToken
 
isRightAssociative() - Method in class picasso.parser.tokens.Token
 
isValidValue(double) - Static method in class picasso.parser.tokens.ColorToken
 

J

JAVA_COLOR_MAX - Static variable in class picasso.parser.language.expressions.RGBColor
 

L

left - Variable in class picasso.parser.language.expressions.BinaryFunction
 
LEFT_BRACKET - Static variable in class picasso.parser.language.CharConstants
 
LEFT_PAREN - Static variable in class picasso.parser.language.CharConstants
 
LeftBracketToken - Class in picasso.parser.tokens.chars
Represents a left bracket in the Picasso programming language
LeftBracketToken() - Constructor for class picasso.parser.tokens.chars.LeftBracketToken
 
LeftParenToken - Class in picasso.parser.tokens.chars
Represents a left parenthesis in the Picasso programming language
LeftParenToken() - Constructor for class picasso.parser.tokens.chars.LeftParenToken
 
Log - Class in picasso.parser.language.expressions
Represents the natural logarithm function in the Picasso language.
Log(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Log
Create a natural logarithm expression tree that takes as a parameter the given expression
LogAnalyzer - Class in picasso.parser
Handles parsing the natural logarithm function
LogAnalyzer() - Constructor for class picasso.parser.LogAnalyzer
 
LogToken - Class in picasso.parser.tokens.functions
Represents the natural logarithm function token
LogToken() - Constructor for class picasso.parser.tokens.functions.LogToken
 

M

main(String[]) - Static method in class picasso.Main
 
Main - Class in picasso
Starting point for Picasso.
Main() - Constructor for class picasso.Main
 
makeExpression(String) - Method in class picasso.parser.ExpressionTreeGenerator
Converts the given string into expression tree for easier manipulation.
match(Token) - Method in class picasso.parser.Tokenizer
Try to match a token.
message - Variable in class picasso.view.commands.EvaluateParent
 
message - Static variable in class picasso.view.Frame
 
MINUS - Static variable in class picasso.parser.language.CharConstants
 
MinusAnalyzer - Class in picasso.parser
Handles parsing the plus or "addition function".
MinusAnalyzer() - Constructor for class picasso.parser.MinusAnalyzer
 
MinusToken - Class in picasso.parser.tokens.operations
Represents the minus sign token
MinusToken() - Constructor for class picasso.parser.tokens.operations.MinusToken
 
MOD - Static variable in class picasso.parser.language.CharConstants
 
Modular - Class in picasso.parser.language.expressions
Represents the % operator in the Picasso language.
Modular(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Modular
Create a Modular expression tree that takes as a parameter the given expression
ModularAnalyzer - Class in picasso.parser
Handles parsing the percent or "modular operator".
ModularAnalyzer() - Constructor for class picasso.parser.ModularAnalyzer
 
ModularToken - Class in picasso.parser.tokens.operations
Represents the mod sign token
ModularToken() - Constructor for class picasso.parser.tokens.operations.ModularToken
 
Multiplication - Class in picasso.parser.language.expressions
Represents the * operator in the Picasso language.
Multiplication(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Multiplication
Create a Multiplication expression tree that takes as a parameter the given expression
MultiplicationAnalyzer - Class in picasso.parser
Handles parsing the times or "multiplication function".
MultiplicationAnalyzer() - Constructor for class picasso.parser.MultiplicationAnalyzer
 
MultiplicationToken - Class in picasso.parser.tokens.operations
Represents the multiplication sign token
MultiplicationToken() - Constructor for class picasso.parser.tokens.operations.MultiplicationToken
 
MULTIPLY_OR_DIVIDE - Static variable in class picasso.parser.tokens.Token
 

N

NamedCommand<T> - Class in picasso.util
A command with a name (e.g., to display on a button)
NamedCommand(String, Command<T>) - Constructor for class picasso.util.NamedCommand
Create command with a name and an action.
Negate - Class in picasso.parser.language.expressions
Represents the negation function in the Picasso language.
Negate(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Negate
Create an negation expression tree that takes as a parameter the given expression
NegateAnalyzer - Class in picasso.parser
Handles parsing the bang or "negation operator".
NegateAnalyzer() - Constructor for class picasso.parser.NegateAnalyzer
 
NegateToken - Class in picasso.parser.tokens.operations
Represents the negation sign token
NegateToken() - Constructor for class picasso.parser.tokens.operations.NegateToken
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.AbsAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.AtanAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.CeilAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.ClampAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.CosAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.ExpAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.FloorAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.LogAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.RgbToYCrCbAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.SinAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.TanAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.UnaryFunctionAnalyzer
Creates an expression tree node of the unary function with the given child
newTree(ExpressionTreeNode) - Method in class picasso.parser.WrapAnalyzer
 
newTree(ExpressionTreeNode) - Method in class picasso.parser.YCrCbToRGBAnalyzer
 
nextToken() - Method in class picasso.parser.Tokenizer
get the next token and store it for retrieval by getToken()
noise(double, double) - Method in class picasso.parser.language.PerlinNoise
 
NumberToken - Class in picasso.parser.tokens
Represents a number (using double values).
NumberToken(double) - Constructor for class picasso.parser.tokens.NumberToken
Constructs a token representing value

O

OpenFileCommand - Class in picasso.view.commands
A command that opens a file that contains an expression and evaluates/displays the image generated from that expression.
OpenFileCommand(Canvas, JTextField) - Constructor for class picasso.view.commands.OpenFileCommand
 
OpenFileEvaluator - Class in picasso.view.commands
Evaluate an expression for each pixel in a image.
OpenFileEvaluator(JTextField, JLabel) - Constructor for class picasso.view.commands.OpenFileEvaluator
 
OperationInterface - Interface in picasso.parser.tokens.operations
A marker interface

P

paint(Graphics) - Method in class picasso.model.Pixmap
 
paintComponent(Graphics) - Method in class picasso.view.Canvas
 
parse(StreamTokenizer) - Static method in class picasso.parser.tokens.TokenFactory
 
ParseException - Exception in picasso.parser
Describe an exception that occurred during parsing.
ParseException(String) - Constructor for exception picasso.parser.ParseException
 
parseTokens(String) - Method in class picasso.parser.Tokenizer
Parses the given string into a list of Picasso tokens (in order)
PERIOD - Static variable in class picasso.parser.language.CharConstants
 
PerlinBW - Class in picasso.parser.language.expressions
Represents the PerlinBW function in the Picasso language.
PerlinBW(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.PerlinBW
 
PerlinBWAnalyzer - Class in picasso.parser
Handles parsing the PerlinBW function
PerlinBWAnalyzer() - Constructor for class picasso.parser.PerlinBWAnalyzer
 
PerlinBWToken - Class in picasso.parser.tokens.functions
Represents the PerlinBW function token
PerlinBWToken() - Constructor for class picasso.parser.tokens.functions.PerlinBWToken
 
PerlinColor - Class in picasso.parser.language.expressions
Represents the PerlinColor function in the Picasso language.
PerlinColor(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.PerlinColor
 
PerlinColorAnalyzer - Class in picasso.parser
Handles parsing the PerlinColor function
PerlinColorAnalyzer() - Constructor for class picasso.parser.PerlinColorAnalyzer
 
PerlinColorToken - Class in picasso.parser.tokens.functions
Represents the PerlinColor function token
PerlinColorToken() - Constructor for class picasso.parser.tokens.functions.PerlinColorToken
 
PerlinNoise - Class in picasso.parser.language
This class generates Perlin Noise to be used by the PerlinBW and PerlinColor functions.
PerlinNoise() - Constructor for class picasso.parser.language.PerlinNoise
 
picasso - package picasso
 
picasso.model - package picasso.model
 
picasso.parser - package picasso.parser
 
picasso.parser.language - package picasso.parser.language
 
picasso.parser.language.expressions - package picasso.parser.language.expressions
 
picasso.parser.tokens - package picasso.parser.tokens
 
picasso.parser.tokens.chars - package picasso.parser.tokens.chars
 
picasso.parser.tokens.functions - package picasso.parser.tokens.functions
 
picasso.parser.tokens.operations - package picasso.parser.tokens.operations
 
picasso.util - package picasso.util
 
picasso.view - package picasso.view
 
picasso.view.commands - package picasso.view.commands
 
PIXELS_PER_FRAME - Static variable in class picasso.view.Frame
 
pixelsRevealed - Variable in class picasso.view.Canvas
 
Pixmap - Class in picasso.model
Class for manipulating graphics images, originally developed in C++.
Pixmap() - Constructor for class picasso.model.Pixmap
Create a default pixmap (300x300 black)
Pixmap(int, int) - Constructor for class picasso.model.Pixmap
Create a black pixmap with given width and height
Pixmap(int, int, Color) - Constructor for class picasso.model.Pixmap
Create a pixmap with given width and height and filled with given initial color
Pixmap(Dimension) - Constructor for class picasso.model.Pixmap
Create a black pixmap with given size
Pixmap(String) - Constructor for class picasso.model.Pixmap
Create a pixmap from the given local file
Pixmap(Pixmap) - Constructor for class picasso.model.Pixmap
Create this image as a copy of the given image
PLUS - Static variable in class picasso.parser.language.CharConstants
 
PlusAnalyzer - Class in picasso.parser
Handles parsing the plus or "addition function".
PlusAnalyzer() - Constructor for class picasso.parser.PlusAnalyzer
 
PlusToken - Class in picasso.parser.tokens.operations
Represents the plus sign token
PlusToken() - Constructor for class picasso.parser.tokens.operations.PlusToken
 

Q

QUESTION - Static variable in class picasso.parser.language.CharConstants
 
QUOTE - Static variable in class picasso.parser.language.CharConstants
 
QuoteToken - Class in picasso.parser.tokens.chars
Represents a quote in the Picasso programming language
QuoteToken() - Constructor for class picasso.parser.tokens.chars.QuoteToken
 

R

Random - Class in picasso.parser.language.expressions
Represents the random function in the Picasso language.
Random() - Constructor for class picasso.parser.language.expressions.Random
 
RandomAnalyzer - Class in picasso.parser
Class that parses the random function
RandomAnalyzer() - Constructor for class picasso.parser.RandomAnalyzer
 
randomEvaluator - Variable in class picasso.view.Frame
 
RandomEvaluator - Class in picasso.view.commands
Evaluate a random expression for each pixel in a image.
RandomEvaluator(JTextField, JLabel, Canvas) - Constructor for class picasso.view.commands.RandomEvaluator
 
RandomFunction - Class in picasso.parser.language.expressions
The random function class which generates random expressions.
RandomFunction() - Constructor for class picasso.parser.language.expressions.RandomFunction
 
randomFunctionGenerator() - Method in class picasso.parser.language.expressions.RandomFunction
 
RandomToken - Class in picasso.parser.tokens.functions
Represents the random function token
RandomToken() - Constructor for class picasso.parser.tokens.functions.RandomToken
 
read(String) - Method in class picasso.model.Pixmap
Read the image named by fileName
Reader - Class in picasso.view.commands
Open the chosen image file and display in the Pixmap target.
Reader() - Constructor for class picasso.view.commands.Reader
Creates a Reader object, which prompts users for image files to open
refresh() - Method in class picasso.view.Canvas
 
RGBColor - Class in picasso.parser.language.expressions
Special color class for Picasso.
RGBColor(double, double, double) - Constructor for class picasso.parser.language.expressions.RGBColor
Create an RGBColor object that has the given amount of red, green, and blue.
RGBColor(Color) - Constructor for class picasso.parser.language.expressions.RGBColor
Copy a Java Color object into a Picasso RGBColor object
RGBToYCrCb - Class in picasso.parser.language.expressions
Turns RGB values into YCrCb values and displays in the RGB color space
RGBToYCrCb(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.RGBToYCrCb
Create a YCrCb expression tree that takes as a parameter the given expression
RgbToYCrCbAnalyzer - Class in picasso.parser
Handles parsing the RGB to YCrCb function
RgbToYCrCbAnalyzer() - Constructor for class picasso.parser.RgbToYCrCbAnalyzer
 
RgbToYCrCbToken - Class in picasso.parser.tokens.functions
Represents the RGB to YCrCb function token
RgbToYCrCbToken() - Constructor for class picasso.parser.tokens.functions.RgbToYCrCbToken
 
right - Variable in class picasso.parser.language.expressions.BinaryFunction
 
RIGHT_BRACKET - Static variable in class picasso.parser.language.CharConstants
 
RIGHT_PAREN - Static variable in class picasso.parser.language.CharConstants
 
RightBracketToken - Class in picasso.parser.tokens.chars
Represents a right bracket in the Picasso programming language
RightBracketToken() - Constructor for class picasso.parser.tokens.chars.RightBracketToken
 
RightParenToken - Class in picasso.parser.tokens.chars
Represents a right parenthesis in the Picasso programming language
RightParenToken() - Constructor for class picasso.parser.tokens.chars.RightParenToken
 

S

SemanticAnalyzer - Class in picasso.parser
SemanticAnalyzer calls appropriate SemanticAnalyzer for the given token
SemanticAnalyzerInterface - Interface in picasso.parser
The interface that all Semantic Analyzers must implement
set(String, ExpressionTreeNode) - Static method in class picasso.parser.language.expressions.VariableStore
 
setColor(int, int, Color) - Method in class picasso.model.Pixmap
 
setCurrToken(Token) - Method in class picasso.parser.Tokenizer
 
setSize(int, int) - Method in class picasso.model.Pixmap
Changes the size of the image to the given width and height
setSize(Dimension) - Method in class picasso.model.Pixmap
 
setSize(Dimension) - Method in class picasso.view.Canvas
 
Sin - Class in picasso.parser.language.expressions
Represents the sine function in the Picasso language.
Sin(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Sin
Create a sine expression tree that takes as a parameter the given expression
SinAnalyzer - Class in picasso.parser
Handles parsing the sine function.
SinAnalyzer() - Constructor for class picasso.parser.SinAnalyzer
 
SinToken - Class in picasso.parser.tokens.functions
Represents the sine function token
SinToken() - Constructor for class picasso.parser.tokens.functions.SinToken
 
SIZE - Static variable in class picasso.Main
 
SLASH - Static variable in class picasso.parser.language.CharConstants
 
STAR - Static variable in class picasso.parser.language.CharConstants
 
StringAnalyzer - Class in picasso.parser
Handles parsing the string function
StringAnalyzer() - Constructor for class picasso.parser.StringAnalyzer
 
stringEvaluator - Variable in class picasso.view.Frame
 
StringToImage - Class in picasso.parser.language.expressions
This class generates expressions based on a string.
StringToImage(String) - Constructor for class picasso.parser.language.expressions.StringToImage
 
StringToImageEvaluator - Class in picasso.view.commands
Evaluate a seeded random expression for each pixel in an image.
StringToImageEvaluator(JTextField, JLabel, Canvas) - Constructor for class picasso.view.commands.StringToImageEvaluator
 
StringToken - Class in picasso.parser.tokens
Represents a string (an image file)
StringToken(String) - Constructor for class picasso.parser.tokens.StringToken
Constructs a new StringToken with the given value
StringVariable - Class in picasso.parser.language.expressions
Represents a string variable used for assignment in the Picasso language.
StringVariable(String) - Constructor for class picasso.parser.language.expressions.StringVariable
 
Subtraction - Class in picasso.parser.language.expressions
Represents the - operator in the Picasso language.
Subtraction(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Subtraction
Create an Addition expression tree that takes as a parameter the given expression

T

Tan - Class in picasso.parser.language.expressions
Represents the tangent function in the Picasso language.
Tan(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Tan
Create a tangent expression tree that takes as a parameter the given expression
TanAnalyzer - Class in picasso.parser
Handles parsing the tangent function
TanAnalyzer() - Constructor for class picasso.parser.TanAnalyzer
 
TanToken - Class in picasso.parser.tokens.functions
Represents the tangent function token
TanToken() - Constructor for class picasso.parser.tokens.functions.TanToken
 
thePixmap - Variable in class picasso.view.Canvas
the pixel map of the internal image
ThreadedCommand<T> - Class in picasso.util
Execute a long running command in a separate thread and display the results in a component while the command is running.
ThreadedCommand(JComponent, Command<T>) - Constructor for class picasso.util.ThreadedCommand
Create a command that runs the given command and updates the given view over time.
TILDE - Static variable in class picasso.parser.language.CharConstants
 
toDouble(int) - Static method in class picasso.parser.language.expressions.RGBColor
Convert the Java color's component value (from [0,255]) to the [-1,1] range needed for Picasso
toInt(double) - Static method in class picasso.parser.language.expressions.RGBColor
Convert the Picasso color's component value (from [-1,1] to the Java color's component (from [0,255])
toJavaColor() - Method in class picasso.parser.language.expressions.RGBColor
Converts to Java's Color class
Token - Class in picasso.parser.tokens
Represents tokens in the Picasso programming language
Token(String) - Constructor for class picasso.parser.tokens.Token
Creates a token with the given description
TokenFactory - Class in picasso.parser.tokens
Looks at a generic token and creates the appropriate token type
TokenFactory() - Constructor for class picasso.parser.tokens.TokenFactory
 
Tokenizer - Class in picasso.parser
A tokenizer for the Picasso language.
Tokenizer() - Constructor for class picasso.parser.Tokenizer
 
toString() - Method in class picasso.parser.language.expressions.BinaryFunction
Returns the string representation of the operator in the format " "
toString() - Method in class picasso.parser.language.expressions.Constant
Returns the constant as a string formatted as ""
toString() - Method in class picasso.parser.language.expressions.Negate
 
toString() - Method in class picasso.parser.language.expressions.PerlinBW
 
toString() - Method in class picasso.parser.language.expressions.PerlinColor
 
toString() - Method in class picasso.parser.language.expressions.Random
 
toString() - Method in class picasso.parser.language.expressions.RGBColor
Returns the RGBColor as a String in the form "Color: <red> <green> <blue>"
toString() - Method in class picasso.parser.language.expressions.UnaryFunction
Returns the string representation of the function in the format ": "
toString() - Method in class picasso.parser.language.expressions.X
Returns "x", the representation of this variable in Picasso expressions
toString() - Method in class picasso.parser.language.expressions.Y
Returns "y", the representation of this variable in Picasso expressions
toString() - Method in class picasso.parser.tokens.chars.CharToken
 
toString() - Method in class picasso.parser.tokens.ColorToken
 
toString() - Method in class picasso.parser.tokens.IdentifierToken
 
toString() - Method in class picasso.parser.tokens.NumberToken
 
toString() - Method in class picasso.parser.tokens.StringToken
Returns a string representation of this token
toString() - Method in class picasso.parser.tokens.Token
Represents the token by its description

U

UNARY - Static variable in class picasso.parser.tokens.Token
 
UnaryFunction - Class in picasso.parser.language.expressions
Represents a function that takes one argument.
UnaryFunction(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.UnaryFunction
 
UnaryFunctionAnalyzer - Class in picasso.parser
Abstract class that parses a function that takes one expression as a parameter.
UnaryFunctionAnalyzer() - Constructor for class picasso.parser.UnaryFunctionAnalyzer
 
UNDER_SCORE - Static variable in class picasso.parser.language.CharConstants
 

V

value() - Method in class picasso.parser.tokens.chars.CharToken
 
value() - Method in class picasso.parser.tokens.NumberToken
 
Variable - Class in picasso.parser.language.expressions
Represents a variable
Variable(String) - Constructor for class picasso.parser.language.expressions.Variable
 
VariableStore - Class in picasso.parser.language.expressions
Saves variables to be referenced later in the Picasso language.
VariableStore() - Constructor for class picasso.parser.language.expressions.VariableStore
 

W

Wrap - Class in picasso.parser.language.expressions
Represents the wrap function in the Picasso language
Wrap(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Wrap
Create a wrap expression tree that takes as a parameter the given expression
WrapAnalyzer - Class in picasso.parser
Handles parsing the wrap function
WrapAnalyzer() - Constructor for class picasso.parser.WrapAnalyzer
 
WrapToken - Class in picasso.parser.tokens.functions
Represents the wrap function token
WrapToken() - Constructor for class picasso.parser.tokens.functions.WrapToken
 
write(String) - Method in class picasso.model.Pixmap
Write the current image to a file as a jpg.
Writer - Class in picasso.view.commands
Save the chosen file.
Writer() - Constructor for class picasso.view.commands.Writer
 

X

X - Class in picasso.parser.language.expressions
Represents x in a Picasso expression
X() - Constructor for class picasso.parser.language.expressions.X
 

Y

Y - Class in picasso.parser.language.expressions
Represents y in a Picasso expression
Y() - Constructor for class picasso.parser.language.expressions.Y
 
YCrCbToRGB - Class in picasso.parser.language.expressions
Turns YCrCb values (as RGB values) into RGB values
YCrCbToRGB(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.YCrCbToRGB
Create an RGB expression tree that takes as a parameter the given expression
YCrCbToRGBAnalyzer - Class in picasso.parser
Handles parsing the YCrCb to RGB function
YCrCbToRGBAnalyzer() - Constructor for class picasso.parser.YCrCbToRGBAnalyzer
 
YCrCbToRGBToken - Class in picasso.parser.tokens.functions
Represents the YCrCb to RGB function token
YCrCbToRGBToken() - Constructor for class picasso.parser.tokens.functions.YCrCbToRGBToken
 
A B C D E F G I J L M N O P Q R S T U V W X Y 
All Classes All Packages