]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/iCheckBoxList/ICheckBoxListItem.java
39fa641d0e5596f0340d8a4c8dbd2e96da269d39
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
;
27 This is the default constructor to set check box item string
32 public ICheckBoxListItem(String text
) {
37 This is the override constructor to set check box item string and checked status
43 public ICheckBoxListItem(String text
, boolean checked
) {
45 this.checked
= checked
;
49 set the checked status
54 public void invertChecked() {
58 public boolean isChecked() {
62 public void setChecked(boolean checked
) {
63 this.checked
= checked
;
66 public String
getText() {
70 public void setText(String text
) {