|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AxisConversion
An axis conversion transforms coordinates and sizes from one to another system. In general:
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. |
Method Detail |
---|
Dimension modelToView(Dimension size)
size
from model to view.
size
- some dimension in the model, not null
null
nor size
Dimension viewToModel(Dimension size)
size
from view to model.
size
- some dimension in the view, not null
null
nor size
Rectangle modelToView(Rectangle bounds)
bounds
from model to view.
bounds
- some boundaries given in the model, not null
null
nor bounds
Rectangle viewToModel(Rectangle bounds)
bounds
from view to model.
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 |