Interface java.telephony.phone.PhoneButton All Packages Class Hierarchy This Package Previous Next Index Interface java.telephony.phone.PhoneButton public interface PhoneButton extends Object extends Component buttonPress() Press the button. getAssociatedPhoneLamp() Returns the associated lamp information. getInfo() Returns the button information. setInfo(String) Sets button information. getInfo public abstract String getInfo() throws PlatformException Returns the button information. Returns: The string button information. Throws: PlatformException A platform-specific exception occurred. setInfo public abstract void setInfo(String buttonInfo) throws PlatformException Sets button information. Parameters: buttonInfo - The button information. Throws: PlatformException A platform-specific exception occurred. getAssociatedPhoneLamp public abstract PhoneLamp getAssociatedPhoneLamp() throws PlatformException Returns the associated lamp information. Returns: The associated lamp object. Throws: PlatformException A platform-specific exception occurred. buttonPress public abstract void buttonPress() throws PlatformException Press the button. Throws: PlatformException A platform-specific exception occurred. All Packages Class Hierarchy This Package Previous Next Index