|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.render.RendererConfiguration
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:
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 |
public static final java.lang.String SUPPRESS_MARKERS
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_FILLING
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_TEXT
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_TEXT_BORDER
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_TEXT_BACKGROUND
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_GROUP_BUTTON
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_SELECTION_MARKER
Attribute for a
configuration item.
public static final java.lang.String HINT_STROKE_FORCE_HAIRLINE
Attribute for a
configuration item.
public static final java.lang.String HINT_STROKE_ZOOM
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_DRAGGED_OBJECTS
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_INDICATORS
Attribute for a
configuration item.
public static final java.lang.String HINT_SUPPRESS_DETAILS_GLOBAL
Attribute for a
configuration item.
public static final java.lang.String HINT_SUPPRESS_DETAILS_SELECTION
Attribute for a
configuration item.
public static final java.lang.String HINT_SUPPRESS_DETAILS_ALL
Attribute for a
configuration item.
public static final java.lang.String TEXT_CUTOFF
Attribute for a
configuration item.
public static final java.lang.String TEXT_RETOUCHING
Attribute for a
configuration item.
public static final java.lang.String VIEW_SCALE_X
Attribute for a
configuration item.
public static final java.lang.String VIEW_SCALE_Y
Attribute for a
configuration item.
public static final java.lang.String VIEW_SCALE_OVERRIDE
Attribute for a
configuration item.
public static final java.lang.String SUPPRESS_STROKE_CAPS
Attribute for a
configuration item.
public static final java.lang.String ANTI_ALIASING
Attribute for a
configuration item.
| Constructor Detail |
public RendererConfiguration()
RendererConfiguration.
| Method Detail |
public Attribute getAttribute(java.lang.String attributename)
Attribute of the configuration item
specified by attributename or null if the
given name specifies no configuration item.
attributename - the name of the Attribute for the
configuration item
Attribute of the configuration itempublic java.util.Iterator getAttributesIterator()
Iterator for all the names that identify
valid configuration items. The iterator returns instances of type
Attribute.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||