static final class AWTMouse.Button extends AbstractComponent
Component.Identifier, Component.POV
Constructor and Description |
---|
Button(Component.Identifier.Button button_id) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAnalog()
Returns whether or not the axis is analog, or false if it is digital.
|
boolean |
isRelative()
Returns
true if data returned from poll
is relative to the last call, or false if data
is absolute. |
protected float |
poll() |
protected void |
setValue(float value) |
getDeadZone, getEventValue, getIdentifier, getName, getPollData, resetHasPolled, setEventValue, setPollData, toString
public Button(Component.Identifier.Button button_id)
protected final void setValue(float value)
protected final float poll() throws IOException
poll
in class AbstractComponent
IOException
public final boolean isAnalog()
AbstractComponent
isAnalog
in interface Component
isAnalog
in class AbstractComponent
public final boolean isRelative()
Component
true
if data returned from poll
is relative to the last call, or false
if data
is absolute.