|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sky.monome.Component sky.monome.Container
public abstract class Container
Monome container. This class is the base class of all containers on a Monome device.
Field Summary | |
---|---|
protected int |
height
Height of this container. |
protected int |
width
Width of this container. |
Fields inherited from class sky.monome.Component |
---|
container, eventListenerList, lockObject, name, x, y |
Constructor Summary | |
---|---|
Container(java.lang.String name,
Container container,
int x,
int y,
int width,
int height)
Deprecated. Since SkyMonome v1.2, all components register themselves inside their container, so you don't need to specify the container by calling this constructor. |
|
Container(java.lang.String name,
int x,
int y,
int width,
int height)
Constructs a container with the specified name and specified coordinates and dimensions. |
Method Summary | |
---|---|
int |
getHeight()
Returns the height of this container. |
int |
getWidth()
Returns the width of this container. |
Methods inherited from class sky.monome.Component |
---|
canHaveParentContainer, getAbsoluteX, getAbsoluteY, getBounds, getContainer, getLockObject, getMonome, getName, getX, getY, isVisible, notify, toString, writeOn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final int width
protected final int height
Constructor Detail |
---|
@Deprecated public Container(java.lang.String name, Container container, int x, int y, int width, int height)
name
- Name of this container.container
- Container that contains this container.x
- X-coordinate of this container in the local context of its container.y
- Y-coordinate of this container in the local context of its container.width
- Width of this container.height
- Height of this container.public Container(java.lang.String name, int x, int y, int width, int height)
name
- Name of this container.x
- X-coordinate of this container in the local context of its container.y
- Y-coordinate of this container in the local context of its container.width
- Width of this container.height
- Height of this container.Method Detail |
---|
public int getWidth()
public int getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |