lichtungsgnarr / controlp5

Automatically exported from code.google.com/p/controlp5
0 stars 0 forks source link

setLabel for ListBoxItem #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
listboxitem1.setLabel("this is my new label");

What is the expected output? What do you see instead?
Set the ListBoxItem label after creation

Please provide any additional information below.

    public void setLabel(String theLabel) {
        name = theLabel;
        text = theLabel;
    }

Original issue reported on code.google.com by jeffgem...@gmail.com on 13 Nov 2010 at 2:34

GoogleCodeExporter commented 9 years ago
ListBoxItem.setText(String) and ListBoxItem.getText() will do the job here.

Original comment by soj...@gmail.com on 18 Jan 2012 at 4:02