bibliothek.gui.dock.station.screen
Class RetroScreenDockStationLayout

java.lang.Object
  extended by bibliothek.gui.dock.station.screen.ScreenDockStationLayout
      extended by bibliothek.gui.dock.station.screen.RetroScreenDockStationLayout

public class RetroScreenDockStationLayout
extends ScreenDockStationLayout

Old version of ScreenDockStationLayout, kept for backwards compatibility. Should not be used by clients.

Author:
Benjamin Sigg

Constructor Summary
RetroScreenDockStationLayout()
           
 
Method Summary
 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.
 
Methods inherited from class bibliothek.gui.dock.station.screen.ScreenDockStationLayout
getPlaceholders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetroScreenDockStationLayout

public RetroScreenDockStationLayout()
Method Detail

add

public void add(int id,
                int x,
                int y,
                int width,
                int height)
Adds a new entry to this layout.

Parameters:
id - the id of the entry
x - the x coordinate
y - the y coordinate
width - the width
height - the height

size

public int size()
Gets the number of entries in this layout.

Returns:
the number of entries

id

public int id(int index)
Gets the id of the index'th entry.

Parameters:
index - the index of the entry
Returns:
the id

x

public int x(int index)
Gets the x coordinate of the index'th entry.

Parameters:
index - the index of the entry
Returns:
the coordinate

y

public int y(int index)
Gets the y coordinate of the index'th entry.

Parameters:
index - the index of the entry
Returns:
the coordinate

width

public int width(int index)
Gets the width of the index'th entry.

Parameters:
index - the index of the entry
Returns:
the width

height

public int height(int index)
Gets the height of the index'th entry.

Parameters:
index - the index of the entry
Returns:
the height