public class BasicGraphPane extends GraphPane
_backgroundEventLayer, _backgroundLayer, _foregroundEventLayer, _foregroundLayer, _layers, _overlayLayer
Constructor and Description |
---|
BasicGraphPane(GraphController controller,
GraphModel model,
NamedObj entity)
Create a pane that updates the background color on each repaint
if there is a preference attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
repaint()
Override the base class to set the background.
|
void |
repaint(DamageRegion damage)
Override the base class to set the background.
|
getGraphController, getGraphModel
_rebuildLayerArray, getBackgroundEventLayer, getBackgroundLayer, getForegroundEventLayer, getForegroundLayer, getOverlayLayer, layersFromBack, layersFromFront, setBackgroundEventLayer, setBackgroundLayer, setForegroundEventLayer, setForegroundLayer, setOverlayLayer
_initNewLayer, _nullifyLayer, dispatchEvent, getCanvas, getParent, getSize, getToolTipText, getTransformContext, isAntialiasing, isEnabled, layers, paint, paint, processLayerEvent, scale, setAntialiasing, setCanvas, setEnabled, setParent, setSize, setSize, setTransform, translate
public BasicGraphPane(GraphController controller, GraphModel model, NamedObj entity)
controller
- The controller.model
- The graph model.entity
- The Ptolemy II model being displayed.public void repaint()
repaint
in interface CanvasComponent
repaint
in class CanvasPane
public void repaint(DamageRegion damage)
repaint
in interface CanvasComponent
repaint
in class CanvasPane
damage
- The damage region.