public class FigureUpdater extends java.lang.Object implements java.beans.PropertyChangeListener
| Constructor and Description |
|---|
FigureUpdater()
Creates a figure updater.
|
| Modifier and Type | Method and Description |
|---|---|
diva.canvas.Figure |
getFigure()
Gets the associated figure.
|
boolean |
isStarted()
Tells if the figure is started.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
setFigure(diva.canvas.Figure fig)
Sets the figure.
|
void |
setPropertyNameForLabel(java.lang.String propName)
Sets the property name for the case of LabelFigure
|
void |
start()
Starts the dynamic behavior of the figure.
|
void |
stop()
Stops the dynamic behavior of the figure.
|
void |
update()
Updates the figure.
|
public FigureUpdater()
setFigure(Figure) to associate a
figure.public void setFigure(diva.canvas.Figure fig)
fig - public diva.canvas.Figure getFigure()
public void setPropertyNameForLabel(java.lang.String propName)
propName - Name of propertypublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic void start()
public void stop()
public boolean isStarted()
public void update()