public class PressAdjuster extends SuperTextView.Adjuster
SuperTextView.Adjuster.Opportunityhost| 构造器和说明 | 
|---|
| PressAdjuster(int pressBgColor) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| void | adjust(SuperTextView v,
      android.graphics.Canvas canvas)在Canvas上绘制的东西将能够呈现在SuperTextView上。 | 
| boolean | onTouch(SuperTextView v,
       android.view.MotionEvent event)在这个方法中,你能够捕获到SuperTextView中发生的触摸事件。 | 
| SuperTextView.Adjuster | setPressBgColor(int pressBgColor) | 
| SuperTextView.Adjuster | setPressTextColor(int pressTextColor) | 
getOpportunity, onAttach, onDetach, setOpportunitypublic SuperTextView.Adjuster setPressTextColor(int pressTextColor)
public SuperTextView.Adjuster setPressBgColor(int pressBgColor)
public void adjust(SuperTextView v, android.graphics.Canvas canvas)
SuperTextView.Adjusterv - SuperTextViewcanvas - 用于绘制的Canvas。注意对Canvas的变换最好使用图层,否则会影响后续的绘制。public boolean onTouch(SuperTextView v, android.view.MotionEvent event)
SuperTextView.AdjusteronTouch 在类中 SuperTextView.Adjusterv - SuperTextViewevent - 控件件接收到的触摸事件。MotionEvent.ACTION_DOWN事件。