public class RetroScreenDockStationLayout extends ScreenDockStationLayout
ScreenDockStationLayout
, kept for backwards compatibility. Should not
be used by clients.Constructor and Description |
---|
RetroScreenDockStationLayout() |
Modifier and Type | Method and Description |
---|---|
void |
add(int id,
int x,
int y,
int width,
int height)
Adds a new entry to this layout.
|
int |
height(int index)
Gets the height of the index'th entry.
|
int |
id(int index)
Gets the id of the index'th entry.
|
int |
size()
Gets the number of entries in this layout.
|
int |
width(int index)
Gets the width of the index'th entry.
|
int |
x(int index)
Gets the x coordinate of the index'th entry.
|
int |
y(int index)
Gets the y coordinate of the index'th entry.
|
getPlaceholders
public void add(int id, int x, int y, int width, int height)
id
- the id of the entryx
- the x coordinatey
- the y coordinatewidth
- the widthheight
- the heightpublic int size()
public int id(int index)
index
- the index of the entrypublic int x(int index)
index
- the index of the entrypublic int y(int index)
index
- the index of the entrypublic int width(int index)
index
- the index of the entrypublic int height(int index)
index
- the index of the entry