public class RadDataForm extends ScrollView implements EntityPropertyEditor.OnValidationEventListener
FrameLayout.LayoutParams
ViewGroup.MarginLayoutParams, ViewGroup.OnHierarchyChangeListener
View.AccessibilityDelegate, View.BaseSavedState, View.DragShadowBuilder, View.MeasureSpec, View.OnApplyWindowInsetsListener, View.OnAttachStateChangeListener, View.OnClickListener, View.OnContextClickListener, View.OnCreateContextMenuListener, View.OnDragListener, View.OnFocusChangeListener, View.OnGenericMotionListener, View.OnHoverListener, View.OnKeyListener, View.OnLayoutChangeListener, View.OnLongClickListener, View.OnScrollChangeListener, View.OnSystemUiVisibilityChangeListener, View.OnTouchListener
FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, LAYOUT_MODE_CLIP_BOUNDS, LAYOUT_MODE_OPTICAL_BOUNDS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHE
ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VISIBLE, X, Y, Z
Constructor and Description |
---|
RadDataForm(Context context)
Creates a new instance of RadDataForm.
|
RadDataForm(Context context,
AttributeSet attrs)
Creates a new instance of RadDataForm.
|
RadDataForm(Context context,
AttributeSet attrs,
int layoutId)
Creates an instance of the
RadDataForm control with the provided arguments. |
Modifier and Type | Method and Description |
---|---|
void |
addCommitListener(EntityPropertyCommitListener listener) |
void |
addEditorDependency(String propertyName,
Procedure2<RadDataForm,EntityPropertyEditor> onDependencyChangedCallback,
String... dependencies)
Adds an editor dependency for a given property.
|
void |
addEditorSetupListener(EditorSetupListener listener) |
void |
addValidationFinishedListener(Procedure<DataFormValidationInfo> listener) |
void |
addValidationListener(EntityPropertyValidationListener listener) |
void |
applyEditorCustomizations()
Applies the currently provided editor customizations to the current editors.
|
void |
arrangeEditors()
Arranges the current editors in accordance with the current layout manager.
|
void |
clearDependencies()
Clears all editor dependencies.
|
void |
commitChanges()
Call this method to apply the editor values to the
target object after they are validated.
|
void |
commitForced()
Call this method to apply the editor values to the
target object if they are valid.
|
DataFormEntityAdapter |
getAdapter()
Gets the data form adapter.
|
CommitMode |
getCommitMode()
Gets the commit mode.
|
Object |
getEditedObject()
Gets the actual edited object.
|
Procedure<EntityPropertyViewer> |
getEditorCustomizations() |
int |
getEditorsHeaderLayout() |
int |
getEditorsMainLayout() |
int |
getEditorsValidationLayout() |
Entity |
getEntity()
Gets the data form entity.
|
EntityPropertyViewer |
getExistingEditorForProperty(String propertyName)
Gets an existing editor for the given property.
|
boolean |
getIsReadOnly()
Gets a value that determines if the data form is in read-only mode.
|
LabelPosition |
getLabelPosition() |
DataFormLayoutManager |
getLayoutManager()
Gets the data form layout manager.
|
DataFormMetadata |
getMetadata() |
EntityProperty |
getPropertyByName(String propertyName)
Gets an existing property with given name.
|
ValidationMode |
getValidationMode() |
boolean |
hasValidationErrors() |
boolean |
isCanScroll() |
boolean |
isReloadSuspended() |
void |
loadEntityValues() |
void |
notifyEditorSetupFinished(EntityPropertyViewer editor) |
void |
notifyEditorSetupStarted(EntityPropertyViewer editor) |
boolean |
onInterceptTouchEvent(MotionEvent e) |
boolean |
onTouchEvent(MotionEvent e) |
void |
onValidationEvent(EntityPropertyEditor editor,
ValidationInfo info) |
void |
reload()
Removes all editors recreates them and adds them again.
|
void |
removeCommitListener(EntityPropertyCommitListener listener) |
void |
removeEditorDependency(String dependentEditorName)
Removes the dependency for the given editor.
|
void |
removeEditorSetupListener(EditorSetupListener listener) |
void |
removeValidationFinishedListener(Procedure<DataFormValidationInfo> listener) |
void |
removeValidationListener(EntityPropertyValidationListener listener) |
void |
resetManualCommit() |
void |
setAdapter(DataFormEntityAdapter adapter)
Sets a the data form adapter.
|
void |
setCanScroll(boolean canScroll) |
void |
setCommitMode(CommitMode mode)
Sets the commit mode.
|
void |
setEditorCustomizations(Procedure<EntityPropertyViewer> editorCustomizations) |
void |
setEditorsHeaderLayout(int value) |
void |
setEditorsMainLayout(int value) |
void |
setEditorsValidationLayout(int value) |
void |
setEnabled(boolean value) |
void |
setEntity(Entity value)
Sets the data form entity.
|
void |
setEntity(Object value)
Sets the data form entity.
|
void |
setIsReadOnly(boolean value)
Sets a value that determines if the data form is in read-only mode.
|
void |
setLabelPosition(LabelPosition labelPosition) |
void |
setLayoutManager(DataFormLayoutManager value)
Sets the data form layout manager.
|
void |
setMetadata(DataFormMetadata metadata) |
void |
setReloadSuspended(boolean reloadSuspended) |
void |
setValidationMode(ValidationMode value) |
void |
validateChanges() |
void |
validateChanges(Procedure<DataFormValidationInfo> callback) |
addView, addView, addView, addView, arrowScroll, computeScroll, dispatchKeyEvent, draw, executeKeyEvent, fling, fullScroll, getAccessibilityClassName, getMaxScrollAmount, isFillViewport, isSmoothScrollingEnabled, onGenericMotionEvent, onNestedFling, onNestedScroll, onNestedScrollAccepted, onStartNestedScroll, onStopNestedScroll, pageScroll, requestChildFocus, requestChildRectangleOnScreen, requestDisallowInterceptTouchEvent, requestLayout, scrollTo, setFillViewport, setOverScrollMode, setSmoothScrollingEnabled, shouldDelayChildPressedState, smoothScrollBy, smoothScrollTo
generateLayoutParams, getConsiderGoneChildrenWhenMeasuring, getMeasureAllChildren, setForegroundGravity, setMeasureAllChildren
addChildrenForAccessibility, addFocusables, addStatesFromChildren, addTouchables, addView, bringChildToFront, childDrawableStateChanged, childHasTransientStateChanged, clearChildFocus, clearDisappearingChildren, clearFocus, dispatchApplyWindowInsets, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchProvideStructure, dispatchSetActivated, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, endViewTransition, findFocus, findViewsWithText, focusableViewAvailable, focusSearch, gatherTransparentRegion, getChildAt, getChildCount, getChildMeasureSpec, getChildVisibleRect, getClipChildren, getClipToPadding, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutMode, getLayoutTransition, getNestedScrollAxes, getOverlay, getPersistentDrawingCache, getTouchscreenBlocksFocus, hasFocus, hasFocusable, hasTransientState, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isMotionEventSplittingEnabled, isTransitionGroup, jumpDrawablesToCurrentState, layout, notifySubtreeAccessibilityStateChanged, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onInterceptHoverEvent, onNestedPreFling, onNestedPrePerformAccessibilityAction, onNestedPreScroll, onRequestSendAccessibilityEvent, onViewAdded, onViewRemoved, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutMode, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPersistentDrawingCache, setTouchscreenBlocksFocus, setTransitionGroup, showContextMenuForChild, startActionModeForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayout
addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, combineMeasuredStates, computeSystemWindowInsets, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, drawableHotspotChanged, findViewById, findViewWithTag, focusSearch, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentDescription, getContext, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTop, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isInEditMode, isInLayout, isInTouchMode, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, measure, offsetLeftAndRight, offsetTopAndBottom, onApplyWindowInsets, onCancelPendingInputEvents, onCheckIsTextEditor, onCreateInputConnection, onDragEvent, onDrawForeground, onFilterTouchEventForSecurity, onFinishTemporaryDetach, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onPopulateAccessibilityEvent, onProvideStructure, onProvideVirtualStructure, onRtlPropertiesChanged, onScreenStateChanged, onStartTemporaryDetach, onTrackballEvent, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, performAccessibilityAction, performClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setContextClickable, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setForeground, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setPadding, setPaddingRelative, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, createContextMenu, getLayoutDirection, getParent, getParentForAccessibility, getTextAlignment, getTextDirection, isLayoutDirectionResolved, isLayoutRequested, isTextAlignmentResolved, isTextDirectionResolved, requestFitSystemWindows
public RadDataForm(Context context)
context
- The app context.public RadDataForm(Context context, AttributeSet attrs)
context
- The app context.attrs
- The xml attributes.public RadDataForm(Context context, AttributeSet attrs, int layoutId)
RadDataForm
control with the provided arguments.context
- the application context.attrs
- a set of styleable attributes.layoutId
- the XML id for the root layout.public void addCommitListener(EntityPropertyCommitListener listener)
public void removeCommitListener(EntityPropertyCommitListener listener)
public void addValidationListener(EntityPropertyValidationListener listener)
public void removeValidationListener(EntityPropertyValidationListener listener)
public void notifyEditorSetupStarted(EntityPropertyViewer editor)
public void notifyEditorSetupFinished(EntityPropertyViewer editor)
public void addEditorSetupListener(EditorSetupListener listener)
public void removeEditorSetupListener(EditorSetupListener listener)
public LabelPosition getLabelPosition()
public void setLabelPosition(LabelPosition labelPosition)
public void setMetadata(DataFormMetadata metadata)
public DataFormMetadata getMetadata()
public void setEditorsMainLayout(int value)
public int getEditorsMainLayout()
public int getEditorsHeaderLayout()
public void setEditorsHeaderLayout(int value)
public int getEditorsValidationLayout()
public void setEditorsValidationLayout(int value)
public Procedure<EntityPropertyViewer> getEditorCustomizations()
public void setEditorCustomizations(Procedure<EntityPropertyViewer> editorCustomizations)
public DataFormLayoutManager getLayoutManager()
public void setLayoutManager(DataFormLayoutManager value)
public Object getEditedObject()
public Entity getEntity()
public void setEntity(Object value)
public boolean isReloadSuspended()
public void setReloadSuspended(boolean reloadSuspended)
public void setEntity(Entity value)
public void addEditorDependency(String propertyName, Procedure2<RadDataForm,EntityPropertyEditor> onDependencyChangedCallback, String... dependencies)
propertyName
- The property which should be updated when a dependency changes.onDependencyChangedCallback
- The callback which defines the dependency.dependencies
- The dependencies on which the property argument depends.public void removeEditorDependency(String dependentEditorName)
public void clearDependencies()
public EntityPropertyViewer getExistingEditorForProperty(String propertyName)
propertyName
- The property for which to find an existing editor.public EntityProperty getPropertyByName(String propertyName)
propertyName
- The property for which to find an existing property.public void reload()
public void loadEntityValues()
public void arrangeEditors()
getLayoutManager()
,
EntityPropertyEditor
public void applyEditorCustomizations()
getEditorCustomizations()
public boolean getIsReadOnly()
public void setIsReadOnly(boolean value)
public void setEnabled(boolean value)
setEnabled
in class View
public ValidationMode getValidationMode()
public void setValidationMode(ValidationMode value)
public CommitMode getCommitMode()
public void setCommitMode(CommitMode mode)
public DataFormEntityAdapter getAdapter()
public void setAdapter(DataFormEntityAdapter adapter)
public void resetManualCommit()
public void commitChanges()
public void commitForced()
public void addValidationFinishedListener(Procedure<DataFormValidationInfo> listener)
public void removeValidationFinishedListener(Procedure<DataFormValidationInfo> listener)
public void validateChanges()
public void validateChanges(Procedure<DataFormValidationInfo> callback)
public boolean hasValidationErrors()
public void onValidationEvent(EntityPropertyEditor editor, ValidationInfo info)
onValidationEvent
in interface EntityPropertyEditor.OnValidationEventListener
public boolean isCanScroll()
public void setCanScroll(boolean canScroll)
public boolean onTouchEvent(MotionEvent e)
onTouchEvent
in class ScrollView
public boolean onInterceptTouchEvent(MotionEvent e)
onInterceptTouchEvent
in class ScrollView