public interface DisplayListener
DisplayListenerinterface defines a method that is called in response to
Displayevents. Examples of
Displayevents include the addition or removal of new
Displaysand changes to the hardware state or assignation status of an existing
Display. A DisplayListener may be added using the static
Display.addDisplayListenermethod. It will then be notified about changes to all
|Modifier and Type||Method and Description|
This method is called when a new Display is added to the embedded device.
This method is called when a Display has been removed from the embedded device.
This method is called when the state of a Display's hardware changes.
void hardwareStateChanged(Display d, boolean newState)
trueargument for the
d- the Display
Displayhas been unassigned,
trueif it has been re-assigned.
void displayAdded(Display d)
d- the display that has been added to the device
void displayRemoved(Display d)
d- the display that has been removed from the device
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.