Interface | Description |
---|---|
ArgumentsBundle |
An interface that defines an arguments container that will be used by
RhythmSpecLayerFactory implementations
to query spec layer properties when creating new layers. |
RhythmSpecLayer |
Spec layer is a descriptor of a granular piece of overlay (e.g.
|
RhythmSpecLayerFactory<T extends RhythmSpecLayer> |
Interface for a factory that can instantiate a
RhythmSpecLayer implementation from provided ArgumentsBundle . |
RhythmSpecLayerParent |
An object that can contain other spec layers.
|
Class | Description |
---|---|
AbstractSpecLayerGroup<T extends AbstractSpecLayerGroup> |
An abstract base class with common functionality for Rhythm overlay layers that have sub-layers
|
MagicVariablesArgumentsBundle |
An implementation of
ArgumentsBundle that utilizes “magic variables” mechanism to resolve missing
layer arguments: if an argument is not explicitly specified, it tries resolving it from a variable named in a special
pattern @{layer_name}_{arg_name} where dashes are replaced with underscores. |
RhythmDrawable |
Renders the currently assigned
RhythmOverlay and serves as an adapter between Rhythm (which sets the
overlay to draw by this drawable at the moment) and the views where the overlay (grids, keylines etc) must be
applied. |
RhythmOverlay |
Defines a single overlay configuration, i.e.
|
RhythmOverlayInflater |
A default inflater that creates RhythmOverlays from text configuration using registered layer
factories.
|
RhythmOverlayInflater.LayerConfig |
A spec layer descriptor holding arguments and metadata, used internally by
RhythmOverlayInflater to carry
values needed to inflate individual layers and their hierarchies. |
SimpleArgumentsBundle |
A basic implementation of
ArgumentsBundle , which stores all arguments simply as a String->String key-value
map and parses them into required types when accessed by respective getter methods (meaning it also fails lazily). |
SimpleCacheFactory<T extends RhythmSpecLayer> |
A decorator for a spec layer factory that performs simple caching of previously inflated layers
|
Exception | Description |
---|---|
RhythmInflationException |
A runtime exception to be thrown when there is an error inflating declarative configuration, usually because of
syntax error or violated argument value constraints.
|
Annotation Type | Description |
---|---|
ArgumentsBundle.DimensionUnits |
Type definition for dimension argument units
|
ArgumentsBundle.EdgeAffinity |
Type definition for screen edge that a keyline or pattern must be attached to.
|