Skip navigation links
A C D E G H O R S T 

A

addAmount(sectionName, amount, color) - Method in class app.futured.donut.DonutProgressView
Adds amount to existing section specified by sectionName. If section does not exist and color is specified, creates new section internally.
app.futured.donut - package app.futured.donut
 

C

clear() - Method in class app.futured.donut.DonutProgressView
Clear data, removing all lines.
Companion - Static variable in class app.futured.donut.DonutProgressView
 
component1() - Method in class app.futured.donut.DonutSection
 
component2() - Method in class app.futured.donut.DonutSection
 
component3() - Method in class app.futured.donut.DonutSection
 
copy(name, color, amount) - Method in class app.futured.donut.DonutSection
Data class representing section of the graph containing Float amount, name and color of progress line.

D

DonutProgressView - Class in app.futured.donut
 
DonutProgressView(context, attrs, defStyleAttr, defStyleRes) - Constructor for class app.futured.donut.DonutProgressView
 
DonutProgressView(context, attrs, defStyleAttr) - Constructor for class app.futured.donut.DonutProgressView
 
DonutProgressView(context, attrs) - Constructor for class app.futured.donut.DonutProgressView
 
DonutProgressView(context) - Constructor for class app.futured.donut.DonutProgressView
 
DonutProgressView.Companion - Class in app.futured.donut
 
DonutSection - Class in app.futured.donut
Data class representing section of the graph containing Float amount, name and color of progress line.
DonutSection(name, color, amount) - Constructor for class app.futured.donut.DonutSection
Data class representing section of the graph containing Float amount, name and color of progress line.

E

equals(p) - Method in class app.futured.donut.DonutSection
 

G

getAmount() - Method in class app.futured.donut.DonutSection
 
getAnimateChanges() - Method in class app.futured.donut.DonutProgressView
If true, view will animate changes when new data is submitted. If false, state change will happen instantly.
getAnimationDurationMs() - Method in class app.futured.donut.DonutProgressView
Duration of state change animations.
getAnimationInterpolator() - Method in class app.futured.donut.DonutProgressView
Interpolator used for state change animations.
getBgLineColor() - Method in class app.futured.donut.DonutProgressView
Color of background line.
getCap() - Method in class app.futured.donut.DonutProgressView
Maximum value of sum of all entries in view, after which all lines start to resize proportionally to amounts in their entry categories.
getColor() - Method in class app.futured.donut.DonutSection
 
getData() - Method in class app.futured.donut.DonutProgressView
Returns current data.
getGapAngleDegrees() - Method in class app.futured.donut.DonutProgressView
Angle in degrees, at which the gap will be displayed.
getGapWidthDegrees() - Method in class app.futured.donut.DonutProgressView
Size of gap opening in degrees.
getMasterProgress() - Method in class app.futured.donut.DonutProgressView
Percentage of progress shown for all lines.
getName() - Method in class app.futured.donut.DonutSection
 
getStrokeWidth() - Method in class app.futured.donut.DonutProgressView
Stroke width of all lines in pixels.

H

hashCode() - Method in class app.futured.donut.DonutSection
 

O

onDraw(canvas) - Method in class app.futured.donut.DonutProgressView
 
onMeasure(widthMeasureSpec, heightMeasureSpec) - Method in class app.futured.donut.DonutProgressView
 
onSizeChanged(w, h, oldw, oldh) - Method in class app.futured.donut.DonutProgressView
 

R

removeAmount(sectionName, amount) - Method in class app.futured.donut.DonutProgressView
Removes amount from existing section specified by sectionName. If amount gets below zero, removes the section from view.

S

setAmount(sectionName, amount) - Method in class app.futured.donut.DonutProgressView
Sets amount for existing section specified by sectionName. Removes section if amount is <= 0. Does nothing if section does not exist.
setAnimateChanges(p) - Method in class app.futured.donut.DonutProgressView
If true, view will animate changes when new data is submitted. If false, state change will happen instantly.
setAnimationDurationMs(p) - Method in class app.futured.donut.DonutProgressView
Duration of state change animations.
setAnimationInterpolator(p) - Method in class app.futured.donut.DonutProgressView
Interpolator used for state change animations.
setBgLineColor(value) - Method in class app.futured.donut.DonutProgressView
Color of background line.
setCap(value) - Method in class app.futured.donut.DonutProgressView
Maximum value of sum of all entries in view, after which all lines start to resize proportionally to amounts in their entry categories.
setGapAngleDegrees(value) - Method in class app.futured.donut.DonutProgressView
Angle in degrees, at which the gap will be displayed.
setGapWidthDegrees(value) - Method in class app.futured.donut.DonutProgressView
Size of gap opening in degrees.
setMasterProgress(value) - Method in class app.futured.donut.DonutProgressView
Percentage of progress shown for all lines.
setStrokeWidth(value) - Method in class app.futured.donut.DonutProgressView
Stroke width of all lines in pixels.
submitData(sections) - Method in class app.futured.donut.DonutProgressView
Submits new sections to the view.

T

toString() - Method in class app.futured.donut.DonutSection
 
A C D E G H O R S T 
Skip navigation links