|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.cbse.jeasy.JEObject
com.cbse.jeasy.JEMenuBar
public class JEMenuBar
A class creating a JMenuBar out of menus.
| Properties | ||
|---|---|---|
| name | values | comment |
| id | * | Id of the object. Let it begin with MB_ |
| background |   | Id of a color used as the background |
| foreground |   | Id of a color used as the textcolor |
| E1 . En |   | JEMenus to be added in the menu. |
* = property you have to set; bold = default value
| Field Summary |
|---|
| Fields inherited from class com.cbse.jeasy.JEObject |
|---|
DEVELOPPING, INPUT_ERROR_DATE, INPUT_ERROR_LENGTH, INPUT_ERROR_MANDATORY, INPUT_ERROR_PARSE, INPUT_ERROR_RANGE, INPUT_ERROR_TIME, INPUT_ERRORS, NO_INPUT_ERROR, RUNNING |
| Constructor Summary | |
|---|---|
JEMenuBar()
|
|
JEMenuBar(java.lang.String s)
Reads the properties from a string. |
|
| Method Summary | |
|---|---|
boolean |
getAntialiasing()
Gets the anialialising flag |
java.awt.Color |
getBackground()
|
javax.swing.JComponent |
getComponent()
Gets the JComponent based on this JEasy Object |
java.lang.String |
getElementAt(int n)
Gets the component of element n |
int |
getElementSize()
Gets the number of elements |
java.awt.Color |
getForeground()
|
javax.swing.JMenuBar |
getMenuBar()
|
java.awt.Font |
getMenuFont()
|
void |
JEadd(java.lang.String border,
java.awt.Container co)
Adds the JEObject to a Container with a BorderLayout |
void |
start()
Creates the jfc components using the properties |
| Methods inherited from class com.cbse.jeasy.JEObject |
|---|
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getEast, getId, getJCallBack, getJClass, getLabel, getMode, getName, getNorth, getObjLocale, getParentId, getPreview, getProjectDirectory, getProperty, getRegisterText, getSouth, getStarted, getTitle, getType, getWest, getXMLtag, isEditable, isEnabled, isEnterprise, isProfessional, isStandard, isVisible, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, setEnabled, setEnabled, setFocus, setJCallBack, setMarkable, setMarkable, setMode, setObjLocale, setParentId, setPreview, setProjectDirectory, setProperty, setStarted, setVisible, setVisible, wasEntryChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JEMenuBar(java.lang.String s)
s - contains properties and valuesJE#PropertyStringpublic JEMenuBar()
| Method Detail |
|---|
public java.awt.Color getBackground()
public java.awt.Color getForeground()
public int getElementSize()
JEObject
getElementSize in class JEObjectpublic java.lang.String getElementAt(int n)
JEObject
getElementAt in class JEObjectpublic java.awt.Font getMenuFont()
public javax.swing.JMenuBar getMenuBar()
public boolean getAntialiasing()
public javax.swing.JComponent getComponent()
getComponent in class JEObjectpublic void start()
start in class JEObjectJE#start
public void JEadd(java.lang.String border,
java.awt.Container co)
JEObject
JEadd in class JEObject
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||