org.adrabi.menubar
Class MyJMenubar

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JMenuBar
                  extended by org.adrabi.menubar.MyJMenubar
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.MenuElement

public class MyJMenubar
extends javax.swing.JMenuBar

Version:
0.1
Author:
ADRABI Abderrahim
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JMenuBar
javax.swing.JMenuBar.AccessibleJMenuBar
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  javax.swing.JMenuItem _About
           
private  javax.swing.JMenuItem _AddCode
           
private  javax.swing.JMenuItem _AddExport
           
private  javax.swing.JMenuItem _AddLogTo
           
private  javax.swing.JMenuItem _AddTo
           
private  javax.swing.JCheckBoxMenuItem _Browser
           
private  javax.swing.JMenuItem _ClearCodeSnippet
           
private  javax.swing.JMenuItem _ClearEditor
           
private  javax.swing.JMenuItem _ClearExport
           
private  javax.swing.JMenuItem _ClearLog
           
private  javax.swing.JMenu _CodeSnippet
           
private  javax.swing.JMenuItem _Connect
           
private  javax.swing.JMenuItem _CSV
           
private  javax.swing.JCheckBoxMenuItem _DataView
           
private  javax.swing.JMenuItem _Disconnect
           
private  javax.swing.JMenu _Edit
           
private  javax.swing.JCheckBoxMenuItem _Editor
           
private  javax.swing.JMenu _Export
           
private  javax.swing.JMenu _File
           
private  javax.swing.JMenu _Help
           
private  javax.swing.JMenuItem _HTML
           
private  javax.swing.JMenuItem _InsertFile
           
private  javax.swing.JMenuItem _JavaCode
           
private  javax.swing.JMenuItem _JSPCode
           
private  javax.swing.JCheckBoxMenuItem _Log
           
private  javax.swing.JMenuItem _OpenFile
           
private  javax.swing.JMenuItem _PerlCGICode
           
private  javax.swing.JMenuItem _PerlCode
           
private  javax.swing.JMenuItem _PHPCode
           
private  javax.swing.JCheckBoxMenuItem _Queries
           
private  javax.swing.JMenuItem _Quit
           
private  javax.swing.JCheckBoxMenuItem _RCode
           
private  javax.swing.JMenuItem _Redo
           
private  javax.swing.JMenuItem _Refresh
           
private  javax.swing.JCheckBoxMenuItem _RExport
           
private  javax.swing.JSeparator _s1
           
private  javax.swing.JSeparator _s10
           
private  javax.swing.JSeparator _s2
           
private  javax.swing.JSeparator _s3
           
private  javax.swing.JSeparator _s4
           
private  javax.swing.JSeparator _s5
           
private  javax.swing.JSeparator _s5s
           
private  javax.swing.JSeparator _s6
           
private  javax.swing.JSeparator _s6ss
           
private  javax.swing.JSeparator _s7
           
private  javax.swing.JSeparator _s8
           
private  javax.swing.JSeparator _s9
           
private  javax.swing.JMenuItem _SaveAs
           
private  javax.swing.JMenuItem _SaveCode
           
private  javax.swing.JMenuItem _SaveExport
           
private  javax.swing.JMenuItem _SaveLogAs
           
private  javax.swing.JCheckBoxMenuItem _Server
           
private  javax.swing.JCheckBoxMenuItem _Toolbar
           
private  javax.swing.JMenuItem _Undo
           
private  javax.swing.JMenu _Views
           
private  javax.swing.JMenuItem _XML
           
private  IMyJMenu $EventsMenu
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
MyJMenubar()
          Creates new form BeanForm
 
Method Summary
 void EventAbout()
           
 void EventAddCode()
           
 void EventAddExport()
           
 void EventAddSQL()
           
 void EventAddto()
           
 void EventClearCodeSnippet()
           
 void EventClearEditor()
           
 void EventClearExport()
           
 void EventClearLog()
           
 void EventConnect()
           
 void EventCSV()
           
 void EventDataView()
           
 void EventDisconnect()
           
 void EventHTML()
           
 void EventInsertFile()
           
 void EventJavaCode()
           
 void EventJSPCode()
           
 void EventLog()
           
 void EventObjBrowser()
           
 void EventOpenFile()
           
 void EventPerlCGICode()
           
 void EventPerlCode()
           
 void EventPHPCode()
           
 void EventQuery()
           
 void EventQuit()
           
 void EventRCode()
           
 void EventRedo()
           
 void EventRefresh()
           
 void EventRExport()
           
 void EventSaveExport()
           
 void EventSaveLog()
           
 void EventSaveRCode()
           
 void EventSaveSQL()
           
 void EventServer()
           
 void EventSQLEditor()
           
 void EventToolbar()
           
 void EventUndo()
           
 void EventXML()
           
 javax.swing.JCheckBoxMenuItem[] getViews()
           
private  void initComponents()
          This method is called from within the constructor to initialize the form.
 void setActiveMenu(boolean state)
           
 void setEventMenu(IMyJMenu myjm)
           
 
Methods inherited from class javax.swing.JMenuBar
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

$EventsMenu

private IMyJMenu $EventsMenu

_About

private javax.swing.JMenuItem _About

_AddCode

private javax.swing.JMenuItem _AddCode

_AddExport

private javax.swing.JMenuItem _AddExport

_AddLogTo

private javax.swing.JMenuItem _AddLogTo

_AddTo

private javax.swing.JMenuItem _AddTo

_Browser

private javax.swing.JCheckBoxMenuItem _Browser

