|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.tab.DefaultAxisConversion
public class DefaultAxisConversion
The default AxisConversion
assumes:
Constructor Summary | |
---|---|
DefaultAxisConversion(Rectangle space,
TabPlacement side)
Creates a new axis converter |
Method Summary | |
---|---|
Dimension |
modelToView(Dimension size)
Converts size from model to view. |
Rectangle |
modelToView(Rectangle bounds)
Converts bounds from model to view. |
Dimension |
viewToModel(Dimension size)
Converts size from view to model. |
Rectangle |
viewToModel(Rectangle bounds)
Converts bounds from view to model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAxisConversion(Rectangle space, TabPlacement side)
space
- the space available for the view, not null
side
- the side of the available space
at which the
view hangs, not null
.Method Detail |
---|
public Dimension modelToView(Dimension size)
AxisConversion
size
from model to view.
modelToView
in interface AxisConversion
size
- some dimension in the model, not null
null
nor size
public Rectangle modelToView(Rectangle bounds)
AxisConversion
bounds
from model to view.
modelToView
in interface AxisConversion
bounds
- some boundaries given in the model, not null
null
nor bounds
public Dimension viewToModel(Dimension size)
AxisConversion
size
from view to model.
viewToModel
in interface AxisConversion
size
- some dimension in the view, not null
null
nor size
public Rectangle viewToModel(Rectangle bounds)
AxisConversion
bounds
from view to model.
viewToModel
in interface AxisConversion
bounds
- some boundaries given in the view, not null
null
nor bounds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |