|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsky.monome.frame.AbstractWindow<T,F>
sky.monome.frame.AbstractInertiaFrameWindow<Frame,InertiaFrameWindow>
sky.monome.frame.InertiaFrameWindow
public class InertiaFrameWindow
Window that makes a movable view over a frame with an inertia translation offset and without any mirroring effect at frame bounds.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class sky.monome.frame.AbstractWindow |
|---|
AbstractWindow.WindowType |
| Field Summary |
|---|
| Fields inherited from class sky.monome.frame.AbstractInertiaFrameWindow |
|---|
intX, intY, LOOP_TIME, loopTime, x, xIncrement, y, yIncrement |
| Fields inherited from class sky.monome.frame.AbstractWindow |
|---|
eventListenerList, frame, windowContainer |
| Constructor Summary | |
|---|---|
InertiaFrameWindow(Frame frame)
Constructs an intertia frame window with the specified frame and the default window type WindowType.LEDS_OFF_OUTSIDE. |
|
InertiaFrameWindow(Frame frame,
AbstractWindow.WindowType windowType)
Constructs an inertia frame window with the specified frame and the specified window type. |
|
| Method Summary | |
|---|---|
LedButtonCouple.LedState |
get(int x,
int y)
Returns the led state at specified coordinates. |
| Methods inherited from class sky.monome.frame.AbstractInertiaFrameWindow |
|---|
applyXIncrement, applyYIncrement, getLoopTime, setLoopTime, setXIncrement, setYIncrement |
| Methods inherited from class sky.monome.frame.AbstractWindow |
|---|
addFrameListener, fireFrameChanged, getFrameListeners, getOnFrame, removeFrameListener, set, setOnFrame, setWindowContainer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InertiaFrameWindow(Frame frame)
WindowType.LEDS_OFF_OUTSIDE.
frame - Frame over which this windows makes a view.
public InertiaFrameWindow(Frame frame,
AbstractWindow.WindowType windowType)
frame - Frame over which this windows makes a view.windowType - Window type to respect.| Method Detail |
|---|
public LedButtonCouple.LedState get(int x,
int y)
x - X-coordinate of the led state needed.y - Y-coordinate of the led state needed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||