|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.ControllerGroup
controlP5.ControlGroup
public class ControlGroup
ControlGroup extends ControllerGroup, for a list and documentation for available methods see the ControllerGroup documentation. use a controlGroup to bundle several controllers. controlGroups can be closed and opened to keep the screen organized.
Constructor Summary | |
---|---|
ControlGroup(ControlP5 theControlP5,
ControllerGroup theParent,
java.lang.String theName,
int theX,
int theY,
int theW,
int theH)
|
Method Summary | |
---|---|
ControlGroup |
activateEvent(boolean theFlag)
activate or deactivate the Event status of a tab. |
void |
addCloseButton()
add a close button to the controlbar of this controlGroup. |
void |
addToXMLElement(ControlP5XMLElement theElement)
|
float[] |
arrayValue()
|
void |
controlEvent(ControlEvent theEvent)
ControlListener is an interface that can be implemented by a custom class. |
int |
getBackgroundHeight()
|
void |
hideBar()
|
boolean |
isBarVisible()
|
void |
mousePressed()
|
void |
removeCloseButton()
remove the close button. |
void |
setBackgroundColor(int theColor)
|
void |
setBackgroundHeight(int theHeight)
|
void |
setBarHeight(int theHeight)
|
void |
showBar()
|
java.lang.String |
stringValue()
!!! experimental, see ControllerGroup.value() |
float |
value()
!!! experimental, see ControllerGroup.value() |
Methods inherited from class controlP5.ControllerGroup |
---|
absolutePosition, add, addCanvas, addDrawable, 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, moveTo, name, open, position, remove, remove, remove, removeCanvas, setColorActive, setColorBackground, setColorForeground, setColorLabel, setColorValue, setGroup, setGroup, setId, setLabel, 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 ControlGroup(ControlP5 theControlP5, ControllerGroup theParent, java.lang.String theName, int theX, int theY, int theW, int theH)
theControlP5
- ControlP5theParent
- ControllerGrouptheName
- StringtheX
- inttheY
- intMethod Detail |
---|
public void mousePressed()
public ControlGroup activateEvent(boolean theFlag)
theFlag
- booleanpublic int getBackgroundHeight()
public void setBackgroundHeight(int theHeight)
public void setBackgroundColor(int theColor)
public void setBarHeight(int theHeight)
public void addToXMLElement(ControlP5XMLElement theElement)
addToXMLElement
in interface ControllerInterface
theElement
- ControlP5XMLElementpublic void addCloseButton()
public void removeCloseButton()
public void hideBar()
public void showBar()
public boolean isBarVisible()
public void controlEvent(ControlEvent theEvent)
ControlListener
controlEvent
in interface ControlListener
theEvent
- ControlEventpublic java.lang.String stringValue()
stringValue
in interface ControllerInterface
stringValue
in class ControllerGroup
public float value()
value
in interface ControllerInterface
value
in class ControllerGroup
public float[] arrayValue()
arrayValue
in class ControllerGroup
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |