|
||||||||||
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(java.awt.Rectangle space,
TabPlacement side)
Creates a new axis converter |
Method Summary | |
---|---|
java.awt.Dimension |
modelToView(java.awt.Dimension size)
Converts size from model to view. |
java.awt.Rectangle |
modelToView(java.awt.Rectangle bounds)
Converts bounds from model to view. |
java.awt.Dimension |
viewToModel(java.awt.Dimension size)
Converts size from view to model. |
java.awt.Rectangle |
viewToModel(java.awt.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(java.awt.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 java.awt.Dimension modelToView(java.awt.Dimension size)
AxisConversion
size
from model to view.
modelToView
in interface AxisConversion
size
- some dimension in the model, not null
null
nor size
public java.awt.Rectangle modelToView(java.awt.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 java.awt.Dimension viewToModel(java.awt.Dimension size)
AxisConversion
size
from view to model.
viewToModel
in interface AxisConversion
size
- some dimension in the view, not null
null
nor size
public java.awt.Rectangle viewToModel(java.awt.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 |