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
-
getDisplay(int, int)
- Returns the displayed string starting at coordinates (x, y).
-
getDisplayColumns()
- Returns the number of display columns.
-
getDisplayRows()
- Returns the number of display rows.
-
setDisplay(String, int, int)
- Displays the given string starting at coordinates (x, y).
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.
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.
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.
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