Home
last modified time | relevance | path

Searched refs:checkBox (Results 1 – 9 of 9) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCheckBoxTest.java15 CheckBox checkBox = new CheckBox(null); in testWorks() local
16 assertThat(checkBox.isChecked(), equalTo(false)); in testWorks()
18 checkBox.setChecked(true); in testWorks()
19 assertThat(checkBox.isChecked(), equalTo(true)); in testWorks()
21 checkBox.performClick(); in testWorks()
22 assertThat(checkBox.isChecked(), equalTo(false)); in testWorks()
24 checkBox.toggle(); in testWorks()
25 assertThat(checkBox.isChecked(), equalTo(true)); in testWorks()
/external/autotest/frontend/client/src/autotest/common/table/
DCheckboxFilter.java12 private CheckBox checkBox = new CheckBox(); field in CheckboxFilter
16 checkBox.addClickHandler(this); in CheckboxFilter()
25 return checkBox; in getWidget()
30 return checkBox.getValue(); in isActive()
34 checkBox.setValue(active); in setActive()
DSelectionManager.java180 CheckBox checkBox = new CheckBox(); in createWidget() local
182 checkBox.setValue(true); in createWidget()
184 return new TableClickWidget(checkBox, this, row, cell); in createWidget()
/external/autotest/frontend/client/src/autotest/afe/
DCheckBoxPanel.java22 public void add(ICheckBox checkBox) { in add() argument
23 checkBoxes.add(checkBox); in add()
28 for(ICheckBox checkBox : checkBoxes) { in getChecked()
29 if (checkBox.getValue()) { in getChecked()
30 result.add(checkBox); in getChecked()
/external/proguard/src/proguard/gui/
DFilterBuilder.java82 JCheckBox checkBox = checkBoxes[index]; in buildFilter() local
83 String name = checkBox.getText(); in buildFilter()
87 if (checkBox.isSelected()) in buildFilter()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DEditorPanel.java250 protected static void setValue(JCheckBox checkBox, boolean isSelected){ in setValue() argument
251 ActionListener[] listeners = checkBox.getActionListeners(); in setValue()
255 checkBox.removeActionListener(listener); in setValue()
257 checkBox.setSelected(isSelected); in setValue()
258 if(listener != null) checkBox.addActionListener(listener); in setValue()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DUITest.java99 final CheckBox checkBox = new CheckBox(" Continuous rendering", skin); in create() local
100 checkBox.setChecked(true); in create()
152 window.add(checkBox); in create()
192 checkBox.addListener(new ChangeListener() { in create()
194 Gdx.graphics.setContinuousRendering(checkBox.isChecked()); in create()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/
DEffectUtil.java111 JCheckBox checkBox = new JCheckBox();
112 checkBox.setSelected(currentValue);
113 if (showValueDialog(checkBox, description)) value = String.valueOf(checkBox.isSelected());
/external/libgdx/extensions/gdx-setup/src/com/badlogic/gdx/setup/
DGdxSetupUI.java523 …SetupCheckBox checkBox = new SetupCheckBox(projectType.getName().substring(0, 1).toUpperCase() + p… in uiLayout() local
526 checkBox.setSelected(true); in uiLayout()
528 subProjectsPanel.add(checkBox); in uiLayout()
529 checkBox.addItemListener(new ItemListener() { in uiLayout()