public class ListBoxItem
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
CColor |
getColor() |
int |
getId()
returns the id of a listboxitem.
|
java.lang.String |
getName()
returns the name of the listboxitem.
|
java.lang.String |
getText()
returns the text displayed for this listboxitem.
|
boolean |
getToUpperCase()
returns the uppercase status of this listboxitem.
|
int |
getValue()
returns the value of the listboxitem.
|
boolean |
isActive()
TODO no effect yet.
|
void |
setColor(CColor theColor) |
void |
setColorActive(int theColor) |
void |
setColorBackground(int theColor) |
void |
setColorForeground(int theColor) |
void |
setColorLabel(int theColor) |
void |
setId(int theId)
set the id of a listboxitem
|
ListBoxItem |
setText(java.lang.String theText)
change text text of a lsitboxitem's label.
|
java.lang.String |
toString() |
void |
toUpperCase(boolean theFlag)
by default the text of a listboxitem is set to uppercase, use toUpperCase(false) to make
changes.
|
public CColor getColor()
public int getId()
public java.lang.String getName()
public java.lang.String getText()
public boolean getToUpperCase()
public int getValue()
public boolean isActive()
public void setColor(CColor theColor)
public void setColorActive(int theColor)
public void setColorBackground(int theColor)
public void setColorForeground(int theColor)
public void setColorLabel(int theColor)
public void setId(int theId)
theId
- public ListBoxItem setText(java.lang.String theText)
theText
- public java.lang.String toString()
toString
in class java.lang.Object
public void toUpperCase(boolean theFlag)
theFlag
- processing library controlP5 by Andreas Schlegel. (c) 2006-2014