Interface GlimpsePainter
-
- All Known Implementing Classes:
AbstractTreeMapPainter
,AnnotationPainter
,BackgroundPainter
,BorderPainter
,CollapsibleTimePlot2D
,ColorAxisPlot2D
,ColorRightYAxisPainter
,ColorTopXAxisPainter
,ColorXAxisPainter
,ColorYAxisPainter
,ContourPainter
,CopyrightPainter
,CrosshairPainter
,CursorTextPainter
,CursorTextZPainter
,DelegatePainter
,DncPainter
,DncPainterSync
,DynamicLineSetPainter
,DynamicPointSetPainter
,EmptyPlot2D
,EquirectTopoPainter
,EventPainterManager
,FpsPainter
,FunctionPlotExample.Function1DPainter
,GlimpseAxisLayout1D
,GlimpseAxisLayout2D
,GlimpseAxisLayout2DWithPopup
,GlimpseAxisLayoutX
,GlimpseAxisLayoutY
,GlimpseLayout
,GlimpsePainterBase
,GlimpseTouchLayout
,GlimpseTouchWrapper
,GlimpseVerticallyScrollableLayout
,GridPainter
,GroupLabelPainter
,HeatMapPainter
,HistogramPainter
,IconPainter
,LandShapePainter
,LatLonTrackPainter
,LegendPainter
,LegendPainter.BlockLegendPainter
,LegendPainter.LineLegendPainter
,LineJoinExample.CustomLinesPainter
,LineJoinExample2.CustomLinesPainter
,LinePathExample.CustomLinesPainter
,LineSetPainter
,LineStripExample.LineStripExamplePainter
,MapBorderPainter
,MapPlot2D
,MeasurementPainter
,MercatorTopoPainter
,MinimapLayout
,MinimapLayout.MiniMapBoundsPainter
,MultiAxisPlot2D
,MultiAxisPlot2DWithPopup
,NdgcLandPainter
,NumericAxisPainter
,NumericPolarAxisPainter
,NumericRightYAxisPainter
,NumericRotatedRightYAxisPainter
,NumericRotatedYAxisPainter
,NumericTopXAxisPainter
,NumericXAxisPainter
,NumericXYAxisPainter
,NumericYAxisPainter
,Plot2D
,PointSetPainter
,PolygonPainter
,PolygonPainterSimple
,ScalePainter
,SelectedTimeRegionPainter
,ShadedPointPainter
,ShadedReliefTiledPainter
,ShadedTexturePainter
,ShorelineTilePainter
,SimplePlot2D
,SimpleSelectedTimeRegionPainter
,SimpleTextPainter
,SimpleTreeMapPainter
,SlippyMapPainter
,SlippyMapTilePainter
,StackedHistogramPainter
,StackedPlot2D
,StackedTimePlot2D
,StaticTrackPainter
,TaggedColorAxisPlot2D
,TaggedColorXAxisPainter
,TaggedColorYAxisPainter
,TaggedHeatMapPainter
,TaggedPartialColorXAxisPainter
,TaggedPartialColorYAxisPainter
,TaggedShadedPointPainter
,TextureAtlasExample.SimpleIconPainter
,TilePainter
,TimeAxisPainter
,TimeShadedPointPainter
,TimeXAxisPainter
,TimeYAxisPainter
,TooltipPainter
,TrackPainter
,TreeMapExample.TreeMapHoverPainter
,TriangleSetPainter
,WatermarkPainter
,WrappedAxisExample.DotPainter
,WrappedPainter
,XYLinePainter
public interface GlimpsePainter
GlimpsePainter is the base class for all Glimpse OpenGL drawing code. A GlimsePainter defines a "layer" which can be painted to a given GlimpseContext.- Author:
- ulman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose(GlimpseContext context)
Free GPU and CPU memory associated with this this GlimpsePainter.boolean
isDisposed()
boolean
isVisible()
void
paintTo(GlimpseContext context)
Renders this GlimpsePainter to the provided GlimpseContext.void
setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel.void
setVisible(boolean visible)
A painter which is set to non-visible should make no OpenGL calls when its paintTo method is called.
-
-
-
Method Detail
-
paintTo
void paintTo(GlimpseContext context)
Renders this GlimpsePainter to the provided GlimpseContext. The context defines the GLContext to use. The GlimpseContext also specifies where this GlimpsePainter should be rendered via the RenderTarget contained in the GlimpseContext.
-
setLookAndFeel
void setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel.
-
setVisible
void setVisible(boolean visible)
A painter which is set to non-visible should make no OpenGL calls when its paintTo method is called.
-
isVisible
boolean isVisible()
-
dispose
void dispose(GlimpseContext context)
Free GPU and CPU memory associated with this this GlimpsePainter. After this call returns, the results of calling other GlimpsePainter methods besides isDisposed( ) are undefined.
-
isDisposed
boolean isDisposed()
-
-