java.lang.Object
org.jfree.chart3d.graphics3d.RenderedElement
Represents an item or element that has been rendered by the graphics engine.
Properties can be assigned to the elements in order to provide the
information required for such things as end user interactivity.
- Since:
- 1.3
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRenderedElement
(Object type, Shape bounds) Creates a new interactive element with the specified type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears all properties for this element.getProperty
(String key) Returns the value of the property with the specified key, ornull
).getType()
Returns the element type, as specified in the constructor.void
setProperty
(String key, Object value) Sets the value for a property.toString()
Returns a string representation of the element, primarily for debugging purposes.
-
Field Details
-
TYPE
A key for the 'type' property. The value is an Object.- See Also:
-
BOUNDS
A key for the 'bounds' property (the value is aShape
).- See Also:
-
-
Constructor Details
-
RenderedElement
Creates a new interactive element with the specified type.- Parameters:
type
- the type (null
not permitted).bounds
- the bounds (null
permitted).
-
-
Method Details
-
getType
Returns the element type, as specified in the constructor.- Returns:
- The element type.
-
getProperty
Returns the value of the property with the specified key, ornull
).- Parameters:
key
- the key (null
not permitted).- Returns:
- The property value.
-
setProperty
Sets the value for a property.- Parameters:
key
- the property key (null
not permitted).value
- the property value.
-
clearProperties
Clears all properties for this element. -
toString
Returns a string representation of the element, primarily for debugging purposes.
-