com.tensegrity.graphics.render
Class RendererConfiguration

java.lang.Object
  extended bycom.tensegrity.graphics.render.RendererConfiguration

public class RendererConfiguration
extends java.lang.Object

Class RendererConfiguration provides configuration settings for a Renderer by providing a set of Attribute objects whose names are defined by constants of this class. This class supports the configuration of the following items:

Attribute Name Description
SUPPRESS_MARKERS Suppresses the rendering of markers MarkerFormat
SUPPRESS_TEXT Suppresses the rendering of text FontFormat
SUPPRESS_SELECTION_MARKER Suppresses the rendering of selection markers InteractionContext
TEXT_CUTOFF Defines a cutoff value for text rendering. This means if the height of the rendered text is smaller than the defined value, the text will not be rendered.

The RendererConfiguration class provides the following methods to work with and modify the provided Attribute objects:

Version:
$Id: RendererConfiguration.java,v 1.28 2005/11/10 17:55:03 KevinCVS Exp $
Author:
MichaelKegel, BurkhardWick
See Also:
Attribute

Field Summary
static java.lang.String ANTI_ALIASING
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String HINT_STROKE_FORCE_HAIRLINE
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String HINT_STROKE_ZOOM
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String HINT_SUPPRESS_DETAILS_ALL
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String HINT_SUPPRESS_DETAILS_GLOBAL
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String HINT_SUPPRESS_DETAILS_SELECTION
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_DRAGGED_OBJECTS
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_FILLING
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_GROUP_BUTTON
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_INDICATORS
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_MARKERS
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_SELECTION_MARKER
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_STROKE_CAPS
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_TEXT
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_TEXT_BACKGROUND
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String SUPPRESS_TEXT_BORDER
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String TEXT_CUTOFF
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String TEXT_RETOUCHING
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String VIEW_SCALE_OVERRIDE
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String VIEW_SCALE_X
          Constant that defines the name of the Attribute for a configuration item.
static java.lang.String VIEW_SCALE_Y
          Constant that defines the name of the Attribute for a configuration item.
 
Constructor Summary
RendererConfiguration()
          Constructor for RendererConfiguration.
 
Method Summary
 Attribute getAttribute(java.lang.String attributename)
          Returns the Attribute of the configuration item specified by attributename or null if the given name specifies no configuration item.
 java.util.Iterator getAttributesIterator()
          Returns an Iterator for all the names that identify valid configuration items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPPRESS_MARKERS

public static final java.lang.String SUPPRESS_MARKERS
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_FILLING

public static final java.lang.String SUPPRESS_FILLING
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_TEXT

public static final java.lang.String SUPPRESS_TEXT
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_TEXT_BORDER

public static final java.lang.String SUPPRESS_TEXT_BORDER
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_TEXT_BACKGROUND

public static final java.lang.String SUPPRESS_TEXT_BACKGROUND
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_GROUP_BUTTON

public static final java.lang.String SUPPRESS_GROUP_BUTTON
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_SELECTION_MARKER

public static final java.lang.String SUPPRESS_SELECTION_MARKER
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

HINT_STROKE_FORCE_HAIRLINE

public static final java.lang.String HINT_STROKE_FORCE_HAIRLINE
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

HINT_STROKE_ZOOM

public static final java.lang.String HINT_STROKE_ZOOM
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_DRAGGED_OBJECTS

public static final java.lang.String SUPPRESS_DRAGGED_OBJECTS
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_INDICATORS

public static final java.lang.String SUPPRESS_INDICATORS
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

HINT_SUPPRESS_DETAILS_GLOBAL

public static final java.lang.String HINT_SUPPRESS_DETAILS_GLOBAL
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

HINT_SUPPRESS_DETAILS_SELECTION

public static final java.lang.String HINT_SUPPRESS_DETAILS_SELECTION
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

HINT_SUPPRESS_DETAILS_ALL

public static final java.lang.String HINT_SUPPRESS_DETAILS_ALL
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

TEXT_CUTOFF

public static final java.lang.String TEXT_CUTOFF
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

TEXT_RETOUCHING

public static final java.lang.String TEXT_RETOUCHING
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

VIEW_SCALE_X

public static final java.lang.String VIEW_SCALE_X
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

VIEW_SCALE_Y

public static final java.lang.String VIEW_SCALE_Y
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

VIEW_SCALE_OVERRIDE

public static final java.lang.String VIEW_SCALE_OVERRIDE
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

SUPPRESS_STROKE_CAPS

public static final java.lang.String SUPPRESS_STROKE_CAPS
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values

ANTI_ALIASING

public static final java.lang.String ANTI_ALIASING
Constant that defines the name of the Attribute for a configuration item.

See Also:
Constant Field Values
Constructor Detail

RendererConfiguration

public RendererConfiguration()
Constructor for RendererConfiguration.

Method Detail

getAttribute

public Attribute getAttribute(java.lang.String attributename)
Returns the Attribute of the configuration item specified by attributename or null if the given name specifies no configuration item.

Parameters:
attributename - the name of the Attribute for the configuration item
Returns:
Attribute the Attribute of the configuration item

Find more information in the class documentation


getAttributesIterator

public java.util.Iterator getAttributesIterator()
Returns an Iterator for all the names that identify valid configuration items. The iterator returns instances of type Attribute.

Returns:
an iterator for all the names that identify valid configuration-items.

Find more information in the class documentation



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.