类 PopupIndicator
- java.lang.Object
-
- com.lyy.keepassa.widget.discreteSeekBar.internal.PopupIndicator
-
public class PopupIndicator extends java.lang.ObjectClass to manage the floating bubble thing, similar (but quite worse tested thanPopupWindowThis will attach a View to the Window (full-width, measured-height, positioned just under the thumb)- 另请参阅:
showIndicator(View, Rect),dismiss(),dismissComplete(),PopupIndicator.Floater
-
-
构造器概要
构造器 构造器 说明 PopupIndicator(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, java.lang.String maxValue, int thumbSize, int separation)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddismiss()This will start the closing animation of the Marker and call onClosingComplete when finishedvoiddismissComplete()FORCE the popup window to be removed.booleanisShowing()voidmove(int x)voidsetColors(int startColor, int endColor)voidsetListener(MarkerDrawable.MarkerAnimationListener listener)voidsetValue(java.lang.CharSequence value)voidshowIndicator(android.view.View parent, android.graphics.Rect touchBounds)voidupdateSizes(java.lang.String maxValue)
-
-
-
方法详细资料
-
updateSizes
public void updateSizes(java.lang.String maxValue)
-
setListener
public void setListener(MarkerDrawable.MarkerAnimationListener listener)
-
setValue
public void setValue(java.lang.CharSequence value)
-
isShowing
public boolean isShowing()
-
showIndicator
public void showIndicator(android.view.View parent, android.graphics.Rect touchBounds)
-
move
public void move(int x)
-
setColors
public void setColors(int startColor, int endColor)
-
dismiss
public void dismiss()
This will start the closing animation of the Marker and call onClosingComplete when finished
-
dismissComplete
public void dismissComplete()
FORCE the popup window to be removed. You typically calls this when the parent view is being removed from the window to avoid a Window Leak
-
-