|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.misc.Utils
public class Utils
Title: misc.Utils class
Description: Chart utility procedures
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
static java.lang.String |
BuildNumber
|
static int[] |
functionGalleryPage
|
static int |
FUNCTIONTYPESCOUNT
Number of chart Function types. |
static java.lang.Class[] |
functionTypesOf
List of chart Function types. |
static double |
PISTEP
|
static int[] |
seriesGalleryCount
|
static int[] |
seriesGalleryPage
|
static int |
SERIESTYPESCOUNT
|
static java.lang.Class[] |
seriesTypesOf
|
static int |
TOOLTYPESCOUNT
Number of chart Tool types. |
static java.lang.Class[] |
toolTypesOf
List of chart Tool classes. |
static java.lang.String |
VersionMode
|
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static java.lang.String |
arrayToString(java.lang.String[] a)
|
static java.lang.String |
arrayToString(java.lang.String[] a,
char separator)
|
static java.lang.String |
dateTimeToDateTimeStr(DateTime datetime)
|
static java.lang.String |
dateTimeToStr(DateTime datetime)
|
static java.lang.String |
dateTimeToStr(double datetime)
|
static java.io.InputStream |
downloadURLStream(java.lang.String url)
|
static java.lang.String |
downloadURLString(java.lang.String url)
|
static void |
drawCheckBox(int x,
int y,
IGraphics3D g,
boolean drawChecked,
boolean CheckBox,
java.awt.Color backColor)
|
static double |
getDateTimeStep(int value)
Evaluates and returns a steema.teechart.DateTimeStep value as an Axis double scale that may be used to set the steema.teechart.Axis.Increment. |
static int |
MulDiv(int a,
int b,
int c)
|
static int |
seriesTypesIndex(java.lang.Class seriesType)
|
static int |
seriesTypesIndex(ISeries s)
|
static void |
sort(int[] x,
int startIndex,
int endIndex,
Comparator c)
|
static void |
sort(int startIndex,
int endIndex,
Comparator c,
Swapper s)
|
static double |
stringToDouble(java.lang.String text,
double value)
|
static void |
swapInteger(int a,
int b)
|
static java.lang.String |
timeToStr(DateTime datetime)
|
static java.lang.String |
timeToStr(double datetime)
|
static int |
toolTypeIndex(Tool tool)
Returns the index in ToolTypesOf list of a given tool instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double PISTEP
public static final java.lang.String BuildNumber
public static final java.lang.String VersionMode
public static final int TOOLTYPESCOUNT
public static final java.lang.Class[] toolTypesOf
public static final int FUNCTIONTYPESCOUNT
public static final java.lang.Class[] functionTypesOf
public static final int[] functionGalleryPage
public static final int SERIESTYPESCOUNT
public static final int[] seriesGalleryCount
public static final int[] seriesGalleryPage
public static final java.lang.Class[] seriesTypesOf
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static double getDateTimeStep(int value)
value
- DateTimeStep
public static double stringToDouble(java.lang.String text, double value)
public static void swapInteger(int a, int b)
public static void sort(int startIndex, int endIndex, Comparator c, Swapper s)
public static void sort(int[] x, int startIndex, int endIndex, Comparator c)
public static int toolTypeIndex(Tool tool)
tool
- Tool to search its type in list
public static int seriesTypesIndex(ISeries s)
public static int seriesTypesIndex(java.lang.Class seriesType)
public static java.io.InputStream downloadURLStream(java.lang.String url) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
public static java.lang.String downloadURLString(java.lang.String url) throws java.io.IOException
java.io.IOException
public static int MulDiv(int a, int b, int c)
public static java.lang.String dateTimeToStr(double datetime)
public static java.lang.String dateTimeToStr(DateTime datetime)
public static java.lang.String dateTimeToDateTimeStr(DateTime datetime)
public static java.lang.String timeToStr(double datetime)
public static java.lang.String timeToStr(DateTime datetime)
public static java.lang.String arrayToString(java.lang.String[] a)
public static java.lang.String arrayToString(java.lang.String[] a, char separator)
public static void drawCheckBox(int x, int y, IGraphics3D g, boolean drawChecked, boolean CheckBox, java.awt.Color backColor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |