final class HeadsUpDisplay extends Composite implements Actuator<PollV.Sensor>, Light<PollV.Sensor>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
HeadsUpDisplay.UiBinderI |
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
(package private) SpanElement |
leftField |
(package private) SpanElement |
rightField |
(package private) DivElement |
shuttle |
DEBUG_ID_PREFIX
Constructor and Description |
---|
HeadsUpDisplay(PolltrackV trackV,
Spool spool)
Creates a HeadsUpDisplay.
|
Modifier and Type | Method and Description |
---|---|
Actuator<PollV.Sensor> |
assignActuator(PollV.Sensor sensor)
Returns a light actuator for the specified sensor, or null if the light is to be
unaffected by the sensor.
|
void |
changed(PollV.Sensor sensor)
Responds to a change in the sensor's properties.
|
protected HTMLPanel |
getWidget() |
Light<PollV.Sensor> |
light()
The stage light that is directed.
|
void |
out(PollV.Sensor sensor)
Responds to the user's point leaving the sensor.
|
void |
over(PollV.Sensor sensor)
Responds to the user's point entering the sensor.
|
PollV.Sensor |
tryCast(Sensor sensor)
Returns the sensor cast to the type covered by this light, or null if the sensor is of
some other type.
|
claimElement, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
@UiField @Warning(value="non-API") SpanElement leftField
@UiField @Warning(value="non-API") SpanElement rightField
@UiField @Warning(value="non-API") DivElement shuttle
HeadsUpDisplay(PolltrackV trackV, Spool spool)
spool
- the spool for the release of associated holds. When unwound it
releases the holds of this display and thereby disables it.public void changed(PollV.Sensor sensor)
Actuator
changed
in interface Actuator<PollV.Sensor>
public Light<PollV.Sensor> light()
Actuator
light
in interface Actuator<PollV.Sensor>
public void out(PollV.Sensor sensor)
Actuator
out
in interface Actuator<PollV.Sensor>
public void over(PollV.Sensor sensor)
Actuator
over
in interface Actuator<PollV.Sensor>
public Actuator<PollV.Sensor> assignActuator(PollV.Sensor sensor)
Light
assignActuator
in interface Light<PollV.Sensor>
public final PollV.Sensor tryCast(Sensor sensor)
Light
tryCast
in interface Light<PollV.Sensor>