Class Opening

java.lang.Object
   |
   +----Opening

class Opening
extends Object
An object that contains an opening's data.

Version:
1.00
Author:
Bill Lorton

Constructor Index

 o Opening()
The Opening constructor.

Method Index

 o frequency()
Gets the frequency of this opening.
 o frequencyPercent()
Gets the frequency percentage of this opening.
 o moves()
Gets the complete move string of this opening.
 o name()
Gets the name of this opening.
 o setFrequency(int)
Sets the frequency of this opening.
 o setFrequencyPercent(double)
Sets the frequency precentage of this opening
 o setMoves(String)
Sets the complete move sequence of this opening.
 o setName(String)
Sets the name of this opening.

Constructors

 o Opening
 public Opening()
The Opening constructor.

Methods

 o setName
 public void setName(String name)
Sets the name of this opening.

Parameters:
name - the name of this opening
 o setMoves
 public void setMoves(String moves)
Sets the complete move sequence of this opening.

Parameters:
moves - the moves of this opening
 o setFrequency
 public void setFrequency(int count)
Sets the frequency of this opening.

Parameters:
count - the frequency of this opening
 o setFrequencyPercent
 public void setFrequencyPercent(double percent)
Sets the frequency precentage of this opening

Parameters:
percent - the frequency percentage of this opening
 o name
 public String name()
Gets the name of this opening.

Returns:
the name of this opening
 o moves
 public String moves()
Gets the complete move string of this opening.

Returns:
the move string of this opening
 o frequency
 public int frequency()
Gets the frequency of this opening.

Returns:
the frequency of this opening
 o frequencyPercent
 public double frequencyPercent()
Gets the frequency percentage of this opening.

Returns:
the frequency percentage of this opening