Пример #1
0
 /**
  * Convenience constructor to extend RadioButton.
  *
  * @example use/ControlP5extendController
  * @param theControlP5
  * @param theName
  */
 public RadioButton(ControlP5 theControlP5, String theName) {
   this(theControlP5, theControlP5.getDefaultTab(), theName, 0, 0);
   theControlP5.register(theControlP5.papplet, theName, this);
 }
Пример #2
0
 /**
  * Convenience constructor to extend ControllerGroup.
  *
  * @example use/ControlP5extendController
  * @param theControlP5
  * @param theName
  */
 public ControllerGroup(ControlP5 theControlP5, String theName) {
   this(theControlP5, theControlP5.getDefaultTab(), theName, 0, 0);
   theControlP5.register(theControlP5.papplet, theName, this);
 }
Пример #3
0
 /**
  * Convenience constructor to extend Toggle.
  *
  * @example use/ControlP5extendController
  * @param theControlP5
  * @param theName
  */
 public Toggle(ControlP5 theControlP5, String theName) {
   this(theControlP5, theControlP5.getDefaultTab(), theName, 0, 0, 0, autoWidth, autoHeight);
   theControlP5.register(theControlP5.papplet, theName, this);
 }
Пример #4
0
 /**
  * Convenience constructor to extend ListBox.
  *
  * @example use/ControlP5extendController
  * @param theControlP5
  * @param theName
  */
 public ListBox(ControlP5 theControlP5, String theName) {
   this(theControlP5, theControlP5.getDefaultTab(), theName, 0, 0, 99, 199);
   theControlP5.register(theControlP5.papplet, theName, this);
 }