|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.facile.station.split.ResizeRequest
public class ResizeRequest
Represents the mismatch in size that some node has.
| Constructor Summary | |
|---|---|
ResizeRequest(double deltaWidth,
double deltaHeight)
Creates a new size request with fraction-width/height set to 1. |
|
ResizeRequest(double deltaWidth,
double deltaHeight,
int fractionWidth,
int fractionHeight)
Creates a new size request. |
|
| 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 |
|---|
public ResizeRequest(double deltaWidth,
double deltaHeight)
deltaWidth - the amount of space that is missing in widthdeltaHeight - the amount of space that is missing in height
public ResizeRequest(double deltaWidth,
double deltaHeight,
int fractionWidth,
int fractionHeight)
deltaWidth - the amount of space that is missing in widthdeltaHeight - the amount of space that is missing in heightfractionWidth - the fraction of space the parent of the asking node
should provide. If this value is set to x, then the parent would grant 1/x
of the request. -1 indicates that the width should be ignored.fractionHeight - the fraction of space the parent of the asking node
should provide. If this value is set to x, then the parent would grant 1/x
of the request. -1 indicates that the height should be ignored.| Method Detail |
|---|
public double getDeltaWidth()
public double getDeltaHeight()
public int getFractionWidth()
public int getFractionHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||