83 |
this.panX = panX; |
this.panX = panX; |
84 |
this.panY = panY; |
this.panY = panY; |
85 |
} |
} |
86 |
|
public String toString() { |
87 |
|
return "[SimpleFocus: "+panX+" "+panY+" "+zoom+"]"; |
88 |
|
} |
89 |
} |
} |
90 |
|
|
91 |
/** The view shown in this buoy node. |
/** The view shown in this buoy node. |
95 |
|
|
96 |
protected Focus focus; |
protected Focus focus; |
97 |
public Focus getFocus() { return focus; } |
public Focus getFocus() { return focus; } |
98 |
public void setFocus(Focus f) { this.focus = focus; } |
public void setFocus(Focus focus) { this.focus = focus; } |
99 |
|
|
100 |
public interface Factory { |
public interface Factory { |
101 |
AbstractMainNode2D create(Object plane, View2D view2d, |
AbstractMainNode2D create(Object plane, View2D view2d, |