ElegantJCharts Java API Specification v2.0

com.elegantj.common
Class Common

java.lang.Object
  |
  +--com.elegantj.common.Common

public class Common
extends java.lang.Object

Other class it tried collecting the method which completely is not relationship as common function.


Field Summary
static java.lang.String BYTE_SEPARATOR
           
static boolean HAS_GUI
           
 
Constructor Summary
Common()
           
 
Method Summary
static java.lang.String formateDate(java.util.Date dt)
           
static java.lang.String formateDate(java.util.Date dt, java.lang.String formateStr)
           
static java.lang.String formateDate(long lDate)
           
static java.applet.Applet GetApplet(java.awt.Component c)
          The parent of the component which is appointed is consecutively decided, the applet is searched.
static java.applet.Applet GetApplet(java.awt.Component c, boolean fDebug)
          The parent of the component which is appointed is consecutively decided, the applet is searched.
static java.lang.String getAppPath()
           
static java.awt.Dialog GetDialog(java.awt.Component c)
          The parent of the component which is appointed is consecutively decided, the dialogue which first is found is returned.
static java.awt.Dialog GetDialog(java.awt.Component c, boolean fDebug)
          The parent of the component which is appointed is consecutively decided, the dialogue which first is found is returned.
static java.awt.Frame GetFrame(java.awt.Component c)
          The parent of the component which is appointed is consecutively decided, Frame which first is found is returned.
static java.awt.Frame GetFrame(java.awt.Component c, boolean fDebug)
          The parent of the component which is appointed is consecutively decided, Frame which first is found is returned.
static javax.swing.JApplet GetJApplet(java.awt.Component c)
           
static javax.swing.JApplet GetJApplet(java.awt.Component c, boolean fDebug)
           
static javax.swing.JFrame GetJFrame(java.awt.Component c)
           
static javax.swing.JFrame GetJFrame(java.awt.Component c, boolean fDebug)
           
static javax.swing.JMenuBar GetMenuBar(javax.swing.JComponent c)
          The parent of the menu component which is appointed is consecutively decided, the menu bar is searched.
static java.lang.String getStackTrace(java.lang.Throwable t)
           
static boolean isStandalone(java.awt.Component c)
          Whether or not stand-alone flag starting it decides.
static boolean isStandalone(java.awt.Component c, boolean fDebug)
          Whether or not stand-alone flag starting it decides.
static java.lang.String replace(java.lang.String text, java.lang.String strOld, java.lang.String strNew)
           
static java.lang.String[] tokenize(java.lang.String str, java.lang.String separator)
           
static java.lang.Object toObject(java.lang.String text)
          Creates an object from string representation
static java.lang.String toString(java.lang.Object obj)
          Creates string representation of object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HAS_GUI

public static boolean HAS_GUI

BYTE_SEPARATOR

public static final java.lang.String BYTE_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

Common

public Common()
Method Detail

GetApplet

public static java.applet.Applet GetApplet(java.awt.Component c)
The parent of the component which is appointed is consecutively decided, the applet is searched. Because note) there is an applet, saying, please pay attention to without being utilization from the browser. The component which becomes the base point which searches the


GetJApplet

public static javax.swing.JApplet GetJApplet(java.awt.Component c)

GetApplet

public static java.applet.Applet GetApplet(java.awt.Component c,
                                           boolean fDebug)
The parent of the component which is appointed is consecutively decided, the applet is searched. Because note) there is an applet, saying, please pay attention to without being utilization from the browser.

Parameters:
fDebug - true - debugging message is indicated.

GetJApplet

public static javax.swing.JApplet GetJApplet(java.awt.Component c,
                                             boolean fDebug)

GetDialog

public static java.awt.Dialog GetDialog(java.awt.Component c)
The parent of the component which is appointed is consecutively decided, the dialogue which first is found is returned.


GetDialog

public static java.awt.Dialog GetDialog(java.awt.Component c,
                                        boolean fDebug)
The parent of the component which is appointed is consecutively decided, the dialogue which first is found is returned.

Parameters:
fDebug - true - debugging message is indicated.

GetFrame

public static java.awt.Frame GetFrame(java.awt.Component c)
The parent of the component which is appointed is consecutively decided, Frame which first is found is returned. When indicating dialogue and the like, please utilize.


GetFrame

public static java.awt.Frame GetFrame(java.awt.Component c,
                                      boolean fDebug)
The parent of the component which is appointed is consecutively decided, Frame which first is found is returned. When indicating dialogue and the like, please utilize.

Parameters:
fDebug - true - debugging message is indicated.

GetJFrame

public static javax.swing.JFrame GetJFrame(java.awt.Component c)

GetJFrame

public static javax.swing.JFrame GetJFrame(java.awt.Component c,
                                           boolean fDebug)

isStandalone

public static boolean isStandalone(java.awt.Component c)
Whether or not stand-alone flag starting it decides. Note), this method searching IsStandAlone interface, isStandalone () issues vis-a-vis there.


isStandalone

public static boolean isStandalone(java.awt.Component c,
                                   boolean fDebug)
Whether or not stand-alone flag starting it decides. Note), this method searching IsStandAlone interface, isStandalone () issues vis-a-vis there.

Parameters:
fDebug - true - debugging message is indicated.

GetMenuBar

public static javax.swing.JMenuBar GetMenuBar(javax.swing.JComponent c)
The parent of the menu component which is appointed is consecutively decided, the menu bar is searched. Because note) there is a menu bar, saying, stand-alone please pay attention to not limiting.


getAppPath

public static java.lang.String getAppPath()

replace

public static java.lang.String replace(java.lang.String text,
                                       java.lang.String strOld,
                                       java.lang.String strNew)

formateDate

public static java.lang.String formateDate(java.util.Date dt)

formateDate

public static java.lang.String formateDate(java.util.Date dt,
                                           java.lang.String formateStr)

formateDate

public static java.lang.String formateDate(long lDate)

getStackTrace

public static java.lang.String getStackTrace(java.lang.Throwable t)

tokenize

public static java.lang.String[] tokenize(java.lang.String str,
                                          java.lang.String separator)

toObject

public static java.lang.Object toObject(java.lang.String text)
Creates an object from string representation

Parameters:
text - the string representation of the object

toString

public static java.lang.String toString(java.lang.Object obj)
Creates string representation of object


ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.