bibliothek.gui.dock
Class StackDockStation.Insert

java.lang.Object
  extended by bibliothek.gui.dock.StackDockStation.Insert
Enclosing class:
StackDockStation

public static class StackDockStation.Insert
extends Object

Describes the gap between two tabs.

Author:
Benjamin Sigg

Constructor Summary
StackDockStation.Insert(int tab, boolean right)
          Constructs a new Gap-location
 
Method Summary
 int getTab()
          A reference for this gap, the gap is either at the left or at the right side of this tab.
 boolean isRight()
          Whether the tab is at the left or the right of getTab().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackDockStation.Insert

public StackDockStation.Insert(int tab,
                               boolean right)
Constructs a new Gap-location

Parameters:
tab - The location of a base-tab
right - Whether the gap is left or right of tab
Method Detail

getTab

public int getTab()
A reference for this gap, the gap is either at the left or at the right side of this tab.

Returns:
the reference

isRight

public boolean isRight()
Whether the tab is at the left or the right of getTab().

Returns:
true if the gab is at the right side