_CSV

private javax.swing.JMenuItem _CSV

_ClearCodeSnippet

private javax.swing.JMenuItem _ClearCodeSnippet

_ClearEditor

private javax.swing.JMenuItem _ClearEditor

_ClearExport

private javax.swing.JMenuItem _ClearExport

_ClearLog

private javax.swing.JMenuItem _ClearLog

_CodeSnippet

private javax.swing.JMenu _CodeSnippet

_Connect

private javax.swing.JMenuItem _Connect

_DataView

private javax.swing.JCheckBoxMenuItem _DataView

_Disconnect

private javax.swing.JMenuItem _Disconnect

_Edit

private javax.swing.JMenu _Edit

_Editor

private javax.swing.JCheckBoxMenuItem _Editor

_Export

private javax.swing.JMenu _Export

_File

private javax.swing.JMenu _File

_HTML

private javax.swing.JMenuItem _HTML

_Help

private javax.swing.JMenu _Help

_InsertFile

private javax.swing.JMenuItem _InsertFile

_JSPCode

private javax.swing.JMenuItem _JSPCode

_JavaCode

private javax.swing.JMenuItem _JavaCode

_Log

private javax.swing.JCheckBoxMenuItem _Log

_OpenFile

private javax.swing.JMenuItem _OpenFile

_PHPCode

private javax.swing.JMenuItem _PHPCode

_PerlCGICode

private javax.swing.JMenuItem _PerlCGICode

_PerlCode

private javax.swing.JMenuItem _PerlCode

_Queries

private javax.swing.JCheckBoxMenuItem _Queries

_Quit

private javax.swing.JMenuItem _Quit

_RCode

private javax.swing.JCheckBoxMenuItem _RCode

_RExport

private javax.swing.JCheckBoxMenuItem _RExport

_Redo

private javax.swing.JMenuItem _Redo

_Refresh

private javax.swing.JMenuItem _Refresh

_SaveAs

private javax.swing.JMenuItem _SaveAs

_SaveCode

private javax.swing.JMenuItem _SaveCode

_SaveExport

private javax.swing.JMenuItem _SaveExport

_SaveLogAs

private javax.swing.JMenuItem _SaveLogAs

_Server

private javax.swing.JCheckBoxMenuItem _Server

_Toolbar

private javax.swing.JCheckBoxMenuItem _Toolbar

_Undo

private javax.swing.JMenuItem _Undo

_Views

private javax.swing.JMenu _Views

_XML

private javax.swing.JMenuItem _XML

_s1

private javax.swing.JSeparator _s1

_s10

private javax.swing.JSeparator _s10

_s2

private javax.swing.JSeparator _s2

_s3

private javax.swing.JSeparator _s3

_s4

private javax.swing.JSeparator _s4

_s5

private javax.swing.JSeparator _s5

_s5s

private javax.swing.JSeparator _s5s

_s6

private javax.swing.JSeparator _s6

_s6ss

private javax.swing.JSeparator _s6ss

_s7

private javax.swing.JSeparator _s7

_s8

private javax.swing.JSeparator _s8

_s9

private javax.swing.JSeparator _s9
Constructor Detail

MyJMenubar

public MyJMenubar()
Creates new form BeanForm

Method Detail

initComponents

private void initComponents()
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.


setEventMenu

public void setEventMenu(IMyJMenu myjm)

setActiveMenu

public void setActiveMenu(boolean state)

getViews

public javax.swing.JCheckBoxMenuItem[] getViews()

EventConnect

@Action
public void EventConnect()

EventDisconnect

@Action
public void EventDisconnect()

EventOpenFile

@Action
public void EventOpenFile()

EventInsertFile

@Action
public void EventInsertFile()

EventSaveSQL

@Action
public void EventSaveSQL()

EventAddSQL

@Action
public void EventAddSQL()

EventSaveLog

@Action
public void EventSaveLog()

EventAddto

@Action
public void EventAddto()

EventQuit

@Action
public void EventQuit()

EventUndo

@Action
public void EventUndo()

EventRedo

@Action
public void EventRedo()

EventClearEditor

@Action
public void EventClearEditor()

EventClearLog

@Action
public void EventClearLog()

EventToolbar

@Action
public void EventToolbar()

EventObjBrowser

@Action
public void EventObjBrowser()

EventServer

@Action
public void EventServer()

EventSQLEditor

@Action
public void EventSQLEditor()

EventQuery

@Action
public void EventQuery()

EventLog

@Action
public void EventLog()

EventDataView

@Action
public void EventDataView()

EventPerlCode

@Action
public void EventPerlCode()

EventPerlCGICode

@Action
public void EventPerlCGICode()

EventPHPCode

@Action
public void EventPHPCode()

EventJavaCode

@Action
public void EventJavaCode()

EventJSPCode

@Action
public void EventJSPCode()

EventCSV

@Action
public void EventCSV()

EventHTML

@Action
public void EventHTML()

EventXML

@Action
public void EventXML()

EventAbout

@Action
public void EventAbout()

EventRCode

@Action
public void EventRCode()

EventRExport

@Action
public void EventRExport()

EventClearExport

@Action
public void EventClearExport()

EventClearCodeSnippet

@Action
public void EventClearCodeSnippet()

EventRefresh

@Action
public void EventRefresh()

EventSaveRCode

@Action
public void EventSaveRCode()

EventAddCode

@Action
public void EventAddCode()

EventSaveExport

@Action
public void EventSaveExport()

EventAddExport

@Action
public void EventAddExport()