de.cbse.jeasy
Class JEStart
java.lang.Object
de.cbse.jeasy.JEObject
de.cbse.jeasy.JEStart
public class JEStart
- extends JEObject
The class JEStart is a singleton and defines the main frame containing all other components.
The main container may be set for applets and applications.
See a definition in the JEasyRepository.xml of the JEasyExample.
Properties :
- id
The unique id of the root object.
- splashScreen (reference to JEImageIcon)
Image shown when starting the application.
- startIdApplication (references to [JEFrame, JEWindow])
The root component when starting as an application. This has to be the rootid of a frame.
- startIdApplet (references to [JEFrame, JEPanel, JEWindow])
The root component when starting as an applet. This should be a frame but also can be a panel.
- global (reference to String)
The id of the root global object that defines common and default properties.
- Author:
- Harry Pfohl
| Fields inherited from class de.cbse.jeasy.JEObject |
aaa, ACTIVITYBAR, ANIMATION, BORDER, BUSINESSOBJECT_NAME, BUTTON, BUTTONGROUP, CHECKBOX, CHECKBOXMENUITEM, COLOR, COMBOBOX, ComboBoxButtonWidth, COMBOLIST, CONSTRAINTS, CONTEXT_HELP_FOCUS_GAINED, CONTEXT_HELP_FOCUS_LOST, CONTEXT_HELP_MOUSE_ENTERED, CONTEXT_HELP_MOUSE_EXITED, DATAFIELD, DATATYPE, DESKTOPPANE, DIALOG, EDITORPANE, FONT, FORMAT, FRAME, GANTTGRID, GLOBAL, GRADIENTPAINT, HELP, ICON, ID_JESTART, INPUT_ERROR_DATE, INPUT_ERROR_LENGTH, INPUT_ERROR_MANDATORY, INPUT_ERROR_PARSE, INPUT_ERROR_RANGE, INPUT_ERROR_REGULAREXPRESSION, INPUT_ERROR_TIME, INPUT_ERRORS, INSETS, INTERNALFRAME, intType, LABEL, LIST, LOCALE, MENU, MENUBAR, MENUITEM, MESSAGE, METHODINVOCATION, NO_CONSTANT, NO_INPUT_ERROR, OPTIONPANE, PANEL, parentId, POPUP, PROGRESSBAR, PROPERTIE_NAME, propertyHashMap, RADIOBUTTON, RADIOBUTTONMENUITEM, refresh, SPINNER, SPLITPANE, START, STORE, STRING, TABBEDPANE, TABLE, TASKPANE, TEXTUREPAINT, THEME, TIPS, TOOLBAR, TREE, TREENODE, type, WINDOW |
|
Method Summary |
void |
createSplashScreen()
Show the splash screen while the rest of the demo loads |
java.lang.String |
getGlobalId()
Gives the JEObject that represents the global parameters |
static JEStart |
getInstance()
JEStart is a singleton. |
java.lang.String |
getStartIdApplet()
Gives the JEObject that represents the main window of an applet |
java.lang.String |
getStartIdApplication()
Gives the JEObject that represents the main window of an application |
void |
hideSplash()
pop down the splash screen |
void |
init()
Creates Java or SWING objects with the given properties. |
void |
showSplashScreen()
Shows the splashscreen |
| Methods inherited from class de.cbse.jeasy.JEObject |
clearPreview, clone, getApplLocale, getBorderConstantProperty, getBorderProperty, getCharGProperty, getCharProperty, getColorProperty, getConstraintsProperty, getFontProperty, getGProperty, getGradientPaintProperty, getId, getImageConstantProperty, getImageIconProperty, getInsetsProperty, getJEGlobal, getJETexturePaintProperty, getLayoutProperty, getLocaleProperties, getObjectsHashMap, getObjectsNonPreviewHashMap, getParentId, getPreviewHashMap, getPreviewObject, getProjectDirectory, getPropertieHashMap, getProperty, getProperty, getPropertyAsArray, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsInteger, getPropertyAsObject, getPropertyAsObject, getPropertyAsVector, getPropertyAsVector, getReferenceButtonBehind, getReferenceId, getRegisterText, getResourceUrl, getRootPane, getRootPaneId, getSwingConstantProperty, getTabbedPaneConstantProperty, getTexturePaintProperty, getType, getUniqueNumber, hasSuperclass, invoke, invoke, invoke, invoke, isApplet, isEnterprise, isGlobalAnimation, isGlobalListening, isInited, isPreview, isPreviewMember, isProfessional, isRefresh, isSetuped, isStandard, registerJEObject, removeProperties, removeProperty, removeProperty, setApplet, setApplLocale, setGlobalAnimation, setGlobalListening, setInited, setJeGlobal, setLocaleProperties, setParentId, setPreview, setPreviewHashMap, setPreviewMember, setPreviewObject, setProjectDirectory, setPropertieHashMap, setProperties, setProperties, setProperty, setProperty, setRefresh, setRootPane, setRootPaneId, setSetuped, setType, setupComponent, show, timerTask |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JEStart
public JEStart(JELocaleProperties hm)
- Reads the properties from a HashMap
- Parameters:
hm - HashMap
JEStart
public JEStart(JENode jen)
- Constructor based on a XML file parsed to a TreeNode.
- Parameters:
jen - - See Also:
JESaxParser
getInstance
public static JEStart getInstance()
- JEStart is a singleton. After the first call the properties has to be
set.
- Returns:
init
public void init()
- Description copied from class:
JEObject
- Creates Java or SWING objects with the given properties.
- Overrides:
init in class JEObject
getStartIdApplet
public java.lang.String getStartIdApplet()
- Gives the JEObject that represents the main window of an applet
getStartIdApplication
public java.lang.String getStartIdApplication()
- Gives the JEObject that represents the main window of an application
getGlobalId
public java.lang.String getGlobalId()
- Gives the JEObject that represents the global parameters
createSplashScreen
public void createSplashScreen()
- Show the splash screen while the rest of the demo loads
showSplashScreen
public void showSplashScreen()
- Shows the splashscreen
hideSplash
public void hideSplash()
- pop down the splash screen