sky.monome.frame
Interface Frame

All Known Subinterfaces:
SizedFrame
All Known Implementing Classes:
AbstractFrameWindow, AbstractInertiaFrameWindow, AbstractWindow, BoundedFrameWindow, CharacterFrame, DefaultFrame, FrameWindow, InertiaBoundedFrameWindow, InertiaFrameWindow, InertiaMirroredFrameWindow, MirroredFrameWindow, PictureFrame

public interface Frame

Frame that can be shown or used in multiple ways.

Author:
PJ Skyman

Method Summary
 LedButtonCouple.LedState get(int x, int y)
          Returns the led state at specified coordinates.
 void set(int x, int y, LedButtonCouple.LedState ledState)
          Modifies the led state at specified coordinates.
 

Method Detail

get


LedButtonCouple.LedState get(int x,

                             int y)
Returns the led state at specified coordinates.

Parameters:
x - X-coordinate of the led state needed.
y - Y-coordinate of the led state needed.
Returns:
The led state at specified coordinates.

set


void set(int x,

         int y,

         LedButtonCouple.LedState ledState)
Modifies the led state at specified coordinates.

Parameters:
x - X-coordinate of the led state to be modified.
y - Y-coordinate of the led state to be modified.
ledState - New led state to affect at specified coordinate.