Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.viewers
Interface ICheckStateProvider


public interface ICheckStateProvider

Interface to provide checked and grayed state information about data in trees or tables. The following chart determines the checkbox state:
isGrayed()
false true
isChecked() false unchecked
true checked grayed

Since:
3.5

Method Summary
 boolean isChecked ( Object element)
          Indicates if an element's representation should appear as checked or gray instead of unchecked.
 boolean isGrayed ( Object element)
          Indicates whether the check box associated with an element, when checked as indicated by the isChecked(Object) method, should display the gray (boxed) state instead of the check mark.
 

Method Detail

isChecked

boolean isChecked(
Object element)
Indicates if an element's representation should appear as checked or gray instead of unchecked. If this method returns true the isGrayed(Object) method will determine whether the check box displays a check mark ("checked") or a box ("grayed").

Parameters:
element -
Returns:
true if the element should be checked or grayed, false if it should be unchecked

isGrayed

boolean isGrayed(
Object element)
Indicates whether the check box associated with an element, when checked as indicated by the isChecked(Object) method, should display the gray (boxed) state instead of the check mark.

Parameters:
element -
Returns:
true if the element should be gray

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire