|
||||||||||
| 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 | |
|---|---|
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. |
| Method Detail |
|---|
java.awt.Dimension modelToView(java.awt.Dimension size)
size from model to view.
size - some dimension in the model, not null
null
nor sizejava.awt.Dimension viewToModel(java.awt.Dimension size)
size from view to model.
size - some dimension in the view, not null
null nor sizejava.awt.Rectangle modelToView(java.awt.Rectangle bounds)
bounds from model to view.
bounds - some boundaries given in the model, not null
null
nor boundsjava.awt.Rectangle viewToModel(java.awt.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 | |||||||||