public enum Capability extends java.lang.Enum<Capability>
| Enum Constant and Description |
|---|
ADAPTER_BINDING |
ANIMATED_VIEW_MANIPULATION
Ability to manipulate views with animation, as long as the view does not change parent.
|
CUSTOM_BACKGROUND_COLOR
Ability to override the background of the rendering with transparency using
RenderParams.setOverrideBgColor(int) |
EMBEDDED_LAYOUT
Ability to control embedded layout parsers through
ILayoutPullParser.getParser(String) |
EXTENDED_VIEWINFO |
FIXED_SCALABLE_NINE_PATCH
Ability to properly resize nine-patch assets.
|
FULL_ANIMATED_VIEW_MANIPULATION
Ability to move views (even into a different ViewGroup) with animation.
|
LAYOUT_ONLY
Ability to ask for a layout only with no rendering through
SessionParams.setLayoutOnly() |
PLAY_ANIMATION
Ability to play animations with
RenderSession.animate(Object, String, boolean, IAnimationListener) |
RENDER
Ability to call
RenderSession.render() and RenderSession.render(long). |
RTL
Ability to render RTL layouts.
|
UNBOUND_RENDERING
Ability to render at full size, as required by the layout, and unbound by the screen
|
VIEW_MANIPULATION
Ability to call
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)RenderSession.setProperty(Object, String, String)The method that receives an animation listener can only use it if the ANIMATED_VIEW_MANIPULATION, or FULL_ANIMATED_VIEW_MANIPULATION is also supported. |
| Modifier and Type | Method and Description |
|---|---|
static Capability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capability UNBOUND_RENDERING
public static final Capability CUSTOM_BACKGROUND_COLOR
RenderParams.setOverrideBgColor(int)public static final Capability RENDER
RenderSession.render() and RenderSession.render(long).public static final Capability LAYOUT_ONLY
SessionParams.setLayoutOnly()public static final Capability EMBEDDED_LAYOUT
ILayoutPullParser.getParser(String)public static final Capability VIEW_MANIPULATION
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)RenderSession.setProperty(Object, String, String)public static final Capability PLAY_ANIMATION
RenderSession.animate(Object, String, boolean, IAnimationListener)public static final Capability ANIMATED_VIEW_MANIPULATION
RenderSession.insertChild(Object, ILayoutPullParser, int, IAnimationListener)RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)RenderSession.removeChild(Object, IAnimationListener)public static final Capability FULL_ANIMATED_VIEW_MANIPULATION
RenderSession.moveChild(Object, Object, int, java.util.Map, IAnimationListener)public static final Capability ADAPTER_BINDING
public static final Capability EXTENDED_VIEWINFO
public static final Capability FIXED_SCALABLE_NINE_PATCH
public static final Capability RTL
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null