jwx!
v0.0.2


wx
Class MenuBar

java.lang.Object
  extended bywx.Object
      extended bywx.EvtHandler
          extended bywx.Window
              extended bywx.MenuBar

public class MenuBar
extends Window


Field Summary
 
Fields inherited from class wx.Window
ALWAYS_SHOW_SB, BACKINGSTORE, CAPTION, CLIP_CHILDREN, CLIP_SIBLINGS, DIALOG_EX_CONTEXTHELP, DIALOG_EX_METAL, FRAME_DRAWER, FRAME_EX_CONTEXTHELP, FRAME_EX_METAL, FRAME_NO_WINDOW_MENU, FULL_REPAINT_ON_RESIZE, HSCROLL, MB_DOCKABLE, NO_FULL_REPAINT_ON_RESIZE, POPUP_WINDOW, RETAINED, SIZE_ALLOW_MINUS_ONE, SIZE_AUTO, SIZE_AUTO_HEIGHT, SIZE_AUTO_WIDTH, SIZE_FORCE, SIZE_NO_ADJUSTMENTS, SIZE_USE_EXISTING, TAB_TRAVERSAL, TRANSPARENT_WINDOW, VSCROLL, WANTS_CHARS, WS_EX_BLOCK_EVENTS, WS_EX_PROCESS_IDLE, WS_EX_PROCESS_UI_UPDATES, WS_EX_THEMED_BACKGROUND, WS_EX_TRANSIENT, WS_EX_VALIDATE_RECURSIVELY
 
Constructor Summary
MenuBar()
           
 
Method Summary
 boolean append(Menu menu, java.lang.String title)
           
 void attach(Frame frame)
           
 void check(int itemid, boolean check)
           
 void delete()
           
 void detach()
           
 boolean enable()
           
 boolean enable(boolean enable)
           
 void enable(int itemid, boolean enable)
           
 void enableTop(int pos, boolean enable)
           
 MenuItem findItem(int itemid)
           
 int findMenu(java.lang.String title)
           
 int findMenuItem(java.lang.String menu, java.lang.String item)
           
 Frame getFrame()
           
 java.lang.String getHelpString(int itemid)
           
 java.lang.String getLabel(int itemid)
           
 java.lang.String getLabelTop(int pos)
           
 Menu getMenu(int pos)
           
 int getMenuCount()
           
 boolean insert(int pos, Menu menu, java.lang.String title)
           
 boolean isAttached()
           
 boolean isChecked(int itemid)
           
 boolean isEnabled()
           
 boolean isEnabled(int itemid)
           
 boolean isEnabledTop(int pos)
           
 Menu remove(int pos)
           
 Menu replace(int pos, Menu menu, java.lang.String title)
           
 void setHelpString(int itemid, java.lang.String helpString)
           
 void setLabel(int itemid, java.lang.String label)
           
 void setLabelTop(int pos, java.lang.String label)
           
 
