All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addAttachable(com.facebook.litho.Attachable attachable) |
void |
addChildAt(LithoNode child,
int index) |
void |
addComponentNeedingPreviousRenderData(java.lang.String globalKey,
ScopedComponentInfo scopedComponentInfo) |
void |
addTransition(Transition transition) |
void |
addWorkingRanges(java.util.List<com.facebook.litho.WorkingRangeContainer.Registration> registrations) |
void |
alignContent(YogaAlign alignContent) |
void |
alignItems(YogaAlign alignItems) |
void |
appendComponent(ScopedComponentInfo scopedComponentInfo) |
void |
appendUnresolvedComponent(Component component) |
void |
applyAttributes(Context c,
int defStyleAttr,
int defStyleRes) |
protected void |
applyDiffNode(LayoutStateContext current,
LithoLayoutResult result,
LithoLayoutResult parent) |
protected static void |
applyLayoutStyleAttributes(YogaLayoutProps props,
TypedArray a) |
void |
applyNodeInfo(NodeInfo nodeInfo) |
void |
background(Drawable background) |
void |
backgroundColor(int backgroundColor) |
void |
backgroundRes(Context context,
int resId) |
void |
border(Border border) |
void |
border(int[] widths,
int[] colors,
float[] radii,
PathEffect effect) |
LithoLayoutResult |
calculateLayout(RenderState.LayoutContext<LithoRenderContext> c,
int widthSpec,
int heightSpec)
Implementations of Node are responsible to calculate a layout based on the width/height
constraints provided.
|
void |
child(LithoNode child) |
void |
child(RenderStateContext renderStateContext,
ComponentContext c,
Component child) |
protected LithoNode |
clone() |
protected YogaLayoutProps |
createYogaNodeWriter(YogaNode node) |
void |
duplicateChildrenStates(boolean duplicateChildrenStates) |
void |
duplicateParentState(boolean duplicateParentState) |
void |
flexDirection(YogaFlexDirection direction) |
void |
focusedHandler(EventHandler<FocusedVisibleEvent> focusedHandler) |
void |
foreground(Drawable foreground) |
void |
foregroundColor(int foregroundColor) |
void |
foregroundRes(Context context,
int resId) |
protected void |
freeze(LithoNode parent) |
void |
fullImpressionHandler(EventHandler<FullImpressionVisibleEvent> fullImpressionHandler) |
java.util.List<com.facebook.litho.Attachable> |
getAttachables() |
Drawable |
getBackground() |
int[] |
getBorderColors() |
PathEffect |
getBorderPathEffect() |
float[] |
getBorderRadius() |
LithoNode |
getChildAt(int index) |
int |
getChildCount() |
int |
getChildIndex(LithoNode child) |
Component |
getComponentAt(int index) |
ComponentContext |
getComponentContextAt(int index) |
int |
getComponentCount() |
ScopedComponentInfo |
getComponentInfoAt(int index) |
LayoutProps |
getDebugLayoutEditor() |
EventHandler<FocusedVisibleEvent> |
getFocusedHandler() |
Drawable |
getForeground() |
EventHandler<FullImpressionVisibleEvent> |
getFullImpressionHandler() |
java.lang.String |
getGlobalKeyAt(int index) |
Component |
getHeadComponent() |
ComponentContext |
getHeadComponentContext() |
java.lang.String |
getHeadComponentKey() |
int |
getImportantForAccessibility() |
EventHandler<InvisibleEvent> |
getInvisibleHandler() |
Paint |
getLayerPaint() |
int |
getLayerType() |
Mountable<?> |
getMountable() |
NodeInfo |
getNodeInfo() |
java.util.List<ScopedComponentInfo> |
getScopedComponentInfos() |
java.util.Map<java.lang.String,ScopedComponentInfo> |
getScopedComponentInfosNeedingPreviousRenderData() |
java.lang.String |
getSimpleName() |
StateListAnimator |
getStateListAnimator() |
int |
getStateListAnimatorRes() |
Component |
getTailComponent() |
ComponentContext |
getTailComponentContext() |
java.lang.String |
getTailComponentKey() |
ScopedComponentInfo |
getTailScopedComponentInfo() |
java.lang.String |
getTestKey()
A unique identifier which may be set for retrieving a component and its bounds when testing.
|
Edges |
getTouchExpansion() |
java.lang.String |
getTransitionGlobalKey() |
java.lang.String |
getTransitionKey() |
Transition.TransitionKeyType |
getTransitionKeyType() |
java.lang.String |
getTransitionOwnerKey() |
java.util.ArrayList<Transition> |
getTransitions() |
EventHandler<UnfocusedVisibleEvent> |
getUnfocusedHandler() |
java.util.List<Component> |
getUnresolvedComponents() |
EventHandler<VisibilityChangedEvent> |
getVisibilityChangedHandler() |
EventHandler<VisibleEvent> |
getVisibleHandler() |
float |
getVisibleHeightRatio() |
float |
getVisibleWidthRatio() |
java.util.ArrayList<com.facebook.litho.WorkingRangeContainer.Registration> |
getWorkingRangeRegistrations() |
boolean |
hasBorderColor() |
boolean |
hasStateListAnimatorResSet() |
boolean |
hasTouchExpansion() |
boolean |
hasTransitionKey() |
boolean |
hasVisibilityHandlers() |
LithoNode |
importantForAccessibility(int importantForAccessibility) |
LithoNode |
invisibleHandler(EventHandler<InvisibleEvent> invisibleHandler) |
boolean |
isClone() |
boolean |
isDuplicateChildrenStatesEnabled() |
boolean |
isDuplicateParentStateEnabled() |
boolean |
isForceViewWrapping() |
boolean |
isImportantForAccessibilityIsSet() |
boolean |
isLayoutDirectionInherit() |
void |
justifyContent(YogaJustify justifyContent) |
void |
layerType(int type,
Paint paint) |
void |
layoutDirection(YogaDirection direction) |
NodeInfo |
mutableNodeInfo() |
LithoNode |
reconcile(RenderStateContext renderStateContext,
ComponentContext c,
Component next,
ScopedComponentInfo nextScopedComponentInfo,
java.lang.String nextKey) |
void |
registerDebugComponent(DebugComponent debugComponent) |
void |
setMeasureFunction(YogaMeasureFunction measureFunction) |
void |
setMountable(Mountable<?> mountable) |
void |
setNestedPadding(Edges padding,
boolean[] isPercentage) |
void |
setNestedTreeHolder(NestedTreeHolder holder) |
protected static void |
setPaddingFromDrawable(YogaLayoutProps target,
Drawable drawable) |
void |
stateListAnimator(StateListAnimator stateListAnimator) |
void |
stateListAnimatorRes(int resId) |
void |
testKey(java.lang.String testKey) |
void |
touchExpansionPx(YogaEdge edge,
int touchExpansion) |
void |
transitionKey(java.lang.String key,
java.lang.String ownerKey) |
void |
transitionKeyType(Transition.TransitionKeyType type) |
void |
unfocusedHandler(EventHandler<UnfocusedVisibleEvent> unfocusedHandler) |
void |
visibilityChangedHandler(EventHandler<VisibilityChangedEvent> visibilityChangedHandler) |
void |
visibleHandler(EventHandler<VisibleEvent> visibleHandler) |
void |
visibleHeightRatio(float visibleHeightRatio) |
void |
visibleWidthRatio(float visibleWidthRatio) |
void |
wrap(YogaWrap wrap) |
void |
wrapInView() |