|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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 nullside - the side of the available space at which the
view hangs, not null.| Method Detail |
|---|
public Dimension modelToView(Dimension size)
AxisConversionsize from model to view.
modelToView in interface AxisConversionsize - some dimension in the model, not null
null
nor sizepublic Rectangle modelToView(Rectangle bounds)
AxisConversionbounds from model to view.
modelToView in interface AxisConversionbounds - some boundaries given in the model, not null
null
nor boundspublic Dimension viewToModel(Dimension size)
AxisConversionsize from view to model.
viewToModel in interface AxisConversionsize - some dimension in the view, not null
null nor sizepublic Rectangle viewToModel(Rectangle bounds)
AxisConversionbounds from view to model.
viewToModel in interface AxisConversionbounds - 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 | |||||||||