C# 클래스 Nez.UI.ProgressBar

상속: Element
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
disabled bool
shiftIgnoresSnap bool
snapThreshold float
snapValues float[]

보호된 프로퍼티들

프로퍼티 타입 설명
_min float
_value float
_vertical bool
position float

공개 메소드들

메소드 설명
ProgressBar ( Skin skin, string styleName = null ) : System
ProgressBar ( float min, float max, float stepSize, bool vertical, ProgressBarStyle style ) : System
draw ( Graphics graphics, float parentAlpha ) : void
getStyle ( ) : ProgressBarStyle

Returns the progress bar's style. Modifying the returned style may not have an effect until {@link #setStyle(ProgressBarStyle)} is called.

getVisualPercent ( ) : float
setStepSize ( float stepSize ) : ProgressBar
setStyle ( ProgressBarStyle style ) : void
setValue ( float value ) : void

Sets the progress bar position, rounded to the nearest step size and clamped to the minimum and maximum values.

보호된 메소드들

메소드 설명
getKnobDrawable ( ) : IDrawable

비공개 메소드들

메소드 설명
snap ( float value ) : float

Returns a snapped value

메소드 상세

ProgressBar() 공개 메소드

public ProgressBar ( Skin skin, string styleName = null ) : System
skin Skin
styleName string
리턴 System

ProgressBar() 공개 메소드

public ProgressBar ( float min, float max, float stepSize, bool vertical, ProgressBarStyle style ) : System
min float
max float
stepSize float
vertical bool
style ProgressBarStyle
리턴 System

draw() 공개 메소드

public draw ( Graphics graphics, float parentAlpha ) : void
graphics Graphics
parentAlpha float
리턴 void

getKnobDrawable() 보호된 메소드

protected getKnobDrawable ( ) : IDrawable
리턴 IDrawable

getStyle() 공개 메소드

Returns the progress bar's style. Modifying the returned style may not have an effect until {@link #setStyle(ProgressBarStyle)} is called.
public getStyle ( ) : ProgressBarStyle
리턴 ProgressBarStyle

getVisualPercent() 공개 메소드

public getVisualPercent ( ) : float
리턴 float

setStepSize() 공개 메소드

public setStepSize ( float stepSize ) : ProgressBar
stepSize float
리턴 ProgressBar

setStyle() 공개 메소드

public setStyle ( ProgressBarStyle style ) : void
style ProgressBarStyle
리턴 void

setValue() 공개 메소드

Sets the progress bar position, rounded to the nearest step size and clamped to the minimum and maximum values.
public setValue ( float value ) : void
value float Value.
리턴 void

프로퍼티 상세

_min 보호되어 있는 프로퍼티

protected float _min
리턴 float

_value 보호되어 있는 프로퍼티

protected float _value
리턴 float

_vertical 보호되어 있는 프로퍼티

protected bool _vertical
리턴 bool

disabled 공개적으로 프로퍼티

public bool disabled
리턴 bool

position 보호되어 있는 프로퍼티

protected float position
리턴 float

shiftIgnoresSnap 공개적으로 프로퍼티

public bool shiftIgnoresSnap
리턴 bool

snapThreshold 공개적으로 프로퍼티

public float snapThreshold
리턴 float

snapValues 공개적으로 프로퍼티

public float[] snapValues
리턴 float[]