Methods inherited from class wx.Window
acceptsFocus, acceptsFocusFromKeyboard, addChild, cacheBestSize, captureMouse, center, center, centerOnParent, centerOnParent, centerOnScreen, centerOnScreen, centre, centre, centreOnParent, centreOnParent, centreOnScreen, centreOnScreen, clearBackground, clientToScreen, close, close, convertDialogToPixels, convertDialogToPixels, convertPixelsToDialog, convertPixelsToDialog, destroy, destroyChildren, disable, findFocus, findWindow, findWindow, findWindowAtPointer, findWindowById, findWindowById, findWindowByLabel, findWindowByLabel, findWindowByName, findWindowByName, fit, fitInside, freeze, getAcceleratorTable, getActiveWindow, getAdjustedBestSize, getAncestorWithCustomPalette, getBackgroundColour, getBackgroundStyle, getBestFittingSize, getBestSize, getBestVirtualSize, getBorder, getBorder, getCapture, getCaret, getCharHeight, getCharWidth, getChildren, getClassDefaultAttributes, getClassDefaultAttributes, getClientAreaOrigin, getClientRect, getClientSize, getContainingSizer, getCursor, getDefaultAttributes, getDefaultItem, getDropTarget, getEventHandler, getExtraStyle, getFont, getForegroundColour, getGrandParent, getHelpText, getId, getLabel, getMaxHeight, getMaxSize, getMaxWidth, getMinHeight, getMinSize, getMinWidth, getMousePosition, getName, getPalette, getParent, getPosition, getRect, getScrollPos, getScrollRange, getScrollThumb, getSize, getSizer, getTextExtent, getTextExtent, getTextExtent, getTextExtent, getThemeEnabled, getTitle, getToolTip, getTopLevelParent, getUpdateClientRect, getUpdateRegion, getValidator, getVirtualSize, getWindowStyle, getWindowStyleFlag, getWindowVariant, hasCapture, hasCustomPalette, hasFlag, hasScrollbar, hasTransparentBackground, hide, hitTest, hitTest, inheritAttributes, inheritsBackgroundColour, initDialog, invalidateBestSize, isBeingDeleted, isExposed, isExposed, isExposed, isExposed, isRetained, isShown, isTopLevel, lineDown, lineUp, lower, makeModal, makeModal, move, move, move, move, moveAfterInTabOrder, moveBeforeInTabOrder, navigate, navigate, newControlId, nextControlId, pageDown, pageUp, popEventHandler, popEventHandler, popupMenu, popupMenu, popupMenu, prepareDC, prevControlId, pushEventHandler, raise, refresh, refresh, refresh, refreshRect, refreshRect, releaseMouse, removeChild, removeEventHandler, reparent, screenToClient, scrollLines, scrollPages, scrollWindow, scrollWindow, setAcceleratorTable, setBackgroundColour, setBackgroundStyle, setBestFittingSize, setBestFittingSize, setCaret, setClientSize, setClientSize, setClientSize, setContainingSizer, setCursor, setDefaultItem, setDropTarget, setEventHandler, setExtraStyle, setFocus, setFocusFromKbd, setFont, setForegroundColour, setHelpText, setHelpTextForId, setId, setLabel, setMaxSize, setMinSize, setName, setOwnBackgroundColour, setOwnFont, setOwnForegroundColour, setPalette, setParent, setPosition, setScrollbar, setScrollbar, setScrollPos, setScrollPos, setSize, setSize, setSize, setSize, setSize, setSize, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizeHints, setSizer, setSizer, setSizerAndFit, setSizerAndFit, setThemeEnabled, setTitle, setTmpDefaultItem, setToolTip, setToolTip, setValidator, setVirtualSize, setVirtualSize, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setVirtualSizeHints, setWindowStyle, setWindowStyleFlag, setWindowVariant, shouldInheritColours, show, show, swigReleaseOwnership, swigTakeOwnership, thaw, transferDataFromWindow, transferDataToWindow, update, updateWindowUI, updateWindowUI, useBgCol, validate, warpPointer
 
Methods inherited from class wx.EvtHandler
addPendingEvent, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getEvtHandlerEnabled, getNextHandler, getPreviousHandler, postEvent, processEvent, processPendingEvents, setEvtHandlerEnabled, setNextHandler, setPreviousHandler
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuBar

public MenuBar()
Method Detail

delete

public void delete()
Overrides:
delete in class Window

append

public boolean append(Menu menu,
                      java.lang.String title)

insert

public boolean insert(int pos,
                      Menu menu,
                      java.lang.String title)

getMenuCount

public int getMenuCount()

getMenu

public Menu getMenu(int pos)

replace

public Menu replace(int pos,
                    Menu menu,
                    java.lang.String title)

remove

public Menu remove(int pos)

enableTop

public void enableTop(int pos,
                      boolean enable)

isEnabledTop

public boolean isEnabledTop(int pos)

setLabelTop

public void setLabelTop(int pos,
                        java.lang.String label)

getLabelTop

public java.lang.String getLabelTop(int pos)

findMenuItem

public int findMenuItem(java.lang.String menu,
                        java.lang.String item)

findItem

public MenuItem findItem(int itemid)

findMenu

public int findMenu(java.lang.String title)

enable

public void enable(int itemid,
                   boolean enable)

check

public void check(int itemid,
                  boolean check)

isChecked

public boolean isChecked(int itemid)

isEnabled

public boolean isEnabled(int itemid)

isEnabled

public boolean isEnabled()
Overrides:
isEnabled in class Window

enable

public boolean enable(boolean enable)
Overrides:
enable in class Window

enable

public boolean enable()
Overrides:
enable in class Window

setLabel

public void setLabel(int itemid,
                     java.lang.String label)

getLabel

public java.lang.String getLabel(int itemid)

setHelpString

public void setHelpString(int itemid,
                          java.lang.String helpString)

getHelpString

public java.lang.String getHelpString(int itemid)

getFrame

public Frame getFrame()

isAttached

public boolean isAttached()

attach

public void attach(Frame frame)

detach

public void detach()

jwx!
v0.0.2


© 2006 Amit G Mendapara.