コード例 #1
0
ファイル: RadioButton.java プロジェクト: cjsheedy/controlp5
 /**
  * set the height of a radioButton/checkBox item. by default the height is 11px. in order to
  * recognize a custom height, the itemHeight has to be set before adding items to a
  * radioButton/checkBox.
  *
  * @param theItemHeight
  */
 public RadioButton setItemHeight(int theItemHeight) {
   itemHeight = theItemHeight;
   for (Toggle t : _myRadioToggles) {
     t.setHeight(theItemHeight);
   }
   updateLayout();
   return this;
 }