public class SelectView
extends View
Modifier and Type | Class and Description |
---|---|
static interface |
SelectView.OnOqaqueColorChangedListener |
Modifier and Type | Field and Description |
---|---|
protected Bitmap |
finderBitmap |
Constructor and Description |
---|
SelectView(Context context) |
SelectView(Context context,
AttributeSet attrs) |
SelectView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawFinder(Canvas canvas,
float selectionX,
float selectionY) |
protected void |
finalize() |
protected int |
getColorSelection() |
protected void |
onDraw(Canvas canvas) |
protected void |
onProgressChange(float progressX,
float progressY) |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
boolean |
onTouchEvent(MotionEvent event) |
void |
setColor(int color) |
void |
setHue(float hue,
boolean triggerListener) |
void |
setListener(SelectView.OnOqaqueColorChangedListener listener) |
public SelectView(Context context)
public SelectView(Context context, AttributeSet attrs)
public SelectView(Context context, AttributeSet attrs, int defStyleAttr)
protected void drawFinder(@NonNull Canvas canvas, float selectionX, float selectionY)
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
protected int getColorSelection()
protected void onDraw(@NonNull Canvas canvas)
protected void onProgressChange(float progressX, float progressY)
protected void onSizeChanged(int w, int h, int oldw, int oldh)
public boolean onTouchEvent(@NonNull MotionEvent event)
public void setColor(int color)
public void setHue(float hue, boolean triggerListener)
public void setListener(SelectView.OnOqaqueColorChangedListener listener)