public class MatrixFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
count
The Token counter used for assigning the numerical portion of an ObjID
|
private static java.awt.Color |
HEINEKEN_GREEN
A nice Heineken green color.
|
private static java.awt.Color |
HEINEKEN_MATH_MATRIX_BGCOLOR
The background color constant of a Heineken Math Matrix
|
private static java.awt.Color |
HEINEKEN_MATH_MATRIX_FGCOLOR
The foreground color constant of a Heineken Math Matrix
|
private static int |
HEINEKEN_MATH_MATRIX_HEIGHT
The height constant of a Heineken Math Matrix
|
private static java.lang.String |
HEINEKEN_MATH_MATRIX_NAME
The name constant of a Heineken Math Matrix
|
private static java.lang.String |
HEINEKEN_MATH_MATRIX_TITLE
The title constant of a Heineken Math Matrix
|
private static int |
HEINEKEN_MATH_MATRIX_WIDTH
The width constant of a Heineken Math Matrix
|
private static java.awt.Color |
HEINEKEN_MATRIX_BGCOLOR
The background color constant of a Heineken Matrix
|
private static java.awt.Color |
HEINEKEN_MATRIX_FGCOLOR
The foreground color constant of a Heineken Matrix
|
private static int |
HEINEKEN_MATRIX_HEIGHT
The height constant of a Heineken Matrix
|
private static java.lang.String |
HEINEKEN_MATRIX_NAME
The name constant of a Heineken Matrix
|
private static java.lang.String |
HEINEKEN_MATRIX_TITLE
The title constant of a Heineken Matrix
|
private static int |
HEINEKEN_MATRIX_WIDTH
The width constant of a Heineken Matrix
|
private static java.awt.Color |
HOME_MATRIX_BGCOLOR
The background color constant of a Home Matrix
|
private static java.awt.Color |
HOME_MATRIX_FGCOLOR
The foreground color constant of a Home Matrix
|
private static int |
HOME_MATRIX_HEIGHT
The height constant of a Home Matrix
|
private static java.lang.String |
HOME_MATRIX_NAME
The name constant of a Home Matrix
|
private static java.lang.String |
HOME_MATRIX_TITLE
The title constant of a Home Matrix
|
private static int |
HOME_MATRIX_WIDTH
The width constant of a Home Matrix
|
private static java.awt.Color |
PAIR_PANICKING_MATRIX_BGCOLOR
The background color constant of a Pair Panicking Matrix
|
private static java.awt.Color |
PAIR_PANICKING_MATRIX_FGCOLOR
The foreground color constant of a Pair Panicking Matrix
|
private static int |
PAIR_PANICKING_MATRIX_HEIGHT
The height constant of a Pair Panicking Matrix
|
private static java.lang.String |
PAIR_PANICKING_MATRIX_NAME
The name constant of a Pair Panicking Matrix
|
private static java.lang.String |
PAIR_PANICKING_MATRIX_TITLE
The title constant of a Pair Panicking Matrix
|
private static int |
PAIR_PANICKING_MATRIX_WIDTH
The width constant of a Pair Panicking Matrix
|
Modifier | Constructor and Description |
---|---|
private |
MatrixFactory()
Restricts factory instantiation since all class data is static
|
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
getHeinekenMathMatrixBgColor()
Gets the background color of a Heineken Math Matrix
|
static java.awt.Color |
getHeinekenMathMatrixFgColor()
Gets the foreground color of a Heineken Math Matrix
|
static int |
getHeinekenMathMatrixHeight()
Gets the height of a Heineken Matrix
|
static java.lang.String |
getHeinekenMathMatrixName()
Gets the name of a Heineken Math Matrix
|
static java.lang.String |
getHeinekenMathMatrixTitle()
Gets the title of a Heineken Math Matrix
|
static int |
getHeinekenMathMatrixWidth()
Gets the width of a Heineken Math Matrix
|
static java.awt.Color |
getHeinekenMatrixBgColor()
Gets the background color of a Heineken Matrix
|
static java.awt.Color |
getHeinekenMatrixFgColor()
Gets the foreground color of a Heineken Matrix
|
static int |
getHeinekenMatrixHeight()
Gets the height of a Heineken Matrix
|
static java.lang.String |
getHeinekenMatrixName()
Gets the name of a Heineken Matrix
|
static java.lang.String |
getHeinekenMatrixTitle()
Gets the title of a Heineken Matrix
|
static int |
getHeinekenMatrixWidth()
Gets the width of a Heineken Matrix
|
static java.awt.Color |
getHomeMatrixBgColor()
Gets the background color of a Home Matrix
|
static java.awt.Color |
getHomeMatrixFgColor()
Gets the foreground color of a Home Matrix
|
static int |
getHomeMatrixHeight()
Gets the height of a Home Matrix
|
static java.lang.String |
getHomeMatrixName()
Gets the name of a Home Matrix
|
static java.lang.String |
getHomeMatrixTitle()
Gets the title of a Home Matrix
|
static int |
getHomeMatrixWidth()
Gets the width of a Home Matrix
|
static java.awt.Color |
getPairPanickingMatrixBgColor()
Gets the background color of a Pair Panicking Matrix
|
static java.awt.Color |
getPairPanickingMatrixFgColor()
Gets the foreground color of a Pair Panicking Matrix
|
static int |
getPairPanickingMatrixHeight()
Gets the height of a Pair Panicking Matrix
|
static java.lang.String |
getPairPanickingMatrixName()
Gets the name of a Pair Panicking Matrix
|
static java.lang.String |
getPairPanickingMatrixTitle()
Gets the title of a Pair Panicking Matrix
|
static int |
getPairPanickingMatrixWidth()
Gets the width of a Pair Panicking Matrix
|
static Matrix |
produce(MatrixType matrixType,
java.util.Map<ObjID,NetPuzlObject> cache)
Produces a Matrix of with a unique object ID and the given parameters in
the given Map
|
private static int count
private static final java.lang.String HOME_MATRIX_NAME
private static final java.lang.String HOME_MATRIX_TITLE
private static final int HOME_MATRIX_WIDTH
private static final int HOME_MATRIX_HEIGHT
private static final java.awt.Color HEINEKEN_GREEN
private static final java.awt.Color HOME_MATRIX_BGCOLOR
private static final java.awt.Color HOME_MATRIX_FGCOLOR
private static final java.lang.String PAIR_PANICKING_MATRIX_NAME
private static final java.lang.String PAIR_PANICKING_MATRIX_TITLE
private static final int PAIR_PANICKING_MATRIX_WIDTH
private static final int PAIR_PANICKING_MATRIX_HEIGHT
private static final java.awt.Color PAIR_PANICKING_MATRIX_BGCOLOR
private static final java.awt.Color PAIR_PANICKING_MATRIX_FGCOLOR
private static final java.lang.String HEINEKEN_MATRIX_NAME
private static final java.lang.String HEINEKEN_MATRIX_TITLE
private static final int HEINEKEN_MATRIX_WIDTH
private static final int HEINEKEN_MATRIX_HEIGHT
private static final java.awt.Color HEINEKEN_MATRIX_BGCOLOR
private static final java.awt.Color HEINEKEN_MATRIX_FGCOLOR
private static final java.lang.String HEINEKEN_MATH_MATRIX_NAME
private static final java.lang.String HEINEKEN_MATH_MATRIX_TITLE
private static final int HEINEKEN_MATH_MATRIX_WIDTH
private static final int HEINEKEN_MATH_MATRIX_HEIGHT
private static final java.awt.Color HEINEKEN_MATH_MATRIX_BGCOLOR
private static final java.awt.Color HEINEKEN_MATH_MATRIX_FGCOLOR
private MatrixFactory()
public static java.awt.Color getHeinekenMathMatrixBgColor()
public static java.awt.Color getHeinekenMathMatrixFgColor()
public static int getHeinekenMathMatrixHeight()
public static java.lang.String getHeinekenMathMatrixName()
public static java.lang.String getHeinekenMathMatrixTitle()
public static int getHeinekenMathMatrixWidth()
public static java.awt.Color getHeinekenMatrixBgColor()
public static java.awt.Color getHeinekenMatrixFgColor()
public static int getHeinekenMatrixHeight()
public static java.lang.String getHeinekenMatrixName()
public static java.lang.String getHeinekenMatrixTitle()
public static int getHeinekenMatrixWidth()
public static java.awt.Color getHomeMatrixBgColor()
public static java.awt.Color getHomeMatrixFgColor()
public static int getHomeMatrixHeight()
public static java.lang.String getHomeMatrixName()
public static java.lang.String getHomeMatrixTitle()
public static int getHomeMatrixWidth()
public static java.awt.Color getPairPanickingMatrixBgColor()
public static java.awt.Color getPairPanickingMatrixFgColor()
public static int getPairPanickingMatrixHeight()
public static java.lang.String getPairPanickingMatrixName()
public static java.lang.String getPairPanickingMatrixTitle()
public static int getPairPanickingMatrixWidth()
public static Matrix produce(MatrixType matrixType, java.util.Map<ObjID,NetPuzlObject> cache)
matrixType
- The type of Matrix to producecache
- The Map to cache the Matrix in