]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/iCheckBoxList/ICheckBoxListItem.java
3 The file is used to create list item for CheckBox list
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 package org
.tianocore
.frameworkwizard
.common
.ui
.iCheckBoxList
;
17 public class ICheckBoxListItem
{
20 // Define Class Members
22 protected String text
;
24 protected boolean checked
;
26 protected boolean selected
;
29 This is the default constructor to set check box item string
34 public ICheckBoxListItem(String text
) {
39 This is the override constructor to set check box item string and checked status
45 public ICheckBoxListItem(String text
, boolean checked
) {
47 this.checked
= checked
;
51 set the checked status
56 public void invertChecked() {
60 public boolean isChecked() {
64 public void setChecked(boolean checked
) {
65 this.checked
= checked
;
68 public String
getText() {
72 public void setText(String text
) {
76 public boolean isSelected() {
80 public void setSelected(boolean selected
) {
81 this.selected
= selected
;