Java Code Examples for com.google.gwt.user.client.ui.MenuItem#removeStyleName()
The following examples show how to use
com.google.gwt.user.client.ui.MenuItem#removeStyleName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SubMenuHTMLEditor.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ private void enable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 2
Source File: MenuBase.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ public void enable(MenuItem menuItem) { menuItem.addStyleName("okm-MenuItem"); menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 3
Source File: MenuBase.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Disable the menu item * * @param menuItem The menu item */ public void disable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem"); menuItem.addStyleName("okm-MenuItem-strike"); }
Example 4
Source File: MainMenu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ public void enable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 5
Source File: Menu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ public void enable(MenuItem menuItem) { menuItem.addStyleName("okm-MenuItem"); menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 6
Source File: Menu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Disable the menu item * * @param menuItem The menu item */ public void disable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem"); menuItem.addStyleName("okm-MenuItem-strike"); }
Example 7
Source File: FindToolBarMenu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ public void enable(MenuItem menuItem) { menuItem.addStyleName("okm-MenuItem"); menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 8
Source File: FindToolBarMenu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Disable the menu item * * @param menuItem The menu item */ public void disable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem"); menuItem.addStyleName("okm-MenuItem-strike"); }
Example 9
Source File: Menu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ public void enable(MenuItem menuItem) { menuItem.addStyleName("okm-MenuItem"); menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 10
Source File: Menu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Disable the menu item * * @param menuItem The menu item */ public void disable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem"); menuItem.addStyleName("okm-MenuItem-strike"); }
Example 11
Source File: Menu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Enables menu item * * @param menuItem The menu item */ public void enable(MenuItem menuItem) { menuItem.addStyleName("okm-MenuItem"); menuItem.removeStyleName("okm-MenuItem-strike"); }
Example 12
Source File: Menu.java From document-management-system with GNU General Public License v2.0 | 2 votes |
/** * Disable the menu item * * @param menuItem The menu item */ public void disable(MenuItem menuItem) { menuItem.removeStyleName("okm-MenuItem"); menuItem.addStyleName("okm-MenuItem-strike"); }