public class WaferMapModel extends AbstractChartModel
Chart
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
WaferMapModel.IntPair |
_listeners
Constructor and Description |
---|
WaferMapModel()
data model to be used with wafermap chart.
|
WaferMapModel(int xsize,
int ysize)
data model to be used with wafermap chart.
|
WaferMapModel(int xsize,
int ysize,
double space)
data model to be used with wafermap chart.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(int value,
int x,
int y)
Add a value to the given chip at (x,y) (0-based) of the wafer chip matrix.
|
void |
clear()
clear the model.
|
java.lang.Object |
clone() |
java.util.Collection<java.util.Map.Entry<WaferMapModel.IntPair,java.lang.Number>> |
getEntrySet()
Internal Use Only.
|
double |
getSpace()
Returns the space between chips, default to 1.
|
java.lang.Number |
getValue(int x,
int y)
Returns the value of the given chip at (x,y) of the wafer matrix.
|
int |
getXsize()
Returns the x size of the wafer matrix.
|
int |
getYsize()
Returns the y size of the wafer matrix.
|
void |
removeValue(int x,
int y)
remove the value of the specified x and y.
|
void |
setXsize(int xsize)
Returns the x size of the wafer matrix.
|
void |
setYsize(int ysize)
Returns the y size of the wafer matrix.
|
addChartDataListener, fireEvent, fireEvent, removeChartDataListener
public WaferMapModel()
public WaferMapModel(int xsize, int ysize)
xsize
- the x size of the wafer matrix.ysize
- the y size of the wafer matrix.public WaferMapModel(int xsize, int ysize, double space)
xsize
- the x size of the wafer matrix.ysize
- the y size of the wafer matrix.space
- the space between chips.public int getXsize()
public int getYsize()
public void setXsize(int xsize)
public void setYsize(int ysize)
public double getSpace()
public java.lang.Number getValue(int x, int y)
x
- the x index of the wafer matrix.y
- the y index of the wafer matrix.public void addValue(int value, int x, int y)
value
- the chip value on the wafer matrix.x
- the x index to specify the chip on the wafer.y
- the y index to specify the chip on the wafer.public java.util.Collection<java.util.Map.Entry<WaferMapModel.IntPair,java.lang.Number>> getEntrySet()
public void removeValue(int x, int y)
x
- the x index of the wafer matrix.y
- the y index of the wafer matrix.public void clear()
public java.lang.Object clone()
clone
in class AbstractChartModel
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.