|
||||||||
| 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.JECheckBoxMenuItem
public class JECheckBoxMenuItem
A class creating a JCheckBoxMenuItem.
| Properties | ||
|---|---|---|
| name | values | comment |
| id | * | Id of the object. Let it begin with CM_ |
| name |   | The text of the menuitem. |
| mnemonic |   | The keyboard mnemonic. |
| icon |   | File for creating an ImageIcon shown in the menuitem. |
| state | true false | Sets the selected-state of the MenuItem. |
| tooltip |   | A text that pop up when the cursor lingers over this component. |
* = 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 | |
|---|---|
JECheckBoxMenuItem()
|
|
JECheckBoxMenuItem(java.lang.String s)
Reads the properties from a string. |
|
| Method Summary | |
|---|---|
boolean |
getAntialiasing()
Gets the anialialising flag |
javax.swing.JCheckBoxMenuItem |
getCheckBoxMenuItem()
|
javax.swing.JComponent |
getComponent()
Gets the JComponent based on this JEasy Object |
java.awt.Font |
getMenuFont()
|
boolean |
isSelected()
|
void |
JEadd(javax.swing.JMenu me)
Adds the JEObject (JMenuItem) to JMenu |
void |
JEadd(javax.swing.JPopupMenu me)
Adds the JEObject (JMenuItem) to JPopupMenu |
void |
setEnabled(boolean b)
Enables or disables the inputfield |
void |
start()
Creates the jfc components using the properties |
| Methods inherited from class com.cbse.jeasy.JEObject |
|---|
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getEast, getElementAt, getElementSize, 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, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, 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 JECheckBoxMenuItem(java.lang.String s)
s - contains properties and valuesJE#PropertyStringpublic JECheckBoxMenuItem()
| Method Detail |
|---|
public java.awt.Font getMenuFont()
public boolean getAntialiasing()
public javax.swing.JComponent getComponent()
getComponent in class JEObjectpublic javax.swing.JCheckBoxMenuItem getCheckBoxMenuItem()
public void setEnabled(boolean b)
JEObject
setEnabled in class JEObjectpublic boolean isSelected()
public void start()
start in class JEObjectJE#startpublic void JEadd(javax.swing.JMenu me)
JEObject
JEadd in class JEObjectpublic void JEadd(javax.swing.JPopupMenu me)
JEObject
JEadd in class JEObject
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||