Package com.baulsupp.kolja.util

Examples of com.baulsupp.kolja.util.ColourPair


    HighlightResult highlightResults = null;
    if (highlight != null) {
      highlightResults = highlight.getHighlights(viewRow);
    }

    ColourPair rowColour = highlightResults != null ? highlightResults.getRow() : null;
    if (rowColour != null) {
      seperator = this.seperator.changeColour(rowColour);
    } else {
      seperator = this.seperator;
    }

    MultiColourString gridRow = new MultiColourString();
    boolean firstColumn = true;
    for (int i = 0; i < l; i++) {
      String currentColumn = columns.get(i);

      ColourPair columnColour = rowColour;
      if (highlightResults != null) {
        ColourPair newPair = highlightResults.getColumnHighlight(currentColumn);
        if (newPair != null) {
          columnColour = newPair;
        }
      }
View Full Code Here


   
    return null;
  }

  private ColourPair getFileColour(String name) {
    ColourPair result = colours.get(name);
   
    if (result == null) {
      result = colourRotator.next();
      colours.put(name, result);
    }
View Full Code Here

   
    return null;
  }

  private ColourPair getColour(Object name) {
    ColourPair result = colours.get(name);
   
    if (result == null) {
      result = colourRotator.next();
      colours.put(name, result);
    }
View Full Code Here

TOP

Related Classes of com.baulsupp.kolja.util.ColourPair

Copyright © 2018 www.massapicom. 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.