BasicFieldColorView.ColorPaletteView

protected class BasicFieldColorView.ColorPaletteView extends View

View for a color palette that matches Web Blockly's.

Inherited Constant Summary

Inherited Field Summary

Public Method Summary

int
int
void
onDraw(Canvas canvas)
void
onMeasure(int widthMeasureSpec, int heightMeasureSpec)
boolean
onTouchEvent(MotionEvent motionEvent)

Inherited Method Summary

Public Methods

public int getMinimumHeight ()

public int getMinimumWidth ()

public void onDraw (Canvas canvas)

Parameters
canvas

public void onMeasure (int widthMeasureSpec, int heightMeasureSpec)

Parameters
widthMeasureSpec
heightMeasureSpec

public boolean onTouchEvent (MotionEvent motionEvent)

Parameters
motionEvent