コード例 #1
0
 @Override
 public void addStateBackgroundResource(
     StateType state,
     float radius,
     boolean justBorder,
     float borderWidth,
     @ColorRes int colorRes) {
   mSpeedySelectorDelegate.addStateBackgroundResource(
       state, radius, justBorder, borderWidth, colorRes);
 }
コード例 #2
0
 @Override
 public void addStateBackgroundResource(StateType state, float radius, @ColorRes int colorRes) {
   mSpeedySelectorDelegate.addStateBackgroundResource(state, radius, colorRes);
 }
コード例 #3
0
 @Override
 public void addStateBackground(
     StateType state, float radius, boolean justBorder, @ColorInt int color) {
   mSpeedySelectorDelegate.addStateBackground(state, radius, justBorder, color);
 }
コード例 #4
0
 @Override
 public void addStateBackgroundResource(StateType state, @DrawableRes int draRes) {
   mSpeedySelectorDelegate.addStateBackgroundResource(state, draRes);
 }
コード例 #5
0
 @Override
 public void addStateBackground(StateType state, Drawable drawable) {
   mSpeedySelectorDelegate.addStateBackground(state, drawable);
 }
コード例 #6
0
 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
 public SelectorButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
   super(context, attrs, defStyleAttr, defStyleRes);
   mSpeedySelectorDelegate =
       SpeedySelectorDelegate.obtainGeneral(this, attrs, defStyleAttr, defStyleRes);
 }
コード例 #7
0
 public SelectorButton(Context context, AttributeSet attrs, int defStyleAttr) {
   super(context, attrs, defStyleAttr);
   mSpeedySelectorDelegate = SpeedySelectorDelegate.obtainGeneral(this, attrs, defStyleAttr);
 }
コード例 #8
0
 public SelectorButton(Context context) {
   super(context);
   mSpeedySelectorDelegate = SpeedySelectorDelegate.obtainGeneral(this);
 }
コード例 #9
0
 @Override
 public void requestSelector() {
   mSpeedySelectorDelegate.requestSelector();
 }
コード例 #10
0
 @Override
 public void addTextStateColorResource(StateType state, @ColorRes int colorRes) {
   mSpeedySelectorDelegate.addTextStateColorRessource(state, colorRes);
 }
コード例 #11
0
 @Override
 public void addTextStateColor(StateType state, @ColorInt int color) {
   mSpeedySelectorDelegate.addTextStateColor(state, color);
 }
コード例 #12
0
 @Override
 public void setTextColorResource(@ColorRes int resId) {
   mSpeedySelectorDelegate.setTextColorRessource(resId);
 }