Package
Class
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
M
N
P
R
S
T
U
A
actionPerformed(ActionEvent)
- Method in class
SubmitButton
Automatically called when SubmitButton is pressed.
actionPerformed(ActionEvent)
- Method in class
NoSetButton
Automatically called when NoSetButton is pressed.
actionPerformed(ActionEvent)
- Method in class
HintButton
Automatically called when HintButton is pressed.
actionPerformed(ActionEvent)
- Method in class
HelpButton
Automatically called when HelpButton is pressed.
actionPerformed(ActionEvent)
- Method in class
NewGameButton
Automatically called when NewGameButton is pressed.
actionPerformed(ActionEvent)
- Method in class
ClearButton
Automatically called when ClearButton is pressed.
addCard(Card)
- Method in class
GroupOfThree
Adds a card to the group.
addCard(Card)
- Method in class
Tableau
Adds a card to the group.
addToScore(int)
- Method in class
SetMasterLogic
Adds an amount to Score.
B
BLUE
- Static variable in class
CardColor
C
Card
- class
Card
.
Stores information for a single card .
Card(CardColor, CardShading, CardShape, int)
- Constructor for class
Card
Constructor for objects of class Card
CardColor
- class
CardColor
.
CardColor stores a single color to be used in the SetMaster game.
CardColor(int)
- Constructor for class
CardColor
Constructor for objects of class SetColor.
CardDisplay
- class
CardDisplay
.
CardDisplay is a clickable Canvas that provides an image corresponding to a Card.
CardDisplay(Card, Tableau)
- Constructor for class
CardDisplay
Constructor.
CardShading
- class
CardShading
.
CardShading stores a single shading to be used in the SetMaster game.
CardShading(int)
- Constructor for class
CardShading
Constructor for objects of class SetShading.
CardShape
- class
CardShape
.
CardShape stores a shape used by the Set game.
CardShape(int)
- Constructor for class
CardShape
Constructor for objects of class SetShape.
CIRCLE
- Static variable in class
CardShape
clear()
- Method in class
Tableau
Removes all cards from the tableau.
ClearButton
- class
ClearButton
.
ClearButton clears all highlighted cards
ClearButton(Tableau)
- Constructor for class
ClearButton
Constructor for objects of class HintButton
clearHighlight()
- Method in class
Tableau
Sets all cards in the tableau to not-highlighted status.
clearScore()
- Method in class
ScoreOutput
Clears the Score when called upon, sets number of sets back to zero.
colorSet()
- Method in class
GroupOfThree
Returns true if and only if there are three cards in the group, and the group forms a valid set.
containsSet()
- Method in class
Tableau
Returns true if and only if there are three cards in the tableau that form a valid set.
D
d
- Variable in class
TestDeck
Deck
- class
Deck
.
Deck()
- Constructor for class
Deck
Creates a full deck.
decrement()
- Method in class
ScoreOutput
takes one point away from you score(number of sets)
destroy()
- Method in class
SetMasterApplet
Called by the browser or applet viewer to inform this Applet that it is being reclaimed and that it should destroy any resources that it has allocated.
DIAMOND
- Static variable in class
CardShape
drawCard()
- Method in class
Deck
Removes (and returns) a card from the deck.
E
EMPTY
- Static variable in class
CardShading
equals(Object)
- Method in class
CardShading
Returns true if and only if this object represents the same shading as o
equals(Object)
- Method in class
CardColor
Returns true if and only if this object represents the same color as o
equals(Object)
- Method in class
CardShape
Returns true if and only if this object represents the same shape as o
F
FILLED
- Static variable in class
CardShading
findSet()
- Method in class
Tableau
Returns a GroupOfThree containing cards from the tableau that form a set.
G
getAppletInfo()
- Method in class
SetMasterApplet
Returns information about this applet.
getCard(int)
- Method in class
GroupOfThree
Returns a specified card from the group.
getCard(int)
- Method in class
Tableau
Returns a specified card from the tableau.
getColor()
- Method in class
Card
getDeck()
- Method in class
SetMasterLogic
Returns its Deck.
getFirst()
- Static method in class
CardShading
getFirst()
- Static method in class
CardColor
getFirst()
- Static method in class
CardShape
getHighlightedGroup()
- Method in class
Tableau
Gets the cards highlighted on the screen and returns them.
getLast()
- Static method in class
CardShading
getLast()
- Static method in class
CardColor
getLast()
- Static method in class
CardShape
getNumber()
- Method in class
Card
getParameterInfo()
- Method in class
SetMasterApplet
Returns information about the parameters that are understood by this Applet.
getScore()
- Method in class
SetMasterLogic
Returns its Score.
getScreenColor()
- Method in class
CardColor
Returns a graphical color object corresponding the to color of this object.
getScreenShape()
- Method in class
CardShape
Returns a graphical color object corresponding the to color of this object.
getShading()
- Method in class
Card
getShape()
- Method in class
Card
getTableau()
- Method in class
SetMasterLogic
Returns its Tableau.
GREEN
- Static variable in class
CardColor
GroupOfThree
- class
GroupOfThree
.
GroupOfThree represents a group of three Card objects.
GroupOfThree()
- Constructor for class
GroupOfThree
Constructor for objects of class GroupOfThree
H
hasCard(Card)
- Method in class
GroupOfThree
Returns true if and only if the Card is in the group.
HelpButton
- class
HelpButton
.
Write a description of class HelpButton here.
HelpButton()
- Constructor for class
HelpButton
Constructor for objects of class SubmitButton
HintButton
- class
HintButton
.
HintButton highlights a set in the deck if the user is stuck.
HintButton(SetMasterLogic, ScoreOutput)
- Constructor for class
HintButton
Constructor for objects of class HintButton
I
increment()
- Method in class
ScoreOutput
adds one point to your score(number of sets)
isLit(Card)
- Method in class
Tableau
Returns true if and only if c is in the tableau and is highlighted.
isSet()
- Method in class
GroupOfThree
Determines if the group is a set.
M
main(String[])
- Static method in class
TestTableau
main(String[])
- Static method in class
TestGroup
main(String[])
- Static method in class
TestCard
mouseClicked(MouseEvent)
- Method in class
CardDisplay
Called automatically when CardDisplay is clicked by the mouse.
mouseEntered(MouseEvent)
- Method in class
CardDisplay
Unused mouse event function.
mouseExited(MouseEvent)
- Method in class
CardDisplay
Unused mouse event function.
mousePressed(MouseEvent)
- Method in class
CardDisplay
Unused mouse event function.
mouseReleased(MouseEvent)
- Method in class
CardDisplay
Unused mouse event function.
N
NewGameButton
- class
NewGameButton
.
NewGameButton resets all settings to as they were when the game began.
NewGameButton(SetMasterLogic, ScoreOutput)
- Constructor for class
NewGameButton
Constructor for objects of class NewGameButton
NoSetButton
- class
NoSetButton
.
NoSetButton is clicked when the user believes there is no set.
NoSetButton(SetMasterLogic, ScoreOutput)
- Constructor for class
NoSetButton
Constructor for objects of class NoSetButton
numberLitCards()
- Method in class
Tableau
Returns the number of cards in the tableau that are currently highlighted.
numberOfCards()
- Method in class
Deck
Returns the number of cards currently in the deck.
numberOfCards()
- Method in class
Tableau
Returns the number of cards currently in the tableau.
numberSet()
- Method in class
GroupOfThree
Determines if the group has valid numbers (e.g., 1,2,3 or 1,1,1, etc.).
P
paintComponent(Graphics)
- Method in class
CardDisplay
Paints the card on g.
R
RED
- Static variable in class
CardColor
refill(Deck)
- Method in class
Tableau
Adds three cards to the tableau.
removeCard(Card)
- Method in class
GroupOfThree
Removes the card from the group.
removeGroup(GroupOfThree)
- Method in class
Tableau
Removes the cards in the group from the tableau if present.
reset()
- Method in class
Deck
Resets the deck so that it contains a full set of cards.
S
ScoreOutput
- class
ScoreOutput
.
ScoreOutput(SetMasterLogic)
- Constructor for class
ScoreOutput
Constructor.
SetMasterApplet
- class
SetMasterApplet
.
Write a description of the applet class SetMasterApplet here.
SetMasterApplet()
- Constructor for class
SetMasterApplet
Called by the browser or applet viewer to inform this Applet that it has been loaded into the system.
SetMasterApplication
- class
SetMasterApplication
.
Plays the game of SetMaster providing a GUI in an application.
SetMasterApplication()
- Constructor for class
SetMasterApplication
Constructor.
SetMasterFrame
- class
SetMasterFrame
.
Plays the game of SetMaster providing a GUI in an application.
SetMasterFrame(SetMasterLogic)
- Constructor for class
SetMasterFrame
Constructor.
SetMasterLogic
- class
SetMasterLogic
.
Houses the logic of the game of SetMaster.
SetMasterLogic()
- Constructor for class
SetMasterLogic
Constructor.
shadingSet()
- Method in class
GroupOfThree
Determines if the group has valid shadings.
shapeSet()
- Method in class
GroupOfThree
Determines if the group has valid shapes.
SQUIGGLE
- Static variable in class
CardShape
start()
- Method in class
SetMasterApplet
Called by the browser or applet viewer to inform this Applet that it should start its execution.
stop()
- Method in class
SetMasterApplet
Called by the browser or applet viewer to inform this Applet that it should stop its execution.
STRIPED
- Static variable in class
CardShading
SubmitButton
- class
SubmitButton
.
SubmitButton submits the highlighted set.
SubmitButton(SetMasterLogic, ScoreOutput)
- Constructor for class
SubmitButton
Constructor for objects of class SubmitButton
T
Tableau
- class
Tableau
.
Tableau represents a group of Card objects.
Tableau()
- Constructor for class
Tableau
Constructor for objects of class Tableau
TableauDisplay
- class
TableauDisplay
.
TableauDisplay is a clickable Canvas that provides an image corresponding to a Card.
TableauDisplay(Tableau)
- Constructor for class
TableauDisplay
Constructor.
test()
- Static method in class
SetMasterApplication
test()
- Static method in class
SetMasterFrame
TestCard
- class
TestCard
.
Tests the Card class.
TestCard()
- Constructor for class
TestCard
TestDeck
- class
TestDeck
.
Write a description of class testDeck here.
TestDeck()
- Constructor for class
TestDeck
Constructor for objects of class testDeck
TestGroup
- class
TestGroup
.
Tests the Card class.
TestGroup()
- Constructor for class
TestGroup
TestTableau
- class
TestTableau
.
Tests the Tableau class.
TestTableau()
- Constructor for class
TestTableau
toggleCard(Card)
- Method in class
Tableau
Attempts to toggle the highlighted status of card c.
toInt()
- Method in class
CardShading
toInt()
- Method in class
CardShape
toString()
- Method in class
CardShading
Returns simple text giving the Shading in English.
toString()
- Method in class
CardColor
Returns simple text giving the color in English.
toString()
- Method in class
Card
toString()
- Method in class
GroupOfThree
Returns a string representation of the group.
toString()
- Method in class
CardShape
Returns shape in English.
U
update()
- Method in class
CardDisplay
update()
- Method in class
ScoreOutput
Updates the output panel with current information from Score object.
update(Observable, Object)
- Method in class
SubmitButton
Enables/disables the button based on the number of currently hightlighted cards.
update(Observable, Object)
- Method in class
TableauDisplay
update(Observable, Object)
- Method in class
ScoreOutput
Updates the ScoreOutput after its Observable(Deck) makes a change.
A
B
C
D
E
F
G
H
I
M
N
P
R
S
T
U
Package
Class
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes