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

A

AbsAnalyzer - Class in picasso.parser
 
AbsAnalyzer() - Constructor for class picasso.parser.AbsAnalyzer
 
AbsoluteValue - Class in picasso.parser.language.expressions
 
AbsoluteValue(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.AbsoluteValue
Create an absolute value expression tree that takes the given expression as a parameter
AbsToken - Class in picasso.parser.tokens.functions
Represents the absolute value function token
AbsToken() - Constructor for class picasso.parser.tokens.functions.AbsToken
 
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.
addToHistory(String, ComboItem) - Method in class picasso.view.commands.History
Adds an expression to history box and history set if it does not exist
APOSTROPHE - Static variable in class picasso.parser.language.CharConstants
 
ArcTangent - Class in picasso.parser.language.expressions
Represents the atan function in the Picasso language.
ArcTangent(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ArcTangent
Create a atan expression tree that takes as a parameter the given expression
Assignment - Class in picasso.parser.language.expressions
 
Assignment(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Assignment
 
AssignmentAnalyzer - Class in picasso.parser
 
AssignmentAnalyzer() - Constructor for class picasso.parser.AssignmentAnalyzer
 
AssignmentToken - Class in picasso.parser.tokens.operations
 
AssignmentToken() - Constructor for class picasso.parser.tokens.operations.AssignmentToken
 
AtanAnalyzer - Class in picasso.parser
Handles parsing the atan function.
AtanAnalyzer() - Constructor for class picasso.parser.AtanAnalyzer
 
AtanToken - Class in picasso.parser.tokens.functions
Represents the atan 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
 
BinaryOperator - Class in picasso.parser.language.expressions
Represents a function that takes two arguments.
BinaryOperator(ExpressionTreeNode, ExpressionTreeNode, String) - Constructor for class picasso.parser.language.expressions.BinaryOperator
 
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.Frame
 
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 floor 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.Clamp
Helper method to clamp values around [-1, 1]
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 around [-1, 1] in the Picasso language.
Clamp(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Clamp
Create a wrap 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
ComboItem - Class in picasso.view
 
ComboItem(String) - Constructor for class picasso.view.ComboItem
 
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
ConstantAnalyzer - Class in picasso.parser
Analyzer for a constant, must be between [-1, 1]
ConstantAnalyzer() - Constructor for class picasso.parser.ConstantAnalyzer
 
COS - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
CosAnalyzer - Class in picasso.parser
Handles parsing the cosine function.
CosAnalyzer() - Constructor for class picasso.parser.CosAnalyzer
 
Cosine - Class in picasso.parser.language.expressions
Represents the cosine function in the Picasso language.
Cosine(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Cosine
Create a cosine expression tree that takes as a parameter the given expression
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
 
Divide - Class in picasso.parser.language.expressions
 
Divide(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Divide
Create a division expression tree that takes in
DIVIDE - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
DivideAnalyzer - Class in picasso.parser
 
DivideAnalyzer() - Constructor for class picasso.parser.DivideAnalyzer
 
DivideToken - Class in picasso.parser.tokens.operations
Represents the division symbol token
DivideToken() - Constructor for class picasso.parser.tokens.operations.DivideToken
 
DOLLAR - Static variable in class picasso.parser.language.CharConstants
 
DOMAIN_MAX - Static variable in class picasso.view.commands.Evaluator
 
DOMAIN_MIN - Static variable in class picasso.view.commands.Evaluator
 

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.BinaryOperator
 
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.MultiFunction
Compares two MultiFunction objects based on their parameters
equals(Object) - Method in class picasso.parser.language.expressions.RGBColor
 
equals(Object) - Method in class picasso.parser.language.expressions.StringInput
 
equals(Object) - Method in class picasso.parser.language.expressions.UnaryFunction
 
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
 
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.StringInputToken
 
EqualsToken - Class in picasso.parser.tokens.chars
Represents the equals sign in the Picasso programming language
EqualsToken() - Constructor for class picasso.parser.tokens.chars.EqualsToken
 
ERROR_TOLERANCE - Static variable in class picasso.parser.language.expressions.RGBColor
for testing
ErrorFrame - Class in picasso.view
 
ErrorFrame(String, Frame) - Constructor for class picasso.view.ErrorFrame
 
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.AbsoluteValue
Evaluates this expression at the given x,y point by evaluating the absolute value of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.ArcTangent
Evaluates this expression at the given x,y point by evaluating the atan of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Assignment
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Ceil
Evaluates this expression at the given x,y point by evaluating the ceiling of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Clamp
Evaluates this expression at the given x,y point by evaluating the wrapping of the function's parameter around [-1, 1]
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.Cosine
Evaluates this expression at the given x,y point by evaluating the cosine of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Divide
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Exponential
Evaluates this expression at the given x,y point by evaluating the exp of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Exponentiate
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Floor
Evaluates this expression at the given x,y point by evaluating the floor of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Identifier
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageClip
Evaluates this expression at the given x,y point by evaluating the clamping of the given expressions and applying them to the image
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageWrap
Evaluates this expression at the given x,y point by evaluating the wrapping of the given expressions and applying them to the image
evaluate(double, double) - Method in class picasso.parser.language.expressions.Log
Evaluates this expression at the given x,y point by evaluating the log of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Mod
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Multiply
Evaluates this expression at the given x,y point by evaluating the multiplication of the function's parameters.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Plus
Evaluates this expression at the given x,y point by evaluating the addition of the subtrees of the function.
evaluate(double, double) - Method in class picasso.parser.language.expressions.RGBColor
Returns this color
evaluate(double, double) - Method in class picasso.parser.language.expressions.Sine
Evaluates this expression at the given x,y point by evaluating the sin of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.StringInput
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Subtraction
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Tangent
Evaluates this expression at the given x,y point by evaluating the tan of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Wrap
Evaluates this expression at the given x,y point by evaluating the wrapping of the function's parameter around [-1, 1]
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.ExpressionTreeNode
Evaluate this expression, given x and y
evaluate(RGBColor, RGBColor) - Method in enum picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
evaluateExpression(String) - Method in class picasso.view.TextField
Helper method to evaluate user expression
evaluator - Variable in class picasso.view.Frame
 
Evaluator - Class in picasso.view.commands
Evaluate an expression for each pixel in a image.
Evaluator() - Constructor for class picasso.view.commands.Evaluator
 
execute(Pixmap) - Method in class picasso.view.commands.Evaluator
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.Writer
 
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.
ExpAnalyzer - Class in picasso.parser
Handles parsing the exp function.
ExpAnalyzer() - Constructor for class picasso.parser.ExpAnalyzer
 
Exponential - Class in picasso.parser.language.expressions
Represents the exp function in the Picasso language.
Exponential(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Exponential
Create a exp expression tree that takes as a parameter the given expression
Exponentiate - Class in picasso.parser.language.expressions
 
Exponentiate(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Exponentiate
Create a exponentiate expression tree that takes in
EXPONENTIATE - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
ExponentiateAnalyzer - Class in picasso.parser
 
ExponentiateAnalyzer() - Constructor for class picasso.parser.ExponentiateAnalyzer
 
ExponentiateToken - Class in picasso.parser.tokens.operations
Represents the exponentiate symbol token
ExponentiateToken() - Constructor for class picasso.parser.tokens.operations.ExponentiateToken
 
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
 
expressionWriter(String[]) - Method in class picasso.view.commands.Writer
 
ExpToken - Class in picasso.parser.tokens.functions
Represents the exp 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
Constructs a frame object
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
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.AbsAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.AssignmentAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.AtanAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.CeilAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ClampAnalyzer
 
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.CosAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.DivideAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ExpAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ExponentiateAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.FloorAnalyzer
 
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.LogAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ModAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.MultiplyAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.PlusAnalyzer
 
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.SinAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.StringInputAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.SubtractionAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.TanAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.UnaryFunctionAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.WrapAnalyzer
 
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.parser.tokens.StringInputToken
 
getFileName(String) - 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() - Method in class picasso.view.commands.History
Getter method to get all combo items storing expressions in history
getHistoryBox() - Method in class picasso.view.commands.History
Getter method to get the the history box (JComboBox)
getHistoryCount() - Method in class picasso.view.commands.History
Getter method to get the number of expressions in history
getHistorySet() - Method in class picasso.view.commands.History
Get the history set
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
 
getKey() - Method in class picasso.view.ComboItem
 
getLeft() - Method in class picasso.parser.language.expressions.BinaryOperator
 
getName() - Method in class picasso.model.Pixmap
Returns the name of the image
getName() - Method in class picasso.parser.language.expressions.Identifier
 
getName() - Method in class picasso.parser.tokens.IdentifierToken
Returns the identifier's name
getName() - Method in class picasso.util.NamedCommand
Returns name of this command.
getOrderofOperation() - Method in class picasso.parser.tokens.chars.CharToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.chars.CommaToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.chars.LeftParenToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.chars.RightParenToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.ColorToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.EOFToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.functions.FunctionToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.IdentifierToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.NumberToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.AssignmentToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.DivideToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.ExponentiateToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.ModToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.MultiplyToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.PlusToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.operations.SubtractionToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.StringInputToken
 
getOrderofOperation() - Method in class picasso.parser.tokens.Token
 
getPixmap() - Method in class picasso.view.Canvas
 
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
 
getRight() - Method in class picasso.parser.language.expressions.BinaryOperator
 
getSemanticParser() - Method in class picasso.parser.Tokenizer
 
getSize() - Method in class picasso.model.Pixmap
 
getStringInput() - Method in class picasso.parser.language.expressions.MultiFunction
Getter for the StringInput for the filename
getSymbol() - Method in class picasso.parser.language.expressions.BinaryOperator
 
getTextField() - Method in class picasso.view.TextField
Returns the Java text field
getToken() - Method in class picasso.parser.Tokenizer
 
getToken(int) - Static method in class picasso.parser.tokens.CharTokenFactory
 
getValid() - Method in class picasso.view.commands.Evaluator
Gets the validity of the expression evaluated
getValue() - Method in class picasso.parser.language.expressions.Constant
Returns the value of the constant
getValue() - Method in class picasso.view.ComboItem
 
getXExpr() - Method in class picasso.parser.language.expressions.MultiFunction
Getter for the x expression
getYExpr() - Method in class picasso.parser.language.expressions.MultiFunction
Getter for the y expression

H

h - Variable in class picasso.view.Frame
 
History - Class in picasso.view.commands
Class to facilitate history saving.
History() - Constructor for class picasso.view.commands.History
 
HistorySelectionFrame - Class in picasso.view
Window for selecting history to save.
HistorySelectionFrame(History, Writer) - Constructor for class picasso.view.HistorySelectionFrame
 
historyShortcut() - Method in class picasso.view.commands.History
Action for the history keyboard shortcut

I

Identifier - Class in picasso.parser.language.expressions
Represents a variable
Identifier(String) - Constructor for class picasso.parser.language.expressions.Identifier
 
Identifier(String, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Identifier
 
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
 
ImageClip - Class in picasso.parser.language.expressions
Represents the ImageClip function in the Picasso language.
ImageClip(StringInput, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ImageClip
Create an ImageClip expression tree that takes as a parameter the given StringInput, x_expression, and y_expression
ImageClipAnalyzer - Class in picasso.parser
Handles parsing the ImageClip 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.Evaluator
Convert from image space to domain space.
ImageWrap - Class in picasso.parser.language.expressions
Represents the ImageWrap function in the Picasso language.
ImageWrap(StringInput, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ImageWrap
Create an ImageWrap expression tree that takes as a parameter the given StringInput, x_expression, and y_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
 
ImprovedNoise - Class in picasso.model
JAVA REFERENCE IMPLEMENTATION OF IMPROVED NOISE - COPYRIGHT 2002 KEN PERLIN.
ImprovedNoise() - Constructor for class picasso.model.ImprovedNoise
 
infixToPostfix(String) - Method in class picasso.parser.ExpressionTreeGenerator
This method converts the String infix expression to a Stack of tokens, which are in postfix.
INVERT - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
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.StringInputToken
 
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.StringInputToken
 
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.
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_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
 
loadHistory(ArrayList<String>) - Method in class picasso.view.commands.History
Loads history into a history box from an array
Log - Class in picasso.parser.language.expressions
Represents the log function in the Picasso language.
Log(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Log
Create a log expression tree that takes as a parameter the given expression
LogAnalyzer - Class in picasso.parser
Handles parsing the log function.
LogAnalyzer() - Constructor for class picasso.parser.LogAnalyzer
 
LogToken - Class in picasso.parser.tokens.functions
Represents the log function token
LogToken() - Constructor for class picasso.parser.tokens.functions.LogToken
 

M

main(String[]) - Static method in class picasso.Main
 
main(String[]) - Static method in class picasso.parser.Tokenizer
 
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.
MINUS - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
MINUS - Static variable in class picasso.parser.language.CharConstants
 
Mod - Class in picasso.parser.language.expressions
 
Mod(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Mod
Create a modulo expression tree that takes in
MOD - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
MOD - Static variable in class picasso.parser.language.CharConstants
 
ModAnalyzer - Class in picasso.parser
 
ModAnalyzer() - Constructor for class picasso.parser.ModAnalyzer
 
ModToken - Class in picasso.parser.tokens.operations
Represents the modulo symbol token
ModToken() - Constructor for class picasso.parser.tokens.operations.ModToken
 
MultiFunction - Class in picasso.parser.language.expressions
Represents a function that takes multiple arguments, minimum two and a maximum of three arguments.
MultiFunction(StringInput, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.MultiFunction
Constructor for ImageWrap and ImageClip functions taking three parameters
MultiFunction(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.MultiFunction
Constructor for perlin functions taking two parameters
Multiply - Class in picasso.parser.language.expressions
Represents the multiplication operation in the Picasso language.
Multiply(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Multiply
Create a multiplication expression tree that takes as a parameter the given subtrees
MultiplyAnalyzer - Class in picasso.parser
Handles parsing the multiply or "multiplication function".
MultiplyAnalyzer() - Constructor for class picasso.parser.MultiplyAnalyzer
 
MultiplyToken - Class in picasso.parser.tokens.operations
Represents the multiplication sign token
MultiplyToken() - Constructor for class picasso.parser.tokens.operations.MultiplyToken
 

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.
nextToken() - Method in class picasso.parser.Tokenizer
get the next token and store it for retrieval by getToken()
noise(double, double, double) - Static method in class picasso.model.ImprovedNoise
 
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

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 - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
PERLINCOLOR - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
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
 
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 - Class in picasso.parser.language.expressions
Represents the plus function in the Picasso language.
Plus(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Plus
Create a plus expression tree that takes as a parameter the given subtrees
PLUS - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
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
 

R

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(Frame, History) - Constructor for class picasso.view.commands.Reader
Creates a Reader object, which prompts users for image files to open
ReferenceForExpressionEvaluations - Enum in picasso.parser.language.expressions
This is the original implementation.
refresh() - Method in class picasso.view.Canvas
 
RGB2YCRCR - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
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
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
setColor(int, int, Color) - Method in class picasso.model.Pixmap
 
setCurrToken(Token) - Method in class picasso.parser.Tokenizer
 
setExpression(String) - Method in class picasso.view.TextField
Helper method to set text field equal to user expression and evaluate it
setInput(String) - Method in class picasso.view.commands.Evaluator
Sets the input
setName(String) - Method in class picasso.parser.language.expressions.Identifier
 
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
 
setValid(boolean) - Method in class picasso.view.commands.Evaluator
Sets the validity of the expression
setValue(ExpressionTreeNode) - Method in class picasso.parser.language.expressions.Identifier
 
SinAnalyzer - Class in picasso.parser
Handles parsing the sin function.
SinAnalyzer() - Constructor for class picasso.parser.SinAnalyzer
 
Sine - Class in picasso.parser.language.expressions
Represents the sin function in the Picasso language.
Sine(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Sine
Create a sin expression tree that takes as a parameter the given expression
SinToken - Class in picasso.parser.tokens.functions
Represents the sin 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
 
StringInput - Class in picasso.parser.language.expressions
Represents a string in the Picasso programming language
StringInput(String) - Constructor for class picasso.parser.language.expressions.StringInput
Constructs a StringInput object with the filename
StringInputAnalyzer - Class in picasso.parser
Handles parsing StringInput
StringInputAnalyzer() - Constructor for class picasso.parser.StringInputAnalyzer
 
StringInputToken - Class in picasso.parser.tokens
Represents string input from the text box
StringInputToken(String) - Constructor for class picasso.parser.tokens.StringInputToken
Constructs a token representing the value
Subtraction - Class in picasso.parser.language.expressions
 
Subtraction(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Subtraction
 
SubtractionAnalyzer - Class in picasso.parser
 
SubtractionAnalyzer() - Constructor for class picasso.parser.SubtractionAnalyzer
 
SubtractionToken - Class in picasso.parser.tokens.operations
 
SubtractionToken() - Constructor for class picasso.parser.tokens.operations.SubtractionToken
 

T

t - Variable in class picasso.view.Frame
 
TanAnalyzer - Class in picasso.parser
Handles parsing the tan function.
TanAnalyzer() - Constructor for class picasso.parser.TanAnalyzer
 
Tangent - Class in picasso.parser.language.expressions
Represents the tan function in the Picasso language.
Tangent(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Tangent
Create a tan expression tree that takes as a parameter the given expression
TanToken - Class in picasso.parser.tokens.functions
Represents the tan function token
TanToken() - Constructor for class picasso.parser.tokens.functions.TanToken
 
tc - Variable in class picasso.view.Frame
 
text() - Method in class picasso.view.TextField
Returns the text entered in the text field as a string
TextField - Class in picasso.view
A wrapper text field object to simplify operations on the Java text field
TextField(Frame) - Constructor for class picasso.view.TextField
Constructs a text field object
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
 
TIMES - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
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.BinaryOperator
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 "Constant: "
toString() - Method in class picasso.parser.language.expressions.MultiFunction
Returns the string representation of the function in the format ": , " or ": , , "
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.StringInput
Returns the string representation of the StringInput in the format "Filename: "
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.Token
Represents the token by its description
toString() - Method in class picasso.view.ComboItem
 

U

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

validName(String) - Static method in class picasso.parser.language.expressions.Identifier
 
value() - Method in class picasso.parser.tokens.chars.CharToken
 
value() - Method in class picasso.parser.tokens.NumberToken
 
valueOf(String) - Static method in enum picasso.parser.language.expressions.ReferenceForExpressionEvaluations
Returns the enum constant of this type with the specified name.
values() - Static method in enum picasso.parser.language.expressions.ReferenceForExpressionEvaluations
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrap(double) - Static method in class picasso.parser.language.expressions.Wrap
Helper method to wrap values around [-1, 1]
Wrap - Class in picasso.parser.language.expressions
Represents the wrap function around [-1, 1] 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 image or expression(s).
Writer(Frame, History) - Constructor for class picasso.view.commands.Writer
 

X

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

Y

Y - Class in picasso.parser.language.expressions
Represents y in a Picasso expression
Y - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
Y() - Constructor for class picasso.parser.language.expressions.Y
 
YCRC2RGBR - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes All Packages