com.cbse.jeasy
Class JECheckBoxMenuItem

java.lang.Object
  extended by com.cbse.jeasy.JEObject
      extended by com.cbse.jeasy.JECheckBoxMenuItem

public class JECheckBoxMenuItem
extends JEObject

A class creating a JCheckBoxMenuItem.

Properties
namevaluescomment
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.
statetrue
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

Version:
%I%, %G%
Author:
H.Pfohl

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

JECheckBoxMenuItem

public JECheckBoxMenuItem(java.lang.String s)
Reads the properties from a string.

Parameters:
s - contains properties and values
See Also:
JE#PropertyString

JECheckBoxMenuItem

public JECheckBoxMenuItem()
Method Detail

getMenuFont

public java.awt.Font getMenuFont()

getAntialiasing

public boolean getAntialiasing()
Gets the anialialising flag


getComponent

public javax.swing.JComponent getComponent()
Gets the JComponent based on this JEasy Object

Overrides:
getComponent in class JEObject
Returns:
JComponent

getCheckBoxMenuItem

public javax.swing.JCheckBoxMenuItem getCheckBoxMenuItem()

setEnabled

public void setEnabled(boolean b)
Description copied from class: JEObject
Enables or disables the inputfield

Overrides:
setEnabled in class JEObject

isSelected

public boolean isSelected()

start

public void start()
Creates the jfc components using the properties

Overrides:
start in class JEObject
See Also:
JE#start

JEadd

public void JEadd(javax.swing.JMenu me)
Description copied from class: JEObject
Adds the JEObject (JMenuItem) to JMenu

Overrides:
JEadd in class JEObject

JEadd

public void JEadd(javax.swing.JPopupMenu me)
Description copied from class: JEObject
Adds the JEObject (JMenuItem) to JPopupMenu

Overrides:
JEadd in class JEObject