+ else
+ {
+ return rtn; // ? tolow : !tolow;
+ }
+ }
+
+ /**
+ * default implementor of a getColourFromString method. TODO: abstract an
+ * interface enabling pluggable colour from string
+ */
+ private UserColourScheme ucs = null;
+
+ private boolean colourByLabel = false;
+
+ /**
+ *
+ * @return true if colourByLabel style is set
+ */
+ public boolean isColourByLabel()
+ {
+ return colourByLabel;