JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util
Interface RenderProperties

All Known Implementing Classes:
JCChart

public interface RenderProperties

Interface used to access specific component render properties.

Internal use only. Don't use.


Field Summary
static int ANTI_ALIASING_DEFAULT
           
static int ANTI_ALIASING_OFF
           
static int ANTI_ALIASING_ON
           
 
Method Summary
 int getAntiAliasing()
          Gets the antiAliasing value.
 boolean isUsingDoublePixels()
          Gets whether the component computes its pixel values using doubles rather than integers.
 void setAntiAliasing(int antiAliasing)
          Sets the antiAliasing value.
 void setUsingDoublePixels(boolean usingDoubles)
          Sets whether the component computes its pixel values using doubles rather than integers.
 

Field Detail

ANTI_ALIASING_DEFAULT

public static final int ANTI_ALIASING_DEFAULT
See Also:
Constant Field Values

ANTI_ALIASING_ON

public static final int ANTI_ALIASING_ON
See Also:
Constant Field Values

ANTI_ALIASING_OFF

public static final int ANTI_ALIASING_OFF
See Also:
Constant Field Values
Method Detail

getAntiAliasing

public int getAntiAliasing()
Gets the antiAliasing value. This value determines whether antiAliasing is on when painting the component and all its subcomponents. If set to ANTI_ALIASING_ON or ANTI_ALIASING_OFF, the anti aliasing rendering hint will be explicity turned on or off on the graphics object used by the component to paint its children. If set to ANTI_ALIASING_DEFAULT, the graphics object will be untouched with respect to anti aliasing when the component is painted.

Returns:
The current antiAliasing value.

setAntiAliasing

public void setAntiAliasing(int antiAliasing)
Sets the antiAliasing value. This value determines whether antiAliasing is on when painting the component and all its subcomponents. If set to ANTI_ALIASING_ON or ANTI_ALIASING_OFF, the anti aliasing rendering hint will be explicity turned on or off on the graphics object used by the component to paint its children. If set to ANTI_ALIASING_DEFAULT, the graphics object will be untouched with respect to anti aliasing when the component is painted.

Parameters:
antiAliasing - The new antiAliasing value.

setUsingDoublePixels

public void setUsingDoublePixels(boolean usingDoubles)
Sets whether the component computes its pixel values using doubles rather than integers.

Parameters:
usingDoubles - The new value of usingDoubles.

isUsingDoublePixels

public boolean isUsingDoublePixels()
Gets whether the component computes its pixel values using doubles rather than integers.

Returns:
true, if the component computes its pixel values using doubles.

Copyright © 2004 Quest Software Inc..
All rights reserved.