|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The PhoneTerminalListener interface reports all changes
that happen to the phone components. This interface extends the
TerminalListener interfaces.
TerminalListener,
PhoneTerminalEvent| Method Summary | |
void |
terminalButtonInfoChanged(PhoneTerminalEvent event)
The terminalButtonInfoChanged method is called to report
that the information associated with a button component has changed. |
void |
terminalButtonPressed(PhoneTerminalEvent event)
The terminalButtonPressed method is called to report
that a button component has been pressed. |
void |
terminalButtonPressThresholdExceeded(PhoneTerminalEvent event)
The terminalButtonPressThresholdExceeded method is called to report
that a button was held longer than the threshold set with method
PhoneButton.setButtonPressThreshold(int threshold). |
void |
terminalDisplayUpdated(PhoneTerminalEvent event)
The terminalDispalyUpdated method is called to report
that the contents of the display component has changed. |
void |
terminalHookswitchStateChanged(PhoneTerminalEvent event)
The terminalHookswitchStateChanged method is called to report
that the state of the hookswitch component has changed. |
void |
terminalLampModeChanged(PhoneTerminalEvent event)
The terminalLampModeChanged method is called to report
that the mode of the PhoneLamp has changed. |
void |
terminalMicrophoneGainChanged(PhoneTerminalEvent event)
The terminalMicrophoneGaineChanged method is called to report
that the gain of a PhoneMicrophone component has changed. |
void |
terminalRingerPatternChanged(PhoneTerminalEvent event)
The terminalRingerPatternChanged method is called to report
that the pattern of a PhoneRinger component has changed. |
void |
terminalRingerVolumeChanged(PhoneTerminalEvent event)
The terminalRingerVolumeChanged method is called to report
that the volume of a PhoneRinger component has changed. |
void |
terminalSpeakerVolumeChanged(PhoneTerminalEvent event)
The terminalSpeakerVolumeChanged method is called to report
that the volume of a PhoneSpeaker component has changed. |
| Methods inherited from interface javax.telephony.TerminalListener |
terminalListenerEnded |
| Method Detail |
public void terminalButtonInfoChanged(PhoneTerminalEvent event)
terminalButtonInfoChanged method is called to report
that the information associated with a button component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_BUTTON_INFO_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_BUTTON_INFO_EVENT,
PhoneButton,
PhoneButton.getInfo()public void terminalButtonPressed(PhoneTerminalEvent event)
terminalButtonPressed method is called to report
that a button component has been pressed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_BUTTON_PRESS_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_BUTTON_PRESS_EVENT,
PhoneButton.getInfo(),
PhoneButton.buttonPress()public void terminalDisplayUpdated(PhoneTerminalEvent event)
terminalDispalyUpdated method is called to report
that the contents of the display component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_DISPLAY_UPDATE_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_DISPLAY_UPDATE_EVENT,
PhoneDisplay.getDisplay(int x, int y),
PhoneDisplay.setDisplay(java.lang.String string, int x, int y)public void terminalHookswitchStateChanged(PhoneTerminalEvent event)
terminalHookswitchStateChanged method is called to report
that the state of the hookswitch component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_HOOKSWITCH_STATE_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_HOOKSWITCH_STATE_EVENT,
PhoneHookswitch.getHookSwitchState(),
PhoneHookswitch.setHookSwitch(int hookSwitchState)public void terminalLampModeChanged(PhoneTerminalEvent event)
terminalLampModeChanged method is called to report
that the mode of the PhoneLamp has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_LAMP_MODE_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_LAMP_MODE_EVENT,
PhoneLamp.getMode(),
PhoneLamp.setMode(int mode),
PhoneLamp.getSupportedModes()public void terminalMicrophoneGainChanged(PhoneTerminalEvent event)
terminalMicrophoneGaineChanged method is called to report
that the gain of a PhoneMicrophone component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_MICROPHONE_GAIN_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_MICROPHONE_GAIN_EVENT,
PhoneMicrophone,
PhoneMicrophone.getGain(),
PhoneMicrophone.setGain(int gain)public void terminalRingerPatternChanged(PhoneTerminalEvent event)
terminalRingerPatternChanged method is called to report
that the pattern of a PhoneRinger component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_RINGER_PATTERN_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_RINGER_PATTERN_EVENT,
PhoneRinger.getRingerPattern(),
PhoneRinger.setRingerPattern(int ringerPattern)public void terminalRingerVolumeChanged(PhoneTerminalEvent event)
terminalRingerVolumeChanged method is called to report
that the volume of a PhoneRinger component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_RINGER_VOLUME_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_RINGER_VOLUME_EVENT,
PhoneRinger.getRingerVolume(),
PhoneRinger.setRingerVolume(int volume)public void terminalSpeakerVolumeChanged(PhoneTerminalEvent event)
terminalSpeakerVolumeChanged method is called to report
that the volume of a PhoneSpeaker component has changed.
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_SPEAKER_VOLUME_EVENT.PhoneTerminalEvent.PHONE_TERMINAL_SPEAKER_VOLUME_EVENT,
PhoneSpeaker.getVolume(),
PhoneSpeaker.setVolume(int volume)public void terminalButtonPressThresholdExceeded(PhoneTerminalEvent event)
terminalButtonPressThresholdExceeded method is called to report
that a button was held longer than the threshold set with method
PhoneButton.setButtonPressThreshold(int threshold).
event - A PhoneTerminalEvent with eventID
PhoneTerminalEvent.PHONE_TERMINAL_BUTTON_PRESS_THRESHOLD_EXCEEDED_EVENT.
PhoneTerminalEvent.PHONE_TERMINAL_BUTTON_PRESS_THRESHOLD_EXCEEDED_EVENT,
PhoneButton.setButtonPressThreshold(int threshold)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||