Package | Description |
---|---|
com.mixer.interactive.resources.control |
Provides interfaces and classes relating to Interactive controls.
|
Modifier and Type | Method and Description |
---|---|
InteractiveControlPosition |
InteractiveControl.getPositionFor(InteractiveCanvasSize canvasSize)
Returns the
InteractiveControlPosition for the provided InteractiveCanvasSize if
there exists one, null otherwise. |
InteractiveControlPosition |
InteractiveControl.getPositionFor(String canvasSize)
Returns the
InteractiveControlPosition for the provided canvas size if there exists one,
null otherwise. |
InteractiveControlPosition |
InteractiveControlPosition.moveTo(int x,
int y)
Sets the
InteractiveControls X and Y positions for this control position. |
InteractiveControlPosition |
InteractiveControlPosition.resize(int width,
int height)
Sets the
InteractiveControls height and width for this control position. |
InteractiveControlPosition |
InteractiveControlPosition.setHeight(int height)
Sets the
InteractiveControls height for this control position. |
InteractiveControlPosition |
InteractiveControlPosition.setWidth(int width)
Sets the
InteractiveControls width for this control position. |
InteractiveControlPosition |
InteractiveControlPosition.setX(int x)
Sets the
InteractiveControls X position for this control position. |
InteractiveControlPosition |
InteractiveControlPosition.setY(int y)
Sets the
InteractiveControls Y position for this control position. |
Modifier and Type | Method and Description |
---|---|
Set<InteractiveControlPosition> |
InteractiveControl.getPositions()
Returns a
Set of all InteractiveControlPositions for this
InteractiveControl . |
Modifier and Type | Method and Description |
---|---|
T |
InteractiveControl.addPosition(InteractiveControlPosition... controlPositions)
Adds
InteractiveControlPositions to this InteractiveControl . |
int |
InteractiveControlPosition.compareTo(InteractiveControlPosition o) |
T |
InteractiveControl.setPositions(InteractiveControlPosition... controlPositions)
Sets the
InteractiveControlPositions for this InteractiveControl . |
Modifier and Type | Method and Description |
---|---|
T |
InteractiveControl.setPositions(Collection<InteractiveControlPosition> controlPositions)
Sets the
InteractiveControlPositions for this InteractiveControl . |
Constructor and Description |
---|
ButtonControl(String controlID,
String sceneID,
InteractiveControlPosition... position)
Initializes a new
ButtonControl . |
JoystickControl(String controlID,
String sceneID,
InteractiveControlPosition... position)
Initializes a new
JoystickControl . |
Copyright © 2018. All rights reserved.