public interface BarScreen
raiseBar(int). After the bars have been given the appropriate height,
they can be shown by callin showChanges().| Modifier and Type | Method and Description |
|---|---|
void |
nameBar(int index,
java.lang.String name)
Assign a name to a bar.
|
void |
raiseBar(int index)
Raise a bar with 1.
|
void |
setShowNames(boolean show)
This method determines whether the names of the bars are shown.
|
void |
setShowValues(boolean show)
This method determines whether the values of the bars are shown.
|
void |
showChanges()
Shows the bar chart.
|
void setShowNames(boolean show)
nameBar(int, String).show - true to show names, false to remove names.void setShowValues(boolean show)
show - true to show values, false to remove values.void raiseBar(int index)
index - The index of the bar to be raised.void nameBar(int index,
java.lang.String name)
setShowNames(boolean).index - The index of the bar to be named.name - De naam van de staaf.The name of the bar.void showChanges()