JSR-043: JTAPI-1.4

javax.telephony.phone
Interface PhoneDisplay

All Superinterfaces:
Component

public interface PhoneDisplay
extends Component

Phone display interface.


Method Summary
 java.lang.String getDisplay(int x, int y)
          Returns the displayed string starting at coordinates (x, y).
 int getDisplayColumns()
          Returns the number of display columns.
 int getDisplayRows()
          Returns the number of display rows.
 void setDisplay(java.lang.String string, int x, int y)
          Displays the given string starting at coordinates (x, y).
 
Methods inherited from interface javax.telephony.phone.Component
getCapabilities, getName
 

Method Detail

getDisplayRows

public int getDisplayRows()
Returns the number of display rows.

Returns:
The number of display rows.

getDisplayColumns

public int getDisplayColumns()
Returns the number of display columns.

Returns:
The number of display columns.

getDisplay

public java.lang.String getDisplay(int x,
                                   int y)
                            throws InvalidArgumentException
Returns the displayed string starting at coordinates (x, y).

Parameters:
x - The x-coordinate.
y - The y-coordinate.
Returns:
The string displayed starting at coordinates (x, y).
Throws:
InvalidArgumentException - Either the coordinates provided were invalid.

setDisplay

public void setDisplay(java.lang.String string,
                       int x,
                       int y)
                throws InvalidArgumentException
Displays the given string starting at coordinates (x, y).

Parameters:
string - The string to display.
x - The x-coordinate.
y - The y-coordinate.
Throws:
InvalidArgumentException - Either the coordinates provided were invalid.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org