| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private boolean | |
| private final Component. | |
| private final String | name
Human-readable name for this Axis |
| private float |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public float | Returns: 0.0f by default, can be overriddenImplements net. |
| pack-priv final float | |
| public Component. | getIdentifier()
Implements net. |
| public String | getName()
Implements net. |
| public final float | Returns: The data from the last time the control has been polled.Implements net. |
| public boolean | Returns: false by default, can be overriddenImplements net. |
| protected abstract float | |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| public String | toString()
Overrides java. |
| event_value | back to summary |
|---|---|
| private float event_value | |
| has_polled | back to summary |
|---|---|
| private boolean has_polled | |
| id | back to summary |
|---|---|
| private final Component. | |
| name | back to summary |
|---|---|
| private final String name Human-readable name for this Axis | |
| value | back to summary |
|---|---|
| private float value | |
| AbstractComponent | back to summary |
|---|---|
| protected AbstractComponent(String name, Component. Protected constructor
| |
| getDeadZone | back to summary |
|---|---|
| public float getDeadZone() Implements net. Returns the suggested dead zone for this axis. Dead zone is the amount polled data can vary before considered a significant change in value. An application can safely ignore changes less than this value in the positive or negative direction.
| |
| getEventValue | back to summary |
|---|---|
| pack-priv final float getEventValue() | |
| getIdentifier | back to summary |
|---|---|
| public Component. Implements net. Returns the type or identifier of the axis. | |
| getName | back to summary |
|---|---|
| public String getName() Implements net. Returns a human-readable name for this axis. | |
| getPollData | back to summary |
|---|---|
| public final float getPollData() Implements net. Returns the data from the last time the control has been polled. If this axis is a button, the value returned will be either 0.0f or 1.0f. If this axis is normalised, the value returned will be between -1.0f and 1.0f.
| |
| isAnalog | back to summary |
|---|---|
| public boolean isAnalog() Implements net. Returns whether or not the axis is analog, or false if it is digital.
| |
| poll | back to summary |
|---|---|
| protected abstract float poll() throws IOException | |
| resetHasPolled | back to summary |
|---|---|
| pack-priv final void resetHasPolled() | |
| setEventValue | back to summary |
|---|---|
| pack-priv final void setEventValue(float event_value) | |
| setPollData | back to summary |
|---|---|
| pack-priv final void setPollData(float value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a non-localized string description of this axis.
| |