|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the ConceptView interface for all view classes to implement. The view will be responsible for displaying the graph to the user, typically extending one of the AWT or JFC classes to do so. This class is not responsible for dealing with user input or managing the graph data. All this class does is display the graph data.
Field Summary |
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Method Summary | |
DPoint |
activateEntity(VisualEntity activator)
|
void |
addViewListener(ConceptViewListener l)
Adds a view listener to this object's listener list. |
void |
addViewPaintListener(ConceptViewPaintListener l)
Adds a view paint listener to this object's listener list. |
void |
attach(CreekModel model)
We're being attached to a document for the first time. |
java.awt.image.BufferedImage |
createPrintImage()
|
void |
dataChanged(VertexList vl,
RelationList rl)
|
void |
detach()
The view is being shut down. |
void |
drawSelectedNodes()
|
VisualEntity |
findVisualEntity(double x,
double y)
|
void |
fireContentsResize()
|
java.awt.Rectangle |
getBounds()
|
double |
getHSpacing()
|
java.awt.Point |
getMidPoint()
|
Matrix33 |
getMoveTransform()
|
VisualEntity |
getRoot()
|
double |
getScale()
|
Matrix33 |
getViewTransform()
|
double |
getWinHeight()
|
double |
getWinWidth()
|
double |
getVSpacing()
|
void |
removeViewListener(ConceptViewListener l)
Removes a view listener from this object's listener list. |
void |
removeViewPaintListener(ConceptViewPaintListener l)
Removes a view paint listener from this object's listener list. |
void |
repaint()
Repaints this component. |
void |
repaint(int x,
int y,
int width,
int height)
|
void |
setGraph(Graph graph)
Updates the display to match the current state of the model. |
void |
setOffsets(double xoffset,
double yoffset,
boolean redraw)
|
void |
setRoot(VisualEntity vent)
|
void |
setScale(double newScale)
|
Methods inherited from interface java.awt.print.Printable |
print |
Method Detail |
public void addViewListener(ConceptViewListener l)
l
- listener to add to view's listpublic void addViewPaintListener(ConceptViewPaintListener l)
l
- listener to add to view's listpublic void attach(CreekModel model)
public void setGraph(Graph graph)
public void detach()
public void removeViewListener(ConceptViewListener l)
l
- listener to remove from view's listpublic void removeViewPaintListener(ConceptViewPaintListener l)
l
- listener to remove from view's listpublic void repaint()
public void repaint(int x, int y, int width, int height)
public Matrix33 getViewTransform()
public Matrix33 getMoveTransform()
public double getWinWidth()
public double getWinHeight()
public java.awt.Point getMidPoint()
public void setScale(double newScale)
public double getScale()
public VisualEntity findVisualEntity(double x, double y)
public void fireContentsResize()
public DPoint activateEntity(VisualEntity activator)
public java.awt.Rectangle getBounds()
public double getHSpacing()
public double getVSpacing()
public VisualEntity getRoot()
public void setRoot(VisualEntity vent)
public java.awt.image.BufferedImage createPrintImage()
public void drawSelectedNodes()
public void setOffsets(double xoffset, double yoffset, boolean redraw)
public void dataChanged(VertexList vl, RelationList rl)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |