Uses of Class
com.jbstrap.ui.components.Counter
Packages that use Counter
-
Uses of Counter in com.jbstrap.ui.components
Methods in com.jbstrap.ui.components that return CounterModifier and TypeMethodDescriptionfinal CounterCounter.add(int value) Increments the counter value by the given valuefinal CounterCounter.dec()Decrements counter value by 1final CounterCounter.inc()Increments the counter value by 1final CounterCounter.loss(int value) Decrements the counter value by the given numberfinal CounterCounter.setBackgoundColor(Color color) Sets the background color of the counter Default background color is the theme WARNING colorfinal CounterCounter.setBackgoundColor(String color) Sets the background color of the counter Default background color is the theme WARNING color.final CounterCounter.setTextColor(Color color) Sets the text color of the counter Default text color is the theme text colorfinal CounterCounter.setTextColor(String color) Sets the color of the values on the counter.final CounterCounter.setValue(long value) Sets the value of the counter component