|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.graph.AbstractLayoutObserver
The AbstractLayoutObserver is an abstract base class for
layout observer implementations.
| Field Summary | |
static int |
ADJUST_VIEWPORT_ACCORDING_TO_GRAPH
|
static int |
ADJUST_VIEWPORT_LEFTTOP
|
protected int |
stepcounter
counter of currently processed steps |
protected boolean |
suppressFilling
|
protected boolean |
suppressNavigatorAnimation
|
protected boolean |
suppressText
|
protected boolean |
suppressZoomToFit
|
protected int |
updatesteps
the number of steps between updates |
protected int |
viewportadjustment
|
| Constructor Summary | |
AbstractLayoutObserver(int updatesteps)
Constructor for AbstractLayoutController. |
|
AbstractLayoutObserver(int updatesteps,
int viewportadjustment)
Constructor for AbstractLayoutController. |
|
| Method Summary | |
boolean |
getSuppressFilling()
|
boolean |
getSuppressNavigatorAnimation()
|
boolean |
getSuppressText()
|
boolean |
getSuppressZoomToFit()
|
protected void |
prepare(GraphPanel gpanel)
|
void |
setSuppressFilling(boolean suppressFilling)
|
void |
setSuppressNavigatorAnimation(boolean suppressNavigatorAnimation)
|
void |
setSuppressText(boolean suppressText)
|
void |
setSuppressZoomToFit(boolean suppressZoomToFit)
|
protected void |
unprepare(GraphPanel gpanel)
|
protected void |
updateVisualGraphView(VisualGraphView visualgraphview)
This routine updates the view ports before the layout is performed depending on the view port adjustment instance variable (which is either ADJUST_VIEWPORT_LEFTTOP or
ADJUST_VIEWPORT_ACCORDING_TO_GRAPH).
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tensegrity.generic.util.Observer |
update |
| Field Detail |
public static final int ADJUST_VIEWPORT_LEFTTOP
public static final int ADJUST_VIEWPORT_ACCORDING_TO_GRAPH
protected final int updatesteps
protected int stepcounter
protected boolean suppressZoomToFit
protected boolean suppressFilling
protected boolean suppressText
protected boolean suppressNavigatorAnimation
protected int viewportadjustment
| Constructor Detail |
public AbstractLayoutObserver(int updatesteps)
AbstractLayoutController.
updatesteps - repaint only every updatesteps
public AbstractLayoutObserver(int updatesteps,
int viewportadjustment)
AbstractLayoutController.
updatesteps - repaint only every updatestepsviewportadjustment - constant that defines the view's viewport| Method Detail |
public boolean getSuppressZoomToFit()
public void setSuppressZoomToFit(boolean suppressZoomToFit)
public boolean getSuppressFilling()
public void setSuppressFilling(boolean suppressFilling)
public boolean getSuppressText()
public void setSuppressText(boolean suppressText)
public boolean getSuppressNavigatorAnimation()
public void setSuppressNavigatorAnimation(boolean suppressNavigatorAnimation)
protected final void prepare(GraphPanel gpanel)
protected final void unprepare(GraphPanel gpanel)
protected void updateVisualGraphView(VisualGraphView visualgraphview)
This routine updates the view ports before the layout is performed depending
on the view port adjustment instance variable (which is either
ADJUST_VIEWPORT_LEFTTOP or
ADJUST_VIEWPORT_ACCORDING_TO_GRAPH).
visualgraphview - the view of which the view ports are updated
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||