| javax.swing.JMenuBar net.xoetrope.builder.editor.XEditorMenu
Method Summary | |
public void | actionPerformed(ActionEvent evt) | public JCheckBoxMenuItem | addCheckMenuItem(JMenu menu, String menuText, char mnemonicChar, int shortCutKey, boolean state) | public JMenuItem | addMenuItem(JMenu menu, String menuText, char mnemonicChar, int shortCutKey) | public JRadioButtonMenuItem | addRadioButtonItem(JMenu menu, String menuText, char mnemonicChar, int shortCutKey, boolean state) | public static int | getCommandId(String name) | public void | initAlignmentMenu(boolean enabled) | public void | initEditMenu(boolean cut, boolean copy, boolean paste, boolean delete) | public void | initViewMenu(boolean hasFrames, boolean hasGrid, boolean hasPageBorders, boolean hasMessages) | public void | insertMenu(JMenu contextMenu) | public void | itemStateChanged(ItemEvent evt) | public void | menuCanceled(MenuEvent e) | public void | menuDeselected(MenuEvent e) | public void | menuSelected(MenuEvent e) | public void | pluginsLoaded() | public void | projectLoaded(XEditorProject project) | public void | projectUpdated() | public void | resetPluginsMenu() | public void | save() | public void | setCommandListener(CommandListener listener) | public void | setMenuListener(MenuListener l) | public void | setRecentFile(String fileName) |
ID_MENU_ALIGN_BOTTOM | final public static int ID_MENU_ALIGN_BOTTOM(Code) | | |
ID_MENU_ALIGN_CENTER | final public static int ID_MENU_ALIGN_CENTER(Code) | | |
ID_MENU_ALIGN_LEFT | final public static int ID_MENU_ALIGN_LEFT(Code) | | |
ID_MENU_ALIGN_RIGHT | final public static int ID_MENU_ALIGN_RIGHT(Code) | | |
ID_MENU_ALIGN_TOP | final public static int ID_MENU_ALIGN_TOP(Code) | | |
ID_MENU_COPY | final public static int ID_MENU_COPY(Code) | | |
ID_MENU_CUT | final public static int ID_MENU_CUT(Code) | | |
ID_MENU_DELETE | final public static int ID_MENU_DELETE(Code) | | |
ID_MENU_EXIT_IDE | final public static int ID_MENU_EXIT_IDE(Code) | | |
ID_MENU_HELP_ABOUT | final public static int ID_MENU_HELP_ABOUT(Code) | | |
ID_MENU_HELP_CONTENTS | final public static int ID_MENU_HELP_CONTENTS(Code) | | |
ID_MENU_JUSTIFY_HORZ | final public static int ID_MENU_JUSTIFY_HORZ(Code) | | |
ID_MENU_JUSTIFY_VERT | final public static int ID_MENU_JUSTIFY_VERT(Code) | | |
ID_MENU_NEW_PAGE | final public static int ID_MENU_NEW_PAGE(Code) | | |
ID_MENU_NEW_PROJECT | final public static int ID_MENU_NEW_PROJECT(Code) | | |
ID_MENU_OPEN_PROJECT | final public static int ID_MENU_OPEN_PROJECT(Code) | | |
ID_MENU_PASTE | final public static int ID_MENU_PASTE(Code) | | |
ID_MENU_PLUGIN_0 | final public static int ID_MENU_PLUGIN_0(Code) | | |
ID_MENU_PLUGIN_ADD | final public static int ID_MENU_PLUGIN_ADD(Code) | | |
ID_MENU_PLUGIN_REMOVE | final public static int ID_MENU_PLUGIN_REMOVE(Code) | | |
ID_MENU_SAVEAS_PROJECT | final public static int ID_MENU_SAVEAS_PROJECT(Code) | | |
ID_MENU_SAVE_PROJECT | final public static int ID_MENU_SAVE_PROJECT(Code) | | |
ID_MENU_TEST_BUILD | final public static int ID_MENU_TEST_BUILD(Code) | | |
ID_MENU_TEST_BUNDLE | final public static int ID_MENU_TEST_BUNDLE(Code) | | |
ID_MENU_TEST_PREVIEW | final public static int ID_MENU_TEST_PREVIEW(Code) | | |
ID_MENU_VIEW_DATA | final public static int ID_MENU_VIEW_DATA(Code) | | |
ID_MENU_VIEW_DESIGN | final public static int ID_MENU_VIEW_DESIGN(Code) | | |
ID_MENU_VIEW_FRAMES | final public static int ID_MENU_VIEW_FRAMES(Code) | | |
ID_MENU_VIEW_GRID | final public static int ID_MENU_VIEW_GRID(Code) | | |
ID_MENU_VIEW_LAF | final public static int ID_MENU_VIEW_LAF(Code) | | |
ID_MENU_VIEW_MESSAGES | final public static int ID_MENU_VIEW_MESSAGES(Code) | | |
ID_MENU_VIEW_PAGE_BORDER | final public static int ID_MENU_VIEW_PAGE_BORDER(Code) | | |
ID_MENU_VIEW_PROJECT | final public static int ID_MENU_VIEW_PROJECT(Code) | | |
ID_MENU_VIEW_PROPERTIES | final public static int ID_MENU_VIEW_PROPERTIES(Code) | | |
ID_MENU_VIEW_SOURCE | final public static int ID_MENU_VIEW_SOURCE(Code) | | |
ID_MENU_VIEW_STYLES | final public static int ID_MENU_VIEW_STYLES(Code) | | |
ID_MENU_VIEW_TOOLBOX | final public static int ID_MENU_VIEW_TOOLBOX(Code) | | |
ID_MENU_VIEW_VALIDATIONS | final public static int ID_MENU_VIEW_VALIDATIONS(Code) | | |
ID_MENU_VIEW_XML | final public static int ID_MENU_VIEW_XML(Code) | | |
ID_VIEW_DEVMODE | final public static int ID_VIEW_DEVMODE(Code) | | |
ID_VIEW_EXPERTMODE | final public static int ID_VIEW_EXPERTMODE(Code) | | |
ID_VIEW_NOVICEMODE | final public static int ID_VIEW_NOVICEMODE(Code) | | |
MENU_ALIGN_BOTTOM | final public static String MENU_ALIGN_BOTTOM(Code) | | |
MENU_ALIGN_CENTER | final public static String MENU_ALIGN_CENTER(Code) | | |
MENU_ALIGN_LEFT | final public static String MENU_ALIGN_LEFT(Code) | | |
MENU_ALIGN_RIGHT | final public static String MENU_ALIGN_RIGHT(Code) | | |
MENU_ALIGN_TOP | final public static String MENU_ALIGN_TOP(Code) | | |
MENU_HELP_ABOUT | final public static String MENU_HELP_ABOUT(Code) | | |
MENU_HELP_CONTENTS | final public static String MENU_HELP_CONTENTS(Code) | | |
MENU_JUSTIFY_HORZ | final public static String MENU_JUSTIFY_HORZ(Code) | | |
MENU_JUSTIFY_VERT | final public static String MENU_JUSTIFY_VERT(Code) | | |
MENU_NEW_PROJECT | final public static String MENU_NEW_PROJECT(Code) | | |
MENU_OPEN_PROJECT | final public static String MENU_OPEN_PROJECT(Code) | | |
MENU_PLUGIN_ADD | final public static String MENU_PLUGIN_ADD(Code) | | |
MENU_PLUGIN_REMOVE | final public static String MENU_PLUGIN_REMOVE(Code) | | |
MENU_SAVEAS_PROJECT | final public static String MENU_SAVEAS_PROJECT(Code) | | |
MENU_SAVE_PROJECT | final public static String MENU_SAVE_PROJECT(Code) | | |
MENU_TEST_BUILD | final public static String MENU_TEST_BUILD(Code) | | |
MENU_TEST_BUNDLE | final public static String MENU_TEST_BUNDLE(Code) | | |
MENU_TEST_PREVIEW | final public static String MENU_TEST_PREVIEW(Code) | | |
MENU_VIEW_DATA | final public static String MENU_VIEW_DATA(Code) | | |
MENU_VIEW_DESIGN | final public static String MENU_VIEW_DESIGN(Code) | | |
MENU_VIEW_DEVMODE | final public static String MENU_VIEW_DEVMODE(Code) | | |
MENU_VIEW_EXPERTMODE | final public static String MENU_VIEW_EXPERTMODE(Code) | | |
MENU_VIEW_FRAMES | final public static String MENU_VIEW_FRAMES(Code) | | |
MENU_VIEW_GRID | final public static String MENU_VIEW_GRID(Code) | | |
MENU_VIEW_MESSAGES | final public static String MENU_VIEW_MESSAGES(Code) | | |
MENU_VIEW_NOVICEMODE | final public static String MENU_VIEW_NOVICEMODE(Code) | | |
MENU_VIEW_PAGES | final public static String MENU_VIEW_PAGES(Code) | | |
MENU_VIEW_PROJECT | final public static String MENU_VIEW_PROJECT(Code) | | |
MENU_VIEW_PROPERTIES | final public static String MENU_VIEW_PROPERTIES(Code) | | |
MENU_VIEW_SOURCE | final public static String MENU_VIEW_SOURCE(Code) | | |
MENU_VIEW_STYLES | final public static String MENU_VIEW_STYLES(Code) | | |
MENU_VIEW_TOOLBOX | final public static String MENU_VIEW_TOOLBOX(Code) | | |
MENU_VIEW_VALIDATIONS | final public static String MENU_VIEW_VALIDATIONS(Code) | | |
addCheckMenuItem | public JCheckBoxMenuItem addCheckMenuItem(JMenu menu, String menuText, char mnemonicChar, int shortCutKey, boolean state)(Code) | | Adds a menu item
Parameters: menu - the target menu Parameters: menuText - the command text to appear on the menu Parameters: mnemonicChar - the underlined letter Parameters: shortCutKey - the accelerator key code Parameters: state - the state of the checkbox item the new menu item |
addMenuItem | public JMenuItem addMenuItem(JMenu menu, String menuText, char mnemonicChar, int shortCutKey)(Code) | | Adds a menu item
Parameters: menu - the target menu Parameters: menuText - the command text to appear on the menu Parameters: mnemonicChar - the underlined letter Parameters: shortCutKey - the accelerator key code the new menu item |
addRadioButtonItem | public JRadioButtonMenuItem addRadioButtonItem(JMenu menu, String menuText, char mnemonicChar, int shortCutKey, boolean state)(Code) | | Adds a menu item
Parameters: menu - the target menu Parameters: menuText - the command text to appear on the menu Parameters: mnemonicChar - the underlined letter Parameters: shortCutKey - the accelerator key code Parameters: state - the state of the radiobitton item the new menu item |
getCommandId | public static int getCommandId(String name)(Code) | | |
initAlignmentMenu | public void initAlignmentMenu(boolean enabled)(Code) | | Initialize the alignment menu items
Parameters: enabled - true to enable the menuitem |
initEditMenu | public void initEditMenu(boolean cut, boolean copy, boolean paste, boolean delete)(Code) | | Change the state of the edit menu
Parameters: cut - enable the cut menu item Parameters: copy - enable the copy menu item Parameters: paste - enable the paste menu item Parameters: delete - enable the cut delete item |
initViewMenu | public void initViewMenu(boolean hasFrames, boolean hasGrid, boolean hasPageBorders, boolean hasMessages)(Code) | | (Re)Initialize the view menu
Parameters: hasFrames - is the frameset visible or just the contents element Parameters: hasGrid - is the grid visible Parameters: hasPageBorders - are the pages shown with borders (relates to frames) Parameters: hasMessages - is the message area visible |
insertMenu | public void insertMenu(JMenu contextMenu)(Code) | | Insert a context based menu second from the right - just before the help menu
Parameters: contextMenu - |
menuCanceled | public void menuCanceled(MenuEvent e)(Code) | | Delegate the menu event to the selected tab panel
Parameters: e - the menu event |
menuDeselected | public void menuDeselected(MenuEvent e)(Code) | | Delegate the menu event to the selected tab panel
Parameters: e - the menu event |
menuSelected | public void menuSelected(MenuEvent e)(Code) | | Delegate the menu event to the selected tab panel
Parameters: e - the menu event |
pluginsLoaded | public void pluginsLoaded()(Code) | | Add the plugins
|
projectUpdated | public void projectUpdated()(Code) | | The project has been updated
|
resetPluginsMenu | public void resetPluginsMenu()(Code) | | Clear the plugins menu
|
setMenuListener | public void setMenuListener(MenuListener l)(Code) | | Set a listener for the menu events so that the state can be changed prior to display
Parameters: l - the menu listener |
setRecentFile | public void setRecentFile(String fileName)(Code) | | |
|
|