Package org.gudy.azureus2.ui.swt.views.table

Examples of org.gudy.azureus2.ui.swt.views.table.TableOrTreeSWT.indexOf()


    if (event == null || (event.detail & (SWT.HOT | SWT.SELECTED | SWT.FOCUSED)) == 0) {

      int pos;
      TableItemOrTreeItem parentItem = item.getParentItem();
      if (parentItem != null) {
        pos = parentItem.indexOf(item) + ((table.indexOf(parentItem) + 1) % 2);
      } else {
        pos = table.indexOf(item);
      }
      Color color = alternatingColors[pos % 2];
      if (color != null) {
View Full Code Here


    if (event == null || (event.detail & (SWT.HOT | SWT.SELECTED | SWT.FOCUSED)) == 0) {

      int pos;
      TableItemOrTreeItem parentItem = item.getParentItem();
      if (parentItem != null) {
        pos = parentItem.indexOf(item) + ((table.indexOf(parentItem) + 1) % 2);
      } else {
        pos = table.indexOf(item);
      }
      Color color = alternatingColors[pos % 2];
      if (color != null) {
View Full Code Here

      int pos;
      TableItemOrTreeItem parentItem = item.getParentItem();
      if (parentItem != null) {
        pos = parentItem.indexOf(item) + ((table.indexOf(parentItem) + 1) % 2);
      } else {
        pos = table.indexOf(item);
      }
      Color color = alternatingColors[pos % 2];
      if (color != null) {
        gc.setBackground(color);
        if (parentItem != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.