com.sas.visuals
Interface FullPaintInterface

All Known Implementing Classes:
TableView

public interface FullPaintInterface

This interface is designed to allow visual components to indicate that they have the ability to paint in a faster or degraded mode when full painting is disabled.

Visual components should implement this interface if their typical painting is too slow to allow for dynamic resizing of the component. An example of this might be a chart object which draws the chart based on a large set of data. Since performing the drawing (and associated calculations) may be too slow for interactive resizing, the chart can implement the FullPaintInterface and draw differently when full painting is disabled.


Method Summary
 void disableFullPaint()
          Tells component to not do a "complete" paint, but to just provide a rough "preview".
 void enableFullPaint()
          Tells component to resume complete painting.
 

Method Detail

disableFullPaint

void disableFullPaint()
Tells component to not do a "complete" paint, but to just provide a rough "preview". Could be interpreted to not update data from the model; a chart may omit labels or tick marks for example?


enableFullPaint

void enableFullPaint()
Tells component to resume complete painting.




Copyright © 2009 SAS Institute Inc. All Rights Reserved.