bibliothek.gui.dock.facile.station.split
Class LockedResizeLayoutManager.ResizeRequest

java.lang.Object
  extended by bibliothek.gui.dock.facile.station.split.LockedResizeLayoutManager.ResizeRequest
Enclosing class:
LockedResizeLayoutManager<T>

protected static class LockedResizeLayoutManager.ResizeRequest
extends Object

Represents the mismatch in size that some node has.

Author:
Benjamin Sigg

Constructor Summary
LockedResizeLayoutManager.ResizeRequest(double deltaWidth, double deltaHeight)
           
LockedResizeLayoutManager.ResizeRequest(double deltaWidth, double deltaHeight, int fractionWidth, int fractionHeight)
           
 
Method Summary
 double getDeltaHeight()
          Gets the mismatch in height this request represents.
 double getDeltaWidth()
          Gets the mismatch in width this request represents.
 int getFractionHeight()
          Gets the fraction of the mismatch the parent of the element that issued this request should provide.
 int getFractionWidth()
          Gets the fraction of the mismatch the parent of the element that issued this request should provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockedResizeLayoutManager.ResizeRequest

public LockedResizeLayoutManager.ResizeRequest(double deltaWidth,
                                               double deltaHeight)

LockedResizeLayoutManager.ResizeRequest

public LockedResizeLayoutManager.ResizeRequest(double deltaWidth,
                                               double deltaHeight,
                                               int fractionWidth,
                                               int fractionHeight)
Method Detail

getDeltaWidth

public double getDeltaWidth()
Gets the mismatch in width this request represents.

Returns:
the mismatch

getDeltaHeight

public double getDeltaHeight()
Gets the mismatch in height this request represents.

Returns:
the mismatch

getFractionWidth

public int getFractionWidth()
Gets the fraction of the mismatch the parent of the element that issued this request should provide.

Returns:
the fraction

getFractionHeight

public int getFractionHeight()
Gets the fraction of the mismatch the parent of the element that issued this request should provide.

Returns:
the fraction