## marytts.tools.emospeak Interface TwoDimensionalModel

All Known Implementing Classes:
RectangularTwoDimensionalModel

`public interface TwoDimensionalModel`

Author:
Marc Schröder

Method Summary
` void` `addChangeListener(javax.swing.event.ChangeListener l)`
Adds a ChangeListener to the model's listener list.
` int` `getMaxX()`

` int` `getMaxY()`

` int` `getMinX()`

` int` `getMinY()`

` int` `getX()`
Get the X value.
` int` `getY()`
Get the Y value.
` void` `removeChangeListener(javax.swing.event.ChangeListener l)`
Removes a ChangeListener from the model's listener list.
` void` `setMaxX(int maxX)`
Set the Maximum X value.
` void` `setMaxY(int maxY)`
Set the Maximum Y value.
` void` `setMinX(int minX)`
Set the Minimum X value.
` void` `setMinY(int minY)`
Set the Minimum Y value.
` void` `setX(int x)`
Set X value.
` void` ```setXY(int x, int y)```
Jointly set x and y values.
` void` `setY(int y)`
Set Y value.

Method Detail

### setXY

```void setXY(int x,
int y)```
Jointly set x and y values. If one of the values is beyond the respective Max and Min range, both values are ignored.

### setX

`void setX(int x)`
Set X value. If beyond the Max and Min range, value is ignored.

### setY

`void setY(int y)`
Set Y value. If beyond the Max and Min range, value is ignored.

### setMaxX

`void setMaxX(int maxX)`
Set the Maximum X value.

### setMinX

`void setMinX(int minX)`
Set the Minimum X value.

### setMaxY

`void setMaxY(int maxY)`
Set the Maximum Y value.

### setMinY

`void setMinY(int minY)`
Set the Minimum Y value.

### getX

`int getX()`
Get the X value.

### getY

`int getY()`
Get the Y value.

### getMaxX

`int getMaxX()`

### getMinX

`int getMinX()`

### getMaxY

`int getMaxY()`

### getMinY

`int getMinY()`

`void addChangeListener(javax.swing.event.ChangeListener l)`
`void removeChangeListener(javax.swing.event.ChangeListener l)`