|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.ControllerGroup
controlP5.Tab
public class Tab
Tab extends ControllerGroup, for more available methods see the ControllerGroup documentation.
Constructor Summary | |
---|---|
Tab(ControlP5 theControlP5,
ControlWindow theControlWindow,
java.lang.String theName)
|
Method Summary | |
---|---|
Tab |
activateEvent(boolean theFlag)
activate or deactivate the Event status of a tab. |
void |
addToXMLElement(ControlP5XMLElement theElement)
|
void |
mousePressed()
|
void |
moveTo(ControlWindow theWindow)
|
void |
setActive(boolean theFlag)
|
Tab |
setHeight(int theHeight)
|
void |
setLabel(java.lang.String theLabel)
set the label of the group. |
void |
setStringValue(java.lang.String theValue)
set the string value of the tab. |
void |
setValue(float theValue)
set the value of the tab. |
Tab |
setWidth(int theWidth)
|
java.lang.String |
stringValue()
get the string value of the tab. |
float |
value()
get the value of the tab. |
Methods inherited from class controlP5.ControllerGroup |
---|
absolutePosition, add, addCanvas, addDrawable, arrayValue, captionLabel, close, color, continuousUpdateEvents, controller, draw, getAsXML, getColor, getTab, getWindow, hide, id, init, isMoveable, isOpen, isUpdate, isVisible, isXMLsavable, keyEvent, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, name, open, position, remove, remove, remove, removeCanvas, setColorActive, setColorBackground, setColorForeground, setColorLabel, setColorValue, setGroup, setGroup, setId, setMousePressed, setMoveable, setOpen, setPosition, setTab, setTab, setTab, setUpdate, setVisible, show, update, updateAbsolutePosition, updateEvents, updateInternalEvents, valueLabel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tab(ControlP5 theControlP5, ControlWindow theControlWindow, java.lang.String theName)
theControlP5
- ControlP5theControlWindow
- ControlWindowtheName
- StringMethod Detail |
---|
public void setLabel(java.lang.String theLabel)
setLabel
in interface ControllerInterface
setLabel
in class ControllerGroup
theLabel
- Stringpublic Tab setWidth(int theWidth)
theWidth
-
public Tab setHeight(int theHeight)
public void mousePressed()
public void setActive(boolean theFlag)
theFlag
- booleanpublic void moveTo(ControlWindow theWindow)
moveTo
in class ControllerGroup
public Tab activateEvent(boolean theFlag)
theFlag
- booleanpublic void addToXMLElement(ControlP5XMLElement theElement)
theElement
- ControlP5XMLElementpublic java.lang.String stringValue()
stringValue
in interface ControllerInterface
stringValue
in class ControllerGroup
public float value()
value
in interface ControllerInterface
value
in class ControllerGroup
public void setValue(float theValue)
theValue
- floatpublic void setStringValue(java.lang.String theValue)
theValue
- String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |