List of usage examples for java.awt Color PINK
Color PINK
To view the source code for java.awt Color PINK.
Click Source Link
From source file:com.att.aro.main.GraphPanel.java
/** * Sets rendering color for all different network type data series. * @param renderer Renderer for the data series * @param dataSeries Data series/*from w w w.j av a 2s .com*/ */ static void setRenderingColorForDataSeries(XYItemRenderer renderer, final XYIntervalSeriesCollection dataSeries) { renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.none), Color.WHITE); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.LTE), Color.RED); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.WIFI), Color.BLUE); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.UMTS), Color.PINK); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.ETHERNET), Color.BLACK); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSDPA), Color.YELLOW); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSPA), Color.ORANGE); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSPAP), Color.MAGENTA); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSUPA), Color.CYAN); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.GPRS), Color.GRAY); }
From source file:com.att.aro.diagnostics.GraphPanel.java
/** * Sets rendering color for all different network type data series. * @param renderer Renderer for the data series * @param dataSeries Data series/*from w w w .jav a 2s .com*/ */ static void setRenderingColorForDataSeries(XYItemRenderer renderer, final XYIntervalSeriesCollection dataSeries) { renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.none), Color.WHITE); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.LTE), Color.RED); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.WIFI), Color.BLUE); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.UMTS), Color.PINK); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.ETHERNET), Color.BLACK); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSDPA), Color.YELLOW); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSPA), Color.ORANGE); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSPAP), Color.MAGENTA); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.HSUPA), Color.CYAN); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.GPRS), Color.GRAY); renderer.setSeriesPaint(dataSeries.indexOf(NetworkType.EDGE), Color.LIGHT_GRAY); }
From source file:com.monead.semantic.workbench.SemanticWorkbench.java
/** * Set the tab background and foreground color based on whether the tab's data * is out of synch with the model or other configuration changes *//*from ww w .ja va 2 s .c o m*/ private void colorCodeTabs() { if (hasIncompleteAssertionsInput) { tabbedPane.setForegroundAt(0, Color.orange.darker()); tabbedPane.setBackgroundAt(0, Color.yellow.brighter()); tabbedPane.setToolTipTextAt(0, "Only part of the assertions file is displayed"); } else { tabbedPane.setForegroundAt(0, NORMAL_TAB_FG); tabbedPane.setBackgroundAt(0, NORMAL_TAB_BG); tabbedPane.setToolTipTextAt(0, null); } if (!areInferencesInSyncWithModel && inferredTriples.getText().trim().length() > 0) { tabbedPane.setForegroundAt(1, Color.red); tabbedPane.setBackgroundAt(1, Color.pink); tabbedPane.setToolTipTextAt(1, "Inferences are out of sync with loaded assertions"); } else { tabbedPane.setForegroundAt(1, NORMAL_TAB_FG); tabbedPane.setBackgroundAt(1, NORMAL_TAB_BG); tabbedPane.setToolTipTextAt(1, null); } if (!isTreeInSyncWithModel && !ontModelTree.getModel().isLeaf(ontModelTree.getModel().getRoot())) { tabbedPane.setForegroundAt(2, Color.red); tabbedPane.setBackgroundAt(2, Color.pink); tabbedPane.setToolTipTextAt(2, "Tree is out of sync with loaded assertions"); } else { tabbedPane.setForegroundAt(2, NORMAL_TAB_FG); tabbedPane.setBackgroundAt(2, NORMAL_TAB_BG); tabbedPane.setToolTipTextAt(2, null); } if (!areSparqlResultsInSyncWithModel && sparqlResultsTable.getRowCount() > 0) { tabbedPane.setForegroundAt(3, Color.red); tabbedPane.setBackgroundAt(3, Color.pink); tabbedPane.setToolTipTextAt(3, "Results are out of sync with loaded assertions"); } else { tabbedPane.setForegroundAt(3, NORMAL_TAB_FG); tabbedPane.setBackgroundAt(3, NORMAL_TAB_BG); tabbedPane.setToolTipTextAt(3, null); } }
From source file:mastermind2.pkg0.MasterMind.java
private void rosaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rosaActionPerformed color = Color.PINK; }
From source file:v800_trainer.JCicloTronic.java
private static Color getColor(int Farbe) { Color Colour = Color.BLACK; Farbe = Farbe % 8;/* w w w.java2s . c om*/ switch (Farbe) { case 2: Colour = Color.BLACK; break; case 1: Colour = Color.BLUE; break; case 0: Colour = Color.RED; break; // case 3: Colour = Color.GREEN; break; case 4: Colour = Color.MAGENTA; break; case 5: Colour = Color.ORANGE; break; case 3: Colour = Color.PINK; break; // case 7: Colour = Color.CYAN; break; case 6: Colour = Color.YELLOW; break; case 7: Colour = Color.WHITE; break; } return Colour; }