de.jreality.tutorial.util.polygon
Class PointSequenceView
java.lang.Object
de.jreality.tutorial.util.polygon.PointSequenceView
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener
public class PointSequenceView
- extends java.lang.Object
- implements javax.swing.event.ChangeListener
A geometry representation for a PointSequence
. Will update to any changes of
the sequence.
- Author:
- Steffen Weissmann
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointSequenceView
public PointSequenceView(PointSequence sequence)
- Constructs a geometry for a point sequence.
- Parameters:
sequence
- the sequence to visualize.
setPointRadius
public void setPointRadius(double r)
setLineRadius
public void setLineRadius(double r)
setPointColor
public void setPointColor(java.awt.Color c)
setLineColor
public void setLineColor(java.awt.Color c)
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- Specified by:
stateChanged
in interface javax.swing.event.ChangeListener
getBase
public SceneGraphComponent getBase()