com.steema.teechart.editors
Class Utils

java.lang.Object
  extended by com.steema.teechart.editors.Utils

public class Utils
extends java.lang.Object

Title: TeeChart for Java

Description: TeeChart for Java

Copyright (c) 2004-2008 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
static java.lang.Class[] functionEditorsOf
           
static java.lang.Class[] seriesEditorsOf
           
static java.lang.Class[] toolsEditorsOf
           
 
Method Summary
static void addCursorsToCombo(javax.swing.JComboBox cbCursor)
           
static java.awt.Image makeTransparent(java.awt.Image image, java.awt.Color color)
           
static boolean yesNo(java.lang.String message)
          Shows a message box dialog asking confirmation.
static boolean yesNoDelete(java.lang.String s)
          Shows a dialog asking confirmation with Yes and No options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toolsEditorsOf

public static final java.lang.Class[] toolsEditorsOf

functionEditorsOf

public static final java.lang.Class[] functionEditorsOf

seriesEditorsOf

public static final java.lang.Class[] seriesEditorsOf
Method Detail

yesNo

public static boolean yesNo(java.lang.String message)
Shows a message box dialog asking confirmation.

Parameters:
message - an additional custom text to display at dialog.
Returns:
boolean true if user selects "Yes"

yesNoDelete

public static boolean yesNoDelete(java.lang.String s)
Shows a dialog asking confirmation with Yes and No options.

Parameters:
s - an additional custom text to show at dialog
Returns:
boolean true if user selects "Yes"

addCursorsToCombo

public static void addCursorsToCombo(javax.swing.JComboBox cbCursor)

makeTransparent

public static java.awt.Image makeTransparent(java.awt.Image image,
                                             java.awt.Color color)