com.cbse.jeasy
Class JERadioButtonMenuItem

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

public class JERadioButtonMenuItem
extends JEObject

A class creating a JRadioButtonMenuItem.

Properties
namevaluescomment
id*Id of the object. Let it begin with RM_
name The text of the menuitem.
buttongroup Id of the buttongroup. Only one in this group can be selected
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
JERadioButtonMenuItem()
           
JERadioButtonMenuItem(java.lang.String s)
          Reads the properties from a string.
 
Method Summary
 boolean getAntialiasing()
          Gets the anialialising flag
 javax.swing.JComponent getComponent()
          Gets the JComponent based on this JEasy Object
 java.awt.Font getMenuFont()
           
 javax.swing.JRadioButtonMenuItem getRadioButtonMenuItem()
           
 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

JERadioButtonMenuItem

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

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

JERadioButtonMenuItem

public JERadioButtonMenuItem()
Method Detail

getRadioButtonMenuItem

public javax.swing.JRadioButtonMenuItem getRadioButtonMenuItem()

getComponent

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

Overrides:
getComponent in class JEObject
Returns:
JComponent

getMenuFont

public java.awt.Font getMenuFont()

getAntialiasing

public boolean getAntialiasing()
Gets the anialialising flag


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