final class HeadsUpDisplay extends Composite implements Actuator<NodalSensor>, Light<NodalSensor>
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 |
bottomField |
(package private) DivElement |
bottomRail |
(package private) SpanElement |
bottomShuttle |
(package private) SpanElement |
topField |
(package private) DivElement |
topRail |
(package private) SpanElement |
topShuttle |
DEBUG_ID_PREFIX
Constructor and Description |
---|
HeadsUpDisplay(VoteTrackV _trackV,
Spool spool)
Creates a HeadsUpDisplay.
|
Modifier and Type | Method and Description |
---|---|
Actuator<NodalSensor> |
assignActuator(NodalSensor sensor)
Returns a light actuator for the specified sensor, or null if the light is to be
unaffected by the sensor.
|
void |
changed(NodalSensor sensor)
Responds to a change in the sensor's properties.
|
protected HTMLPanel |
getWidget() |
Light<NodalSensor> |
light()
The stage light that is directed.
|
void |
out(NodalSensor sensor)
Responds to the user's point leaving the sensor.
|
void |
over(NodalSensor sensor)
Responds to the user's point entering the sensor.
|
NodalSensor |
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 bottomField
@UiField @Warning(value="non-API") DivElement bottomRail
@UiField @Warning(value="non-API") SpanElement bottomShuttle
@UiField @Warning(value="non-API") SpanElement topField
@UiField @Warning(value="non-API") DivElement topRail
@UiField @Warning(value="non-API") SpanElement topShuttle
HeadsUpDisplay(VoteTrackV _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(NodalSensor sensor)
Actuator
changed
in interface Actuator<NodalSensor>
public Light<NodalSensor> light()
Actuator
light
in interface Actuator<NodalSensor>
public void out(NodalSensor sensor)
Actuator
out
in interface Actuator<NodalSensor>
public void over(NodalSensor sensor)
Actuator
over
in interface Actuator<NodalSensor>
public Actuator<NodalSensor> assignActuator(NodalSensor sensor)
Light
assignActuator
in interface Light<NodalSensor>
public final NodalSensor tryCast(Sensor sensor)
Light
tryCast
in interface Light<NodalSensor>