Class ColorPickerInspectorDetailView

    • Constructor Detail

      • ColorPickerInspectorDetailView

        ColorPickerInspectorDetailView(Context context, Array<int> colors, int defaultValue, boolean singleLine)
      • ColorPickerInspectorDetailView

        ColorPickerInspectorDetailView(Context context, List<Integer> colors, int defaultValue, boolean singleLine)
    • Method Detail

      • setShowSelectionIndicator

         void setShowSelectionIndicator(boolean showSelectionIndicator)

        Makes color selection indicator visible/invisible.

      • getMaximumHeight

         int getMaximumHeight()

        Called to get the maximum height the detail view will be.

        Returns:

        The maximum size this detail view will be.

      • unbindController

         void unbindController()

        Unbind from property inspector controller.

      • getPropertyInspectorMaxHeight

         int getPropertyInspectorMaxHeight()

        Returns maximum height that this view with all its detail views will occupy.

        Returns:

        Hint for the maximum inspector height or 0 if no max height is specified.

      • getSuggestedHeight

         int getSuggestedHeight()

        Returns best height of this view when shown in inspector. This is used to suggest initial height to inspector parent.

        Returns:

        Hint for the view height after being shown in inspector.