|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface View
Interface for classes that implement a view for a Graph2D.

| Method Summary | |
|---|---|
java.awt.Component |
getComponent()
Returns the AWT component on which the view acts. |
java.awt.Frame |
getFrame()
Returns the frame in which the view is contained. |
Graph2D |
getGraph2D()
Returns the Graph2D that this view displays. |
void |
updateView()
Redraws the content of this view. |
void |
updateView(double x,
double y,
double w,
double h)
Redraws parts of the contents of this view. |
| Method Detail |
|---|
Graph2D getGraph2D()
void updateView()
void updateView(double x,
double y,
double w,
double h)
x - the upper left corner of the rectangular area to be updated in world coordinatesy - the upper left corner of the rectangular area to be updated in world coordinatesw - the width of the rectangular area to be updated in world coordinatesh - the height of the rectangular area to be updated in world coordinatesupdateView(),
Component.repaint(int, int, int, int)java.awt.Frame getFrame()
null is returned.
java.awt.Component getComponent()
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||