Interface java.telephony.phone.PhoneDisplay
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.telephony.phone.PhoneDisplay

public interface PhoneDisplay
extends Object
extends Component

Method Index

 o getDisplay(int, int)
Returns the displayed string starting at coordinates (x, y).
 o getDisplayColumns()
Returns the number of display columns.
 o getDisplayRows()
Returns the number of display rows.
 o setDisplay(String, int, int)
Displays the given string starting at coordinates (x, y).

Methods

 o getDisplayRows
  public abstract int getDisplayRows() throws PlatformException
Returns the number of display rows.

Returns:
The number of display rows.
Throws: PlatformException
A platform-specific exception occurred.
 o getDisplayColumns
  public abstract int getDisplayColumns() throws PlatformException
Returns the number of display columns.

Returns:
The number of display columns.
Throws: PlatformException
A platform-specific exception occurred.
 o getDisplay
  public abstract String getDisplay(int x,
                                    int y) throws InvalidArgumentException, PlatformException
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.
Throws: PlatformException
A platform-specific exception occurred.
 o setDisplay
  public abstract void setDisplay(String string,
                                  int x,
                                  int y) throws InvalidArgumentException, PlatformException
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.
Throws: PlatformException
A platform-specific exception occurred.

All Packages  Class Hierarchy  This Package  Previous  Next  Index