|
################################################################## EnvInfo v1.1 Copyright (C) 2009 Frederic Roudaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ################################################################### |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.envInfo.SeriesColorGenerator
public class SeriesColorGenerator
Class used to generate colors for the Memory charts.
This class is an adaption of the one done by Nicolas Richasse for his
Java Iperf frontend.
Field Summary | |
---|---|
private static java.awt.Color[] |
allColors
|
private static int |
currentIndex
|
Constructor Summary | |
---|---|
SeriesColorGenerator()
|
Method Summary | |
---|---|
static java.awt.Color |
nextColor()
Return a new Color. |
static void |
reset()
Reset all the colors choice. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.awt.Color[] allColors
private static int currentIndex
Constructor Detail |
---|
public SeriesColorGenerator()
Method Detail |
---|
public static java.awt.Color nextColor()
public static void reset()
|
################################################################## EnvInfo v1.1 Copyright (C) 2009 Frederic Roudaut This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ################################################################### |